-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alberto Ortega Garcia
committed
Jun 19, 2024
1 parent
24dfe83
commit 1af6541
Showing
6 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
import { Image } from "astro:assets"; | ||
import localHeroImage from "../../../public/png/localHeroImage.png"; | ||
--- | ||
|
||
<Image class:list={"w-full"} src={localHeroImage} alt="Hero Image" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
import HeroImage from "../assets/images/HeroImage.astro"; | ||
import NavigationBar from "@components/NavigationBar.astro"; | ||
--- | ||
|
||
<div class="relative w-full h-auto overflow-hidden" id="hero"> | ||
<div class="absolute left-0 right-0" id="navbar-container"> | ||
<NavigationBar /> | ||
</div> | ||
<div | ||
class="w-full max-sm:w-[200%] h-auto max-sm:right-0 max-sm:top-[50%] max-sm:-ml-[100%]" | ||
> | ||
<HeroImage /> | ||
</div> | ||
<div | ||
class="absolute text-[white] z-10 left-[10%] max-sm:left-[5%] bottom-[20%] max-sm:bottom-[5%] w-3/4 max-sm:w-5/6" | ||
id="hero-text" | ||
> | ||
<h1> | ||
About <span class="bg-blue">300 million</span> kids worldwide don't have a | ||
football. | ||
</h1> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters