Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
},
"imports": {
"@/": "./"
},
"lint": {
"rules": {
"tags": ["recommended", "jsx"],
Expand Down
111 changes: 55 additions & 56 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
---
import { Image } from 'astro:assets';
import { Button } from 'src/components/ui/button'
import { Image } from "astro:assets";
import { Button } from "src/components/ui/button";
---

<nav class="navbar">
<div class="izquierda">
<div class="izquierda">
<div class="logo">
<a href="/">
<Image
src="/Hacktion/hacktion.png"
alt="Notion"
width="90"
height="20"/>
src="/Hacktion/hacktion.png"
alt="Notion"
width="90"
height="20"
/>
</a>
</div>

Expand All @@ -22,62 +23,60 @@ import { Button } from 'src/components/ui/button'
<a href="#highlights">Highlights</a>
</div>
</div>
<div class="botonesjiji">
<Button className="blanco">Sé sponsor</Button>
<Button className="verde">Registrate</Button>
</div>
<div class="botonesjiji">
<Button className="blanco">Sé sponsor</Button>
<Button className="verde">Registrate</Button>
</div>
</nav>



<style>
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: .10rem 5rem;
background-color: white;
border-bottom: 2px solid #01833D;
}
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.10rem 5rem;
background-color: white;
border-bottom: 2px solid #01833d;
}

.izquierda {
display: flex;
align-items: center;
gap: 4rem;
}
.izquierda {
display: flex;
align-items: center;
gap: 4rem;
}

.linksjeje {
display: flex;
gap: 2rem;
}
.linksjeje {
display: flex;
gap: 2rem;
}

.linksjeje a {
color: black;
font-size: 18px;
text-decoration: none;
font-weight: bold;
}
.linksjeje a {
color: black;
font-size: 18px;
text-decoration: none;
font-weight: bold;
}

.botonesjiji {
display: flex;
gap: 1rem;
}
.botonesjiji {
display: flex;
gap: 1rem;
}

.verde {
background-color: #01833D;
color: white;
padding: 1rem 2rem;
border-radius: .5rem;
font-weight: bold;
border: none;
}
.verde {
background-color: #01833d;
color: white;
padding: 1rem 2rem;
border-radius: 0.5rem;
font-weight: bold;
border: none;
}

.blanco {
background-color: rgb(191, 240, 186);
color: #01833D;
border: 2px solid #01833D;
padding: 1rem 2rem;
border-radius: 0.5rem;
font-weight: bold;
}
</style>
.blanco {
background-color: rgb(191, 240, 186);
color: #01833d;
border: 2px solid #01833d;
padding: 1rem 2rem;
border-radius: 0.5rem;
font-weight: bold;
}
</style>
Loading