Skip to content

Commit

Permalink
fix: footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Humberto Yupanqui Apaza committed Aug 13, 2023
1 parent ee65976 commit 0bbdc55
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
9 changes: 4 additions & 5 deletions src/components/footer/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Twitter from "../contactIcons/Twitter.astro";

<footer class="w-full bg-blue-200 py-14 dark:bg-[#08152C] dark:bg-opacity-40">
<section
class="lg:container lg:mx-auto items-center px-3 grid grid-cols-1 md:grid-cols-3 gap-4 md:flex-row md:justify-between lg:px-10"
class="lg:container lg:mx-auto items-center px-3 flex flex-col gap-4 md:gap-8 md:flex-row md:justify-between lg:px-10"
>
<p
class="w-full text-base max-sm:text-sm text-[#0A0C10]/70 dark:text-[#F5F9FF]/50"
Expand Down Expand Up @@ -59,16 +59,15 @@ import Twitter from "../contactIcons/Twitter.astro";
rel="noreferrer">Aileron</a
>.
</p>
<span
class="w-auto md:w-10 h-[1px] bg-gray-400 dark:bg-gray-700 md:opacity-0"
<span class="w-full md:w-10 h-[1px] bg-gray-400 dark:bg-gray-700 md:hidden"
></span>
<div class="w-full flex flex-col gap-2 [&>div]:px-0">
<p class="text-sm text-[#0A0C10]/70 dark:text-[#F5F9FF]/40">
© 2023 Humberto Yupanqui, todos los derechos reservados. FullStack
2023 Humberto Yupanqui, todos los derechos reservados. FullStack
Developer, Freelancer.
</p>
<div
class="flex gap-2 justify-center md:justify-start [&>a]:bg-purple-950/5 [&>a]:w-10 [&>a]:h-10 [&>a]:rounded-full [&>a]:p-2.5 [&>a>svg]:w-6 [&>a>svg]:h-6"
class="flex gap-2 justify-center md:justify-start [&>a]:bg-purple-950/5 [&>a]:w-11 [&>a]:h-11 [&>a]:rounded-full [&>a]:p-2.5 [&>a>svg]:w-6 [&>a>svg]:h-6"
>
<Github hyperlink="https://github.com/ypnqh" />
<Instagram />
Expand Down
2 changes: 2 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import Footer from "../components/footer/Footer.astro";
import Header from "../components/header/Header.astro";
export interface Props {
title: string;
Expand All @@ -22,6 +23,7 @@ const { title } = Astro.props;
<body class="bg-zinc-100 dark:bg-zinc-950 w-full h-full flex flex-col">
<Header />
<slot />
<Footer />
</body>
</html>

Expand Down
2 changes: 0 additions & 2 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import Footer from "../components/footer/Footer.astro";
import Layout from "../layouts/Layout.astro";
import Error404 from "/public/404.gif";
---
Expand Down Expand Up @@ -35,5 +34,4 @@ import Error404 from "/public/404.gif";
/>
</div>
</main>
<Footer />
</Layout>
2 changes: 0 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
import Footer from "../components/footer/Footer.astro";
import Main from "../components/main/Main.astro";
import Layout from "../layouts/Layout.astro";
---

<Layout title="Portafolio">
<Main />
<Footer />
</Layout>
2 changes: 0 additions & 2 deletions src/pages/photos.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import Footer from "../components/footer/Footer.astro";
import Layout from "../layouts/Layout.astro";
---

Expand All @@ -21,7 +20,6 @@ import Layout from "../layouts/Layout.astro";
<li><img src="" alt="" /></li>
</ul>
</main>
<Footer />
</Layout>

<script>
Expand Down

0 comments on commit 0bbdc55

Please sign in to comment.