File tree Expand file tree Collapse file tree 6 files changed +106
-319
lines changed
Expand file tree Collapse file tree 6 files changed +106
-319
lines changed Original file line number Diff line number Diff line change 1- ---
2-
3- ---
41<article class =" prose" >
52 <slot />
63</article >
Original file line number Diff line number Diff line change 1- <div class =" hero min-h-screen" >
1+ ---
2+ interface Props {
3+ graphicSrc: string ;
4+ }
5+
6+ const { graphicSrc } = Astro .props ;
7+ ---
8+ <div class =" hero" >
29 <div class =" hero-content flex-col lg:flex-row-reverse" >
3- <slot />
10+ <!-- Graphics side. -->
11+ <div class =" basis-2/5 self-stretch" >
12+ <div class =" h-dvh sticky top-0 border flex justify-center items-center" >
13+ <p class =" p-8" >{ graphicSrc } </p >
14+ </div >
15+ </div >
16+
17+ <!-- Content side. -->
18+ <div class =" basis-1/2" >
19+ <slot />
20+ </div >
421 </div >
522</div >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
22---
33<!doctype html >
4- <html lang =" en" >
4+ <html lang =" en" class = " scroll-smooth " >
55 <head >
66 <meta charset =" UTF-8" />
77 <meta name =" viewport" content =" width=device-width" />
You can’t perform that action at this time.
0 commit comments