File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 8484 {#if title }
8585 <h1
8686 class ={` text-4xl font-semibold tracking-tight max-w-2xl px-8 mx-auto text-center text-red-berry-900 dark:text-neutral-400
87- ${! boxed ? ' lg:mb-24' : ' ' } ` }
87+ ${! boxed ? ' lg:mb-24' : ' lg:mb-8 ' } ` }
8888 >
8989 {@html title }
9090 </h1 >
Original file line number Diff line number Diff line change 55 import Vanta from " $lib/components/Vanta.svelte" ;
66 import Button from " $lib/components/Button.svelte" ;
77 import ImageCompare from " $lib/components/ImageCompare.svelte" ;
8+ import Divider from " $lib/components/Divider.svelte" ;
89
910 export let id = " " ;
1011 export let classes = " " ;
12+ export let divider = false ;
1113
1214 // Hero section buttons
1315 export let buttons = [];
6567 <div class =" container aspect-video hero-image py-5" >
6668 <ImageCompare before ={heroImages .dark } after ={heroImages .light } />
6769 </div >
70+
71+ {#if divider }
72+ <Divider stroke ={true } />
73+ {/if }
6874</section >
6975
7076<style >
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ frontPage = {
5151 background : "/assets/media/bg.svg" ,
5252 columns : false ,
5353 divider : true ,
54+ boxed : true ,
55+ title : "The Spyder advantage" ,
5456 extraContent : WhatIs ,
5557 } ,
5658
Original file line number Diff line number Diff line change 77 let blocks = data .props .blocks ;
88 </script >
99
10- <Hero id =" hero-section" />
10+ <Hero id ="hero-section" divider ={ true } />
1111
1212{#each blocks as block (block .id )}
1313 <ContentBlock {...block } >
You can’t perform that action at this time.
0 commit comments