Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
demanr committed Oct 5, 2023
1 parent 3e8ef4c commit 0065aea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 7 additions & 5 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ import Navbar from "./Navbar.astro";
<div
class="h-screen bg-[url('/background_simplified.svg')] bg-center p-8 sm:justify-normal sm:bg-cover"
>
<div class="w-full backdrop-blur-md"><Navbar /></div>
<div class="fixed top-10 z-50 box-content w-full backdrop-blur-md">
<Navbar />
</div>
<div
class="flex h-full flex-col justify-between p-4 pt-24 sm:justify-normal sm:gap-24"
class="flex h-full flex-col justify-between overflow-hidden p-4 pt-36 sm:justify-normal sm:gap-24 sm:pt-24"
>
<div class="z-10">
<h1
class="text-5xl font-extrabold tracking-tight drop-shadow-2xl md:text-8xl lg:text-9xl"
class="text-title font-extrabold leading-tight tracking-tight drop-shadow-2xl sm:text-7xl sm:leading-normal md:text-8xl lg:text-9xl"
>
DELTAHACKS<span class="text-rose-600">X</span>
DELTA<wbr />HACKS<span class="text-rose-600">X</span>
</h1>
<!-- RGBA(231, 34, 80, 1) -->
<p
Expand All @@ -26,7 +28,7 @@ import Navbar from "./Navbar.astro";

<!-- RGBA(19, 77, 84, 1) -->
<div
class="z-10 flex w-full flex-col gap-4 text-center text-xl font-semibold sm:w-1/2 sm:flex-row"
class="z-10 flex w-full flex-col gap-4 text-center text-xl font-semibold sm:w-3/4 sm:flex-row lg:w-1/2"
>
<a
href="https://portal.deltahacks.com/"
Expand Down
6 changes: 3 additions & 3 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { Image } from "astro:assets";
---

<div
class="align-center flex h-16 w-full justify-between bg-[#19333A] bg-opacity-40 px-6 pt-4 backdrop-blur-xl md:px-8"
class="align-center flex h-16 justify-between bg-[#19333A] bg-opacity-40 px-6 py-4 backdrop-blur-xl md:px-8"
>
<div class="w-12 pt-1">
<Image width="24" height="24" class="h-6" src="/nav_logo.svg" alt="logo" />
</div>
<div
class="hidden w-1/2 justify-between text-lg text-white md:flex xl:text-2xl"
class="hidden w-full justify-between px-12 text-lg text-white md:flex lg:w-1/2 lg:px-0 xl:text-2xl"
>
<p>About</p>
<p>Statistics</p>
Expand Down Expand Up @@ -47,7 +47,7 @@ import { Image } from "astro:assets";
/></a
>
</div>
<div class="flex pt-1 md:hidden">
<div class="flex md:hidden">
<Image width="24" height="24" src="/nav_sizing.svg" alt="NAV" />
</div>
</div>
3 changes: 3 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ module.exports = {
"dh-blue": "#2D9AEA",
},
},
fontSize: {
title: "2.5rem",
},
},
plugins: [require("tailwindcss-text-fill-stroke")()],
};

0 comments on commit 0065aea

Please sign in to comment.