Skip to content

Commit f1899d4

Browse files
committed
chore: added updated componenets
2 parents 5907b22 + 6119bc2 commit f1899d4

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
}

src/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard.tsx

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
import React from "react";
1+
import React from 'react';
22

3-
type CardProps = {
4-
year: string;
5-
};
6-
7-
const AboutForthSectionOrangeCard = (props: CardProps) => {
3+
const AboutForthSectionOrangeCard = () => {
84
return (
95
<>
10-
{/* first card */}
116
<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">
138
<div className="flex mx-12 my-4">
149
<p className="text-white font-normal text-justify lg:text-lg md:text-base text-sm">
1510
But this time, as we move forward to reclaim the life we used to
@@ -20,7 +15,7 @@ const AboutForthSectionOrangeCard = (props: CardProps) => {
2015

2116
<div className="flex flex-col ml-12 mb-6">
2217
<h1 className="text-white lg:text-4xl text-xl font-normal font-artega">
23-
{props.year}
18+
SAMAHAN that is at the get-go.
2419
</h1>
2520
</div>
2621
</div>

src/components/ui/AboutPage/AboutFourthSection/AboutFourthSection.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import React from "react";
1+
import React from 'react';
22

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';
55

66
const AboutFourthSection = () => {
77
return (
88
<>
99
<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 />
1212
</div>
1313
</>
1414
);
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from '@storybook/react';
22

3-
import AboutForthSectionOrangeCard from "@/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard";
3+
import AboutForthSectionOrangeCard from '@/components/ui/AboutPage/AboutFourthSection/AboutForthSectionOrangeCard';
44

55
const meta: Meta<typeof AboutForthSectionOrangeCard> = {
6-
title: "UI/AboutForthSectionOrangeCard",
6+
title: 'About/About Forth Section Orange Card',
77
component: AboutForthSectionOrangeCard,
88
};
99

1010
export default meta;
1111
type Story = StoryObj<typeof AboutForthSectionOrangeCard>;
1212

1313
export const Primary: Story = {
14-
args: {
15-
year: "SAMAHAN that is at the get-go. ",
16-
},
17-
render: (args) => <AboutForthSectionOrangeCard {...args} />,
14+
render: () => <AboutForthSectionOrangeCard />,
1815
};

0 commit comments

Comments
 (0)