diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/blog/index.astro | 15 | ||||
| -rw-r--r-- | src/pages/projects.astro | 9 |
2 files changed, 19 insertions, 5 deletions
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 5e4c619..0acaaee 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -3,11 +3,17 @@ import Page from "../../layouts/Page.astro"; import { getCollection } from "astro:content"; import {formatDate} from "../../util"; import "../../styles/cards.css"; +import {Icon} from "astro-icon/components"; const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); --- <Page title="Blog" description="Where I post can be anything!"> <main> + <div class="header"> + <a href="/blog/rss.xml"> + <Icon name="fa6-solid:square-rss" class="icon" /> + </a> + </div> <div class="grid"> {allBlogPosts.map((post) => ( <article class="card"> @@ -31,4 +37,13 @@ const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate flex-direction: row; gap: 1em; } + + .header { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + gap: 0.5em; + font-size: 3em; + } </style> diff --git a/src/pages/projects.astro b/src/pages/projects.astro index c6fb19b..54cccde 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -26,11 +26,10 @@ import GitHubProjects from "../components/GitHubProjects"; }) } </div> - <!-- - <h2>Andrew Lee GitHub Repositories</h2> - <GitHubProjects client:visible username="Alee14" isOrganization=false />--> - <h2>AleeCorp/Alee Productions GitHub Repositories</h2> - <GitHubProjects client:visible username="alee14-projects" isOrganization=true /> + <h2><a href="https://github.com/Alee14" target="_blank">Andrew Lee GitHub Repositories</a></h2> + <GitHubProjects client:visible username="Alee14" /> + <h2><a href="https://github.com/alee14-projects" target="_blank">AleeCorp/Alee Productions GitHub Repositories</a></h2> + <GitHubProjects client:visible username="alee14-projects" isOrganization /> </main> </Page> <style> |
