remove top margin on article collections
This commit is contained in:
parent
c52e42a57f
commit
125f904b15
5 changed files with 15 additions and 14 deletions
|
@ -25,7 +25,7 @@ const projects = allProjects
|
|||
<Layout title={HOME.TITLE} description={HOME.DESCRIPTION}>
|
||||
<Hero />
|
||||
<section aria-labelledby="featured-projects">
|
||||
<div class="group flex w-fit flex-row items-center justify-between gap-6">
|
||||
<div class="group flex w-fit flex-row items-center">
|
||||
<a href="/projects">
|
||||
<h2
|
||||
class="animate-reveal group-hover:text-tertiary text-2xl font-semibold break-words capitalize opacity-0 transition-colors duration-500"
|
||||
|
@ -49,7 +49,7 @@ const projects = allProjects
|
|||
}
|
||||
</section>
|
||||
<section aria-labelledby="recent-posts">
|
||||
<div class="group flex w-fit flex-row items-center justify-between gap-6">
|
||||
<div class="group flex w-fit flex-row items-center">
|
||||
<a href="/posts">
|
||||
<h2
|
||||
class="animate-reveal group-hover:text-tertiary text-2xl font-semibold break-words capitalize opacity-0 transition-colors duration-500 [animation-delay:0.2s]"
|
||||
|
|
|
@ -14,7 +14,7 @@ const posts = (await getCollection("posts"))
|
|||
{POSTS.TITLE}
|
||||
</h1>
|
||||
<ol
|
||||
class="animate-reveal mt-16 grid grid-cols-1 gap-6 opacity-0 [animation-delay:0.1s]"
|
||||
class="animate-reveal grid grid-cols-1 gap-6 opacity-0 [animation-delay:0.1s]"
|
||||
>
|
||||
{posts.map((article: any) => <ShowcasePost collection={article} />)}
|
||||
</ol>
|
||||
|
|
|
@ -14,7 +14,7 @@ const projects = (await getCollection("projects"))
|
|||
{PROJECTS.TITLE}
|
||||
</h1>
|
||||
<ol
|
||||
class="animate-reveal mt-16 grid grid-cols-1 gap-4 opacity-0 [animation-delay:0.1s] md:grid-cols-2"
|
||||
class="animate-reveal grid grid-cols-1 gap-4 opacity-0 [animation-delay:0.1s] md:grid-cols-2"
|
||||
>
|
||||
{projects.map((article: any) => <ShowcaseProject collection={article} />)}
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue