Skip to content

Commit

Permalink
Add global footer
Browse files Browse the repository at this point in the history
  • Loading branch information
vdawg-git committed Mar 3, 2024
1 parent f50e7a7 commit 50f0aba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ import { discordUrl, githubUrl, hyprthemeUrl } from "#lib/consts"
>
<ul class="flex flex-col">
<p>Hyprtheme</p>
<li class="item">
<a href={hyprthemeUrl + "/browse"}>Browse</a>
</li>
<li class="item">
<a
target="_blank"
href="https://github.com/hyprland-community/theme-repo"
>Theme Repo</a
>Submit theme</a
>
</li>
<li class="item">
<a href={hyprthemeUrl + "/browse"}>Browse</a>
</li>
</ul>

<ul class="flex flex-col">
Expand Down
3 changes: 0 additions & 3 deletions src/layouts/Hyprtheme.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import Layout from "./Layout.astro"
import Navbar from "#components/hyprtheme/Navbar.astro"
import Footer from "#components/hyprtheme/Footer.astro"
import hyrpthemeIcon from "#assets/icons/hyprtheme.svg"
import { type LogoColors } from "#components/hyprtheme/Logo.astro"
import type { ComponentProps } from "astro/types"
Expand All @@ -25,6 +24,4 @@ const {
<div class="-mt-8">
<slot />
</div>

<Footer />
</Layout>
3 changes: 3 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import "../global.css"
import "@fontsource-variable/work-sans"
import Footer from "#components/Footer.astro"
import Logo from "#assets/logo.svg"
interface Props {
Expand Down Expand Up @@ -29,6 +30,8 @@ const {

<body class="absolute w-full">
<slot />

<Footer />
</body>
</html>

Expand Down

0 comments on commit 50f0aba

Please sign in to comment.