using hero in root page
This commit is contained in:
parent
955985e0ba
commit
58cb959ef4
2 changed files with 28 additions and 10 deletions
18
src/components/hero.astro
Normal file
18
src/components/hero.astro
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
import Wallpaper from "./wallpaper.astro";
|
||||
---
|
||||
|
||||
<Wallpaper>
|
||||
<div
|
||||
class="container mx-auto px-8 py-16 w-full h-full justify-center items-center flex flex-col"
|
||||
>
|
||||
<div
|
||||
class="inline-block backdrop-blur-lg rounded-3xl shadow-2xl px-4 py-6 sm:px-8 sm:py-12 space-y-4"
|
||||
>
|
||||
<h1 class="text-3xl sm:text-4xl font-bold">Philippe Loctaux</h1>
|
||||
<h2 class="sm:text-xl font-semibold">
|
||||
Computer science student at Epitech, graduating in 2023.
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</Wallpaper>
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
import Hero from "../components/hero.astro";
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Astro</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Astro</h1>
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>Philippe Loctaux</title>
|
||||
</head>
|
||||
<body>
|
||||
<Hero />
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue