fix: make article metadata fill container width first
All checks were successful
Docker / build-and-push-image (push) Successful in 1m12s
All checks were successful
Docker / build-and-push-image (push) Successful in 1m12s
This commit is contained in:
parent
9d86db033f
commit
24da21aa6f
9 changed files with 69 additions and 71 deletions
|
@ -3,7 +3,6 @@ import { getCollection } from "astro:content";
|
|||
import { PROJECTS, SITE } from "@consts";
|
||||
import Layout from "@layouts/Layout.astro";
|
||||
import ShowcaseProject from "@components/ShowcaseProject.astro";
|
||||
import Link from "@components/Link.astro";
|
||||
|
||||
const projects = (await getCollection("projects"))
|
||||
.filter((project) => !project.data.draft)
|
||||
|
@ -19,11 +18,11 @@ const projects = (await getCollection("projects"))
|
|||
>
|
||||
{projects.map((article: any) => <ShowcaseProject collection={article} />)}
|
||||
</ol>
|
||||
<div class="flex justify-end">
|
||||
<Link
|
||||
<div class="animate-reveal flex justify-end opacity-0 [animation-delay:0.2s]">
|
||||
<a
|
||||
href="/projects.xml"
|
||||
class="text-tertiary hover:text-secondary text-xs transition-colors duration-300"
|
||||
>View projects feed</Link
|
||||
>View projects feed</a
|
||||
>
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue