File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import '../css/carousel.css' ;
2+ import Organization from './Organization.tsx' ;
3+
4+ type CarouselProps = {
5+ type : string ;
6+ }
7+
8+ export default function Carousel ( { type } : CarouselProps ) {
9+ return (
10+ < >
11+ < div >
12+ < h2 className = "carousel-title" > { type } </ h2 >
13+ < div className = "carousel" >
14+ < Organization />
15+ < Organization />
16+ < Organization />
17+ </ div >
18+ </ div >
19+ </ >
20+ ) ;
21+ }
Original file line number Diff line number Diff line change 1+ import '../css/organizations.css' ;
2+
3+ export default function Organization ( ) {
4+ return (
5+ < div className = "org" >
6+
7+ </ div >
8+ ) ;
9+ }
Original file line number Diff line number Diff line change 1+ .carousel-page-container {
2+ display : flex;
3+ flex-direction : column;
4+ gap : 4rem ;
5+ }
6+
7+ .carousel {
8+ width : 100% ;
9+ background : # F1DEDE ;
10+ height : 20rem ;
11+ border-radius : 2rem ;
12+ padding : 1rem ;
13+
14+ display : flex;
15+ flex-direction : row;
16+ align-items : center;
17+ gap : 2rem ;
18+ }
19+
20+ .carousel-title {
21+ margin : 0 ;
22+ font-size : 1rem ;
23+ color : black;
24+ }
Original file line number Diff line number Diff line change 1+ .org {
2+ height : 18rem ;
3+ width : 22rem ;
4+ border-radius : 2rem ;
5+ background : # D9D9D9 ;
6+ }
You can’t perform that action at this time.
0 commit comments