diff --git a/next.config.mjs b/next.config.mjs index ff1f0fe..6a3a214 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -26,8 +26,12 @@ const nextConfig = { hostname: "avatars.githubusercontent.com", pathname: "/**", }, + { + protocol: "https", + hostname: "assets.republic.com", + pathname: "/**", + }, ], }, }; - export default nextConfig; diff --git a/src/app/about/infoCard.tsx b/src/app/about/infoCard.tsx new file mode 100644 index 0000000..50acb32 --- /dev/null +++ b/src/app/about/infoCard.tsx @@ -0,0 +1,31 @@ +import { Button } from "@/components/ui/button"; +import Image from "next/image"; +import Link from "next/link"; + +type CardProps = { + imageSrc: string; + imageAlt: string; + heading: string; + content: string[]; + link: string; + buttonText: string; +}; + +const InfoCard = ({ imageSrc, imageAlt, heading, content, link, buttonText }: CardProps) => { + return ( +
+ {imageAlt} +

{heading}

+ {content.map((text, index) => ( +

+ {text} +

+ ))} + + + +
+ ); +}; + +export default InfoCard; diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 907c04b..a442bb0 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,5 +1,9 @@ +"use client"; import Image from "next/image"; import { Separator } from "@/components/ui/separator"; +import { Button } from "@/components/ui/button"; +import Link from "next/link"; +import InfoCard from "./infoCard"; export default function About() { // Static data for the cards @@ -38,14 +42,42 @@ export default function About() { }, ]; + const imageData = { + img1: "https://assets.republic.com/assets/static_pages/about/growth_opportunities/individual_investors-0e85dfd02359a24ac4b232be008c7168fc57d3437a2f526f5d5889b874b20221.png", + img2: "https://assets.republic.com/assets/static_pages/about/growth_opportunities/accredited_investors-42d6aa046861adb7f0648f26ca3f798b07f3b13bf7024f7dc17c17acb78fdf2c.png", + }; + return (
-

Invest with the best

+

Growth opportunities for

+

all sides of the investment market

- B2DVentures Curates private investing opportunities with high-growth potential + B2DVentures is where both accredited and non-accredited investors meet entrepreneurs and

-

Across startups, gaming, real estate.

+

+ access high-growth potential deals across a range of private markets. +

+
+
+
+ + +
+
+
{/*
diff --git a/src/components/siteFooter.tsx b/src/components/siteFooter.tsx index 007d663..1be4f53 100644 --- a/src/components/siteFooter.tsx +++ b/src/components/siteFooter.tsx @@ -16,15 +16,12 @@ export function SiteFooter() { Home - About Us + About Services - + Contact