File tree 4 files changed +22
-21
lines changed
app/AboutFourthSectionOrangeCard
components/ui/AboutPage/AboutFourthSection
stories/components/ui/About
4 files changed +22
-21
lines changed Original file line number Diff line number Diff line change
1
+ import AboutForthSectionOrangeCard from '@/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard' ;
2
+
3
+ export default function Home ( ) {
4
+ return (
5
+ < main >
6
+ < AboutForthSectionOrangeCard />
7
+ </ main >
8
+ ) ;
9
+ }
Original file line number Diff line number Diff line change 1
- import React from " react" ;
1
+ import React from ' react' ;
2
2
3
- type CardProps = {
4
- year : string ;
5
- } ;
6
-
7
- const AboutForthSectionOrangeCard = ( props : CardProps ) => {
3
+ const AboutForthSectionOrangeCard = ( ) => {
8
4
return (
9
5
< >
10
- { /* first card */ }
11
6
< div className = "w-full bg-orange rounded-lg flex flex-col" >
12
- < div className = "flex flex-col justify-center mt -7" >
7
+ < div className = "flex flex-col justify-center py -7" >
13
8
< div className = "flex mx-12 my-4" >
14
9
< p className = "text-white font-normal text-justify lg:text-lg md:text-base text-sm" >
15
10
But this time, as we move forward to reclaim the life we used to
@@ -20,7 +15,7 @@ const AboutForthSectionOrangeCard = (props: CardProps) => {
20
15
21
16
< div className = "flex flex-col ml-12 mb-6" >
22
17
< h1 className = "text-white lg:text-4xl text-xl font-normal font-artega" >
23
- { props . year }
18
+ SAMAHAN that is at the get-go.
24
19
</ h1 >
25
20
</ div >
26
21
</ div >
Original file line number Diff line number Diff line change 1
- import React from " react" ;
1
+ import React from ' react' ;
2
2
3
- import AboutForthSectionBlueCard from " @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionBlueCard" ;
4
- import AboutForthSectionOrangeCard from " @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard" ;
3
+ import AboutForthSectionBlueCard from ' @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionBlueCard' ;
4
+ import AboutForthSectionOrangeCard from ' @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard' ;
5
5
6
6
const AboutFourthSection = ( ) => {
7
7
return (
8
8
< >
9
9
< div className = "relative flex flex-col justify-start w-full gap-2 p-5" >
10
- < AboutForthSectionBlueCard year = "This 2023" />
11
- < AboutForthSectionOrangeCard year = "SAMAHAN that is at the get-go. " />
10
+ < AboutForthSectionBlueCard />
11
+ < AboutForthSectionOrangeCard />
12
12
</ div >
13
13
</ >
14
14
) ;
Original file line number Diff line number Diff line change 1
- import type { Meta , StoryObj } from " @storybook/react" ;
1
+ import type { Meta , StoryObj } from ' @storybook/react' ;
2
2
3
- import AboutForthSectionOrangeCard from " @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard" ;
3
+ import AboutForthSectionOrangeCard from ' @/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard' ;
4
4
5
5
const meta : Meta < typeof AboutForthSectionOrangeCard > = {
6
- title : "UI/AboutForthSectionOrangeCard" ,
6
+ title : 'About/About Forth Section Orange Card' ,
7
7
component : AboutForthSectionOrangeCard ,
8
8
} ;
9
9
10
10
export default meta ;
11
11
type Story = StoryObj < typeof AboutForthSectionOrangeCard > ;
12
12
13
13
export const Primary : Story = {
14
- args : {
15
- year : "SAMAHAN that is at the get-go. " ,
16
- } ,
17
- render : ( args ) => < AboutForthSectionOrangeCard { ...args } /> ,
14
+ render : ( ) => < AboutForthSectionOrangeCard /> ,
18
15
} ;
You can’t perform that action at this time.
0 commit comments