File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1- <div class =" rounded-lg shadow-md p-5" >
1+ <div class =" bg-white rounded-lg shadow-md p-5 mt-6 " >
22 <ul class =" space-y-2" >
33 <slot />
44 </ul >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const sectionSubtitle = "Meet some of our amazing speakers";
2222
2323---
2424
25- <Section class = " py-16 px-4 bg-gray-50 " >
25+ <Section >
2626 <div class =" container mx-auto" >
2727 <div class =" text-center mb-12" >
2828 <h2 class =" text-3xl md:text-4xl font-bold text-gray-900 mb-4" >{ sectionTitle } </h2 >
Original file line number Diff line number Diff line change 1+ ---
2+ import { YouTube } from " @astro-community/astro-embed-youtube" ;
3+
4+ const {
5+ class : userClass = ' ' ,
6+ ... attrs
7+ } = Astro .props ;
8+
9+ const defaultClass = ' border-4 border-white rounded-lg shadow-lg' ;
10+ const className = ` ${defaultClass } ${userClass } ` .trim ();
11+ ---
12+
13+ <YouTube class ={ className } {... attrs } />
Original file line number Diff line number Diff line change 22import { type CollectionEntry , getCollection } from " astro:content" ;
33import Layout from " @layouts/MarkdownLayout.astro" ;
44
5- import Prose from " ../components/prose/prose.astro" ;
65import ButtonLink from " ../components/button-link/button-link.astro" ;
76import { Separator } from " ../components/separator/separator" ;
87import { Map } from " ../components/map" ;
98import { MapSprints } from " ../components//map-for-sprints" ;
10- import { YouTube } from " @astro-community/ astro-embed-youtube " ;
9+ import YouTube from " @ui/YouTube. astro" ;
1110import BenefitsList from " ../components/benefits-list/benefits-list.astro" ;
1211import BenefitItem from " ../components/benefits-list/benefit-item.astro" ;
1312import HighlightCard from " ../components/highlight-list/highlight-card.astro" ;
You can’t perform that action at this time.
0 commit comments