Skip to content

Commit 57f2a6a

Browse files
authored
Merge pull request #41 from scesi/dev
Refactor code structure to improve readability and maintainability, Adds the regulation
2 parents fe4e57b + 379d525 commit 57f2a6a

File tree

7 files changed

+198
-52
lines changed

7 files changed

+198
-52
lines changed

public/clean-up-hack.svg

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/components/Footer.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ const { class: className = '' } = Astro.props;
1717
</div>
1818

1919
<a
20-
href="#"
20+
href="https://drive.google.com/file/d/1XNpP4sZdOTn_xNViGsyCiEil8kumr1Sh/view?usp=sharing"
21+
target="_blank"
22+
rel="noopener noreferrer"
2123
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"
2224
>
2325
Reglamento

src/components/Header.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
// Nota: 'astro:transitions' no disponible (tipos no presentes). Usamos clase utilitaria para fade.
2+
import IconHack from '../icons/clean_up_hack.astro';
33
const navFade = 'fade-link';
44
---
55

@@ -16,7 +16,7 @@ const navFade = 'fade-link';
1616
<div class="flex-1 lg:hidden"></div>
1717
<div class="flex-1 flex justify-center lg:flex-initial lg:justify-start">
1818
<a href="/" class="flex items-center gap-2">
19-
<img src="/clean-up-hack.svg" alt="Logo Clean Up Hack" class="w-30 h-auto" />
19+
<IconHack class="w-30 h-auto" />
2020
</a>
2121
</div>
2222

src/components/Hero.astro

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import IconHack from '../icons/clean_up_hack.astro';
23
import Countdown from './Countdown.astro';
34
---
45

@@ -10,11 +11,8 @@ import Countdown from './Countdown.astro';
1011
<div
1112
class="flex flex-col items-center justify-start md:justify-center flex-1 pt-10 sm:pt-14 md:pt-0 gap-4 md:gap-6"
1213
>
13-
<img
14-
src="/clean-up-hack.svg"
15-
alt="CleanUp Hack Logo"
16-
class="w-full max-w-[1100px] px-2 md:px-4 drop-shadow-md view-transition-hero"
17-
/>
14+
<IconHack class="w-full max-w-[1100px] px-2 md:px-4 drop-shadow-md view-transition-hero" />
15+
1816
<h2
1917
style="font-family: 'Cabin Sketch', cursive;"
2018
class="text-base sm:text-xl md:text-3xl lg:text-4xl font-bold tracking-wide drop-shadow-sm"

src/components/Sponsors.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const {
5454
</svg>
5555
</p>
5656

57-
<article class="mt-8 sm:mt-10 md:mt-12 flex flex-wrap justify-center gap-5 sm:gap-6 md:gap-8">
57+
<div class="mt-8 sm:mt-10 md:mt-12 flex flex-wrap justify-center gap-5 sm:gap-6 md:gap-8">
5858
{
5959
sponsors.map((s) => (
6060
<a
@@ -78,7 +78,7 @@ const {
7878
</a>
7979
))
8080
}
81-
</article>
81+
</div>
8282

8383
<div class="mt-10 sm:mt-12 md:mt-14 flex flex-col sm:flex-row gap-4 sm:gap-6 justify-center">
8484
<a

src/icons/clean_up_hack.astro

Lines changed: 173 additions & 0 deletions
Large diffs are not rendered by default.

src/layouts/Layout.astro

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,28 @@ import LeavesBackground from '../components/LeavesBackground.astro';
66
---
77

88
<!doctype html>
9-
<html lang="en">
9+
<html lang="es">
1010
<head>
1111
<meta charset="UTF-8" />
12-
<meta name="viewport" content="width=device-width" />
12+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1313
<link rel="icon" type="image/svg+xml" href="/clean-up.svg" />
1414
<meta name="generator" content={Astro.generator} />
15-
<title>CleanUp | Hackathon</title>
15+
16+
<title>CleanUpHack | Hackathon Ambiental Cochabamba</title>
17+
<meta
18+
name="description"
19+
content="Únete a CleanUpHack, la hackathon enfocada en soluciones innovadoras para reducir la basura en Cochabamba. Cronograma, premios y toda la información del evento."
20+
/>
21+
<meta
22+
name="keywords"
23+
content="hackathon Cochabamba, CleanUpHack, gestión de basura, medio ambiente Cochabamba, reciclaje Bolivia, innovación ambiental, tecnología sostenible, residuos sólidos, hackathon Bolivia, soluciones ambientales"
24+
/>
25+
<meta name="author" content="SCESI" />
26+
<meta name="robots" content="index, follow" />
1627
<link rel="preconnect" href="https://fonts.googleapis.com" />
1728
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1829
<link
30+
rel="preload"
1931
href="https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=Roboto:wght@400;500;700&display=swap"
2032
rel="stylesheet"
2133
/>

0 commit comments

Comments
 (0)