diff --git a/app/about-us/history/page.tsx b/app/about-us/history/page.tsx new file mode 100644 index 0000000..fe6e182 --- /dev/null +++ b/app/about-us/history/page.tsx @@ -0,0 +1,25 @@ +import React from 'react'; +import HistorySummary from '@/app/components/about-us/history/summary'; +import Timeline from '@/app/components/about-us/history/timeline'; +import VideoFrame from '@/app/components/about-us/history/video-frame'; + +export default function AboutUsHistorypage() { + return ( +
+
+ +
+ +
+ + +
+
+ ); +} diff --git a/app/components/about-us/history/summary.tsx b/app/components/about-us/history/summary.tsx new file mode 100644 index 0000000..e8f4714 --- /dev/null +++ b/app/components/about-us/history/summary.tsx @@ -0,0 +1,19 @@ +import React from 'react'; + +interface HistorySummaryProps { + title: string; + description: string; +} + +export default function HistorySummary({ title, description }: HistorySummaryProps) { + return ( +
+

+ {title} +

+

+ {description} +

+
+ ); +} diff --git a/app/components/about-us/history/timeline.tsx b/app/components/about-us/history/timeline.tsx new file mode 100644 index 0000000..ed6a5a4 --- /dev/null +++ b/app/components/about-us/history/timeline.tsx @@ -0,0 +1,21 @@ +import React from 'react'; + +interface TimelineProps { + years: number[]; +} + +export default function Timeline({ years }: TimelineProps) { + return ( +
+ {years.map((year, index) => ( +
+
+
+ {index < years.length - 1?
: null} +
+ {year} +
+ ))} +
+ ); +} diff --git a/app/components/about-us/history/video-frame.tsx b/app/components/about-us/history/video-frame.tsx new file mode 100644 index 0000000..7b0ecc7 --- /dev/null +++ b/app/components/about-us/history/video-frame.tsx @@ -0,0 +1,24 @@ +import React from 'react'; + +interface VideoFrameProps { + videoTitle: string; + videoSrc: string; +} + +export default function VideoFrame({ videoTitle, videoSrc }: VideoFrameProps) { + return ( +
+