Skip to content

Commit

Permalink
change colors and add earth
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev committed Oct 6, 2024
1 parent 743cb67 commit aebf180
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Binary file added src/assets/earth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
import { Image } from "astro:assets";
import "@fontsource/bruno-ace-sc";
import "@fontsource/outfit";
import Earth from "../assets/earth.png";
import Step from "../components/Step.astro";
---

Expand All @@ -19,7 +21,7 @@ import Step from "../components/Step.astro";
</head>
<body>
<div
class="relative flex min-h-screen w-full flex-col items-center justify-start bg-gradient-to-br from-[#112349] via-[#3C7BCE] to-[#88AFD0] text-white"
class="relative flex min-h-screen w-full flex-col items-center justify-start bg-gradient-to-b from-[#000000] from-30% to-[#2877de] text-white"
>
<div class="pt-24">
<h1 class="text-center font-display text-7xl leading-normal">Apex</h1>
Expand All @@ -30,7 +32,7 @@ import Step from "../components/Step.astro";
</div>

<div
class="flex w-2/3 flex-col items-center justify-start gap-10 py-24 md:w-1/3"
class="relative flex w-2/3 flex-col items-center justify-start gap-10 pb-80 pt-24 md:w-1/3"
>
<Step
num={1}
Expand Down Expand Up @@ -72,9 +74,14 @@ import Step from "../components/Step.astro";
link: `${import.meta.env.BASE_URL}/resources/launch`,
}}
/>
<Image
src={Earth}
alt="Earth"
class="absolute bottom-0 h-1/4 w-screen max-w-[100vw] md:h-1/2"
/>
</div>

<div class="flex w-full justify-center bg-lessblue py-20">
<div class="bg-earthblack flex w-full justify-center py-20">
<div
class="flex w-2/3 flex-col items-start justify-start gap-10 md:w-1/2"
>
Expand Down Expand Up @@ -104,7 +111,7 @@ import Step from "../components/Step.astro";
</div>
</div>

<div class="w-full bg-apexblue p-10">
<div class="bg-lessblack w-full p-10">
<p class="text-center text-xl">
This website is open-source at <a
href="https://github.com/apexhacks2025/website"
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export default {
colors: {
apexblue: "#175CBC",
lessblue: "#2F62A8",
earthblack: "#04072A",
lessblack: "#050933",
},
fontFamily: {
sans: ["Outfit", ...defaultTheme.fontFamily.sans],
Expand Down

0 comments on commit aebf180

Please sign in to comment.