mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:45:41 +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}) {
|
export function Card({as: Component = 'div', className, small, children}) {
|
||||||
return (
|
return (
|
||||||
<Component
|
<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}
|
{children}
|
||||||
</Component>
|
</Component>
|
||||||
|
@ -16,7 +16,7 @@ function Article({article}) {
|
|||||||
as="time"
|
as="time"
|
||||||
dateTime={article.date}
|
dateTime={article.date}
|
||||||
decorate={false}
|
decorate={false}
|
||||||
className="flex-shrink-0"
|
className="flex-shrink-0 md:order-last md:mb-0"
|
||||||
>
|
>
|
||||||
{formatDate(article.date)}
|
{formatDate(article.date)}
|
||||||
</Card.Eyebrow>
|
</Card.Eyebrow>
|
||||||
|
Loading…
Reference in New Issue
Block a user