Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasledoux1 committed May 15, 2024
1 parent 31bb4fd commit 41d9e9f
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 140 deletions.
108 changes: 63 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@
"@astrojs/sitemap": "^3.1.4",
"@astrojs/vercel": "^7.5.4",
"@giscus/react": "^3.0.0",
"@neondatabase/serverless": "^0.9.1",
"@tanstack/react-query": "^5.35.1",
"@vercel/postgres": "^0.8.0",
"@vercel/speed-insights": "^1.0.10",
"astro-auto-import": "^0.4.2",
"chroma-js": "^2.4.2",
"clsx": "^2.1.1",
"csv-parser": "^3.0.0",
"drizzle-orm": "^0.30.10",
"html-escaper": "^3.0.3",
"isbot": "^5.1.6",
Expand Down
31 changes: 24 additions & 7 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
---
import FooterLink from "./FooterLink.astro";
import {
GithubLogo,
LinkedInLogo,
BlogLogo,
ContactLogo,
HomeLogo,
PersonalLogo,
PortfolioLogo,
} from "./Logos/index.astro";
---

<footer
Expand All @@ -9,17 +18,25 @@ import FooterLink from "./FooterLink.astro";
class="bg-primary rounded-2xl flex items-center px-3 lg:px-4 py-4 lg:py-6"
>
<ul class="flex">
<FooterLink label="Home" href="/" />
<FooterLink label="Personal" href="/personal" />
<FooterLink label="Portfolio" href="/portfolio" />
<FooterLink label="Blog" href="/blog" />
<FooterLink label="Home" href="/"><HomeLogo /></FooterLink>
<FooterLink label="Personal" href="/personal"><PersonalLogo /></FooterLink
>
<FooterLink label="Portfolio" href="/portfolio"
><PortfolioLogo /></FooterLink
>
<FooterLink label="Blog" href="/blog"><BlogLogo /></FooterLink>
<li class="bg-secondary h-[1.82rem] w-[2px] mx-2"></li>
<FooterLink label="Contact" href="mailto:[email protected]" />
<FooterLink label="Contact" href="mailto:[email protected]"
><ContactLogo /></FooterLink
>
<FooterLink
label="LinkedIn"
href="https://www.linkedin.com/in/thomasledoux91"
/>
<FooterLink label="GitHub" href="https://github.com/thomasledoux1" />
><LinkedInLogo /></FooterLink
>
<FooterLink label="GitHub" href="https://github.com/thomasledoux1"
><GithubLogo /></FooterLink
>
</ul>
</nav>
</footer>
Loading

0 comments on commit 41d9e9f

Please sign in to comment.