Skip to content

Commit 967fe2a

Browse files
authored
Merge pull request #9 from scesi/feature/header-footer-componets
Header & Footer
2 parents 57a98ee + 819a02a commit 967fe2a

File tree

8 files changed

+359
-17
lines changed

8 files changed

+359
-17
lines changed

public/hacklab-brick-heads.svg

Lines changed: 35 additions & 0 deletions
Loading

public/scesi.svg

Lines changed: 14 additions & 0 deletions
Loading

src/components/.gitkeep

Whitespace-only changes.

src/components/Footer.astro

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
const { class: className = '' } = Astro.props;
3+
---
4+
5+
<footer
6+
class={`relative w-full bg-[#214030] text-white pt-8 pb-12 px-4 sm:px-6 lg:px-8 ${className}`}
7+
>
8+
<div class="max-w-7xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-8">
9+
<div class="flex flex-col items-center sm:items-start gap-4">
10+
<p class="text-sm font-semibold tracking-wide">Organizado por:</p>
11+
<div class="flex items-center gap-6">
12+
<a href="https://www.scesi.org/" target="_blank" rel="noopener noreferrer">
13+
<img src="/scesi.svg" alt="Logo SCESI" class="h-10 w-auto" />
14+
</a>
15+
<img src="/hacklab-brick-heads.svg" alt="Logo HackLab" class="h-10 w-auto" />
16+
</div>
17+
</div>
18+
19+
<a
20+
href="#"
21+
class="inline-flex items-center bg-white/10 hover:bg-white/20 text-white text-sm font-semibold py-2 px-4 rounded-md transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#FFC727] focus-visible:ring-offset-2 focus-visible:ring-offset-[#214030] h-10"
22+
>
23+
Reglamento
24+
</a>
25+
</div>
26+
<p class="absolute bottom-4 left-1/2 -translate-x-1/2 text-sm font-medium text-center">
27+
Creado con <span class="text-red-500" aria-hidden="true">❤</span> por SCESI
28+
</p>
29+
</footer>
30+
31+
<style>u
32+
footer {
33+
font-family: 'Roboto', sans-serif;
34+
}
35+
</style>

0 commit comments

Comments
 (0)