center buttons in div
This commit is contained in:
parent
31b2a973bc
commit
c52e42a57f
4 changed files with 11 additions and 5 deletions
|
@ -31,7 +31,9 @@ const work = await Promise.all(
|
|||
<entry.Content />
|
||||
</article>
|
||||
{entry.data.article ? (
|
||||
<Button href={entry.data.article} link="View project" />
|
||||
<div class="flex justify-center">
|
||||
<Button href={entry.data.article} link="View project" />
|
||||
</div>
|
||||
) : null}
|
||||
</li>
|
||||
))
|
||||
|
|
|
@ -42,7 +42,9 @@ const projects = allProjects
|
|||
</ol>
|
||||
{
|
||||
allProjects.length > HOME.HOMESETTINGS!.NUM_PROJECTS_ON_HOMEPAGE ? (
|
||||
<Button href="/projects" link="View all" />
|
||||
<div class="flex justify-center">
|
||||
<Button href="/projects" link="View all" />
|
||||
</div>
|
||||
) : null
|
||||
}
|
||||
</section>
|
||||
|
@ -64,7 +66,9 @@ const projects = allProjects
|
|||
</ol>
|
||||
{
|
||||
allPosts.length > HOME.HOMESETTINGS!.NUM_POSTS_ON_HOMEPAGE ? (
|
||||
<Button href="/posts" link="View all" />
|
||||
<div class="flex justify-center">
|
||||
<Button href="/posts" link="View all" />
|
||||
</div>
|
||||
) : null
|
||||
}
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue