@@ -15,23 +15,17 @@ const widths = [450, 800];
1515const sizes = " (min-width: 640px) 42vw, 67vw" ;
1616---
1717
18- <section class =" relative h-full bg-black " >
19- <Starfield />
18+ <section class =" splash relative flex h-full flex-col items-start justify-center " >
19+ <!-- < Starfield /> -- >
2020 <!-- <GitHubCorner /> -->
21- <div id =" splash-bg-fallback" class =" absolute inset-0 hidden opacity-40" >
21+ <!-- < div id="splash-bg-fallback" class="absolute inset-0 hidden opacity-40">
2222 <HeroImage />
23- </div >
24- <div class =" relative grid h-full place-items-center sm:grid-cols-2" >
25- <h2
26- class =" flex flex-col items-center gap-2 self-end sm:gap-4 sm:self-auto sm:justify-self-end"
27- >
28- <Icon name =" logomark" class =" size-20 text-white md:size-32" />
29- <div
30- class =" gradient-text text-center font-extrabold tracking-tighter text-6xl md:text-8xl"
31- set:html ={ props .heroText }
32- />
33- </h2 >
34- <div
23+ </div> -->
24+ <h2 class =" text-8xl mt-12 font-bold ml-14" >
25+ <!-- <Icon name="logomark" class="size-20 text-white md:size-32" /> -->
26+ <div set:html ={ props .heroText } />
27+ </h2 >
28+ <!-- <div
3529 id="astronaut"
3630 class="w-2/3 max-w-3xl self-start sm:w-10/12 sm:self-auto sm:justify-self-start"
3731 >
@@ -43,19 +37,24 @@ const sizes = "(min-width: 640px) 42vw, 67vw";
4337 loading="eager"
4438 alt="A floating astronaut in a space suit"
4539 />
46- </div >
47- </div >
40+ </div> -->
4841</section >
4942
50- <noscript >
51- <style >
52- #splash-bg-fallback {
53- display: block;
54- }
55- </style >
56- </noscript >
57-
5843<style >
44+ .splash::before {
45+ content: "";
46+ z-index: -1;
47+ position: absolute;
48+ top: 0;
49+ left: 0;
50+ width: 100%;
51+ height: 100%;
52+ background-image: url("/hero-image-colton-sturgeon-N4fdQbMJ0nI-unsplash.jpg");
53+ background-size: cover;
54+ background-position: left;
55+ filter: saturate(0.7) brightness(0.6);
56+ }
57+
5958 @keyframes float {
6059 0% {
6160 transform: translate3d(0, 0, 0);
0 commit comments