mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 17:25:40 +00:00
Update writing page
This commit is contained in:
parent
c6c8d5aff7
commit
12c1b301da
@ -17,7 +17,7 @@ function ChevronRightIcon(props) {
|
||||
export function Card({as: Component = 'div', className, small, children}) {
|
||||
return (
|
||||
<Component
|
||||
className={clsx(className, 'group relative flex flex-col items-start', small && 'md:flex-row justify-between')}
|
||||
className={clsx(className, 'group relative flex flex-col items-baseline', small && 'md:flex-row justify-between')}
|
||||
>
|
||||
{children}
|
||||
</Component>
|
||||
|
@ -16,7 +16,7 @@ function Article({article}) {
|
||||
as="time"
|
||||
dateTime={article.date}
|
||||
decorate={false}
|
||||
className="flex-shrink-0"
|
||||
className="flex-shrink-0 md:order-last md:mb-0"
|
||||
>
|
||||
{formatDate(article.date)}
|
||||
</Card.Eyebrow>
|
||||
|
Loading…
Reference in New Issue
Block a user