diff --git a/src/components/about-section-layout.tsx b/src/components/about-section-layout.tsx new file mode 100644 index 00000000..bbefa04d --- /dev/null +++ b/src/components/about-section-layout.tsx @@ -0,0 +1,58 @@ +"use client"; + +import CustomLink from "./link"; +import { useDictionary } from "@/contexts/dictionary-provider"; +import { horizontalPadding } from "@/lib/styling"; + +interface AboutSectionProps { + title: string; + subtitle: string; + href: string; + children: React.ReactNode; +} + +const AboutSectionLayout = ({ + title, + subtitle, + href, + children, +}: AboutSectionProps) => { + const dict = useDictionary(); + + return ( +
+
+
+ + {title} + +
+ + + +
+ +
+
{subtitle}
+ +
+ +
+ +
{children}
+
+
+ ); +}; + +export default AboutSectionLayout; diff --git a/src/internationalization/dictionaries/en.json b/src/internationalization/dictionaries/en.json index b8c9288e..4f3d57a7 100644 --- a/src/internationalization/dictionaries/en.json +++ b/src/internationalization/dictionaries/en.json @@ -28,6 +28,7 @@ "button": { "see_team": "Go to team", "learn_more": "Learn more", + "see_more": "See more", "back": "Go Back" }, "collaborate_card": { diff --git a/src/internationalization/dictionaries/pt.json b/src/internationalization/dictionaries/pt.json index faaf5dfe..bf0a7fe2 100644 --- a/src/internationalization/dictionaries/pt.json +++ b/src/internationalization/dictionaries/pt.json @@ -28,6 +28,7 @@ "button": { "see_team": "Ver direção", "learn_more": "Saber mais", + "see_more": "Ver mais", "back": "Voltar" }, "collaborate_card": {