@@ -4,8 +4,8 @@ import SectionTitle from './SectionTitle.astro';
44import type { SmarterSection } from ' ./sections' ;
55import PageHeader from ' ../../common/components/PageHeader.astro' ;
66import SecondaryNav from ' ../../common/components/SecondaryNav.astro' ;
7- import SparkLine from ' ../../customComponents/SparkLine/SparkLine .astro' ;
8- import SparkLineSvelte from ' ../../customComponents/SparkLine/SparkLine .svelte' ;
7+ import Sparkline from ' ../../customComponents/SparkLine/Sparkline .astro' ;
8+ import SparklineSvelte from ' ../../customComponents/SparkLine/Sparkline .svelte' ;
99
1010interface Props {
1111 sections: SmarterSection [];
@@ -63,22 +63,22 @@ const entries = sections.map((section) => ({
6363 <div class =" nc-card nc-flow" >
6464 <h3 >Sparkline</h3 >
6565 <div class =" nc-stack -near" >
66- <p >This is an inline Sparkline:<SparkLine data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" gradient" /> </p >
66+ <p >This is an inline Sparkline:<Sparkline data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" gradient" /> </p >
6767 </div >
6868
6969 <div class =" nc-stack -near" >
7070 <p >This is an large Sparkline:</p >
71- <SparkLine data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" gradient" style =" width: min(400px, 100%); height: auto;" />
71+ <Sparkline data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" gradient" style =" width: min(400px, 100%); height: auto;" />
7272 </div >
7373
7474 <div class =" nc-stack -near" >
7575 <p >This is an large Sparkline as line only:</p >
76- <SparkLine data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" line" style =" width: min(400px, 100%); height: auto;" />
76+ <Sparkline data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]} label =" Example SparkLine" appearance =" line" style =" width: min(400px, 100%); height: auto;" />
7777 </div >
7878
7979 <div class =" nc-stack -near" >
8080 <p >This is an inline Sparkline in svelte:
81- <SparkLineSvelte
81+ <SparklineSvelte
8282 data ={ [5 , 10 , 8 , 12 , 7 , 14 , 10 , 15 , 9 , 18 , 12 , 20 ]}
8383 label =" Example SparkLine"
8484 appearance =" gradient"
0 commit comments