From 872deaa6547425748b167c7c024d0de224d75688 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Mon, 7 Oct 2024 22:26:56 +0700 Subject: [PATCH 01/12] Refactor component and page structure for responsiveness and add remote image patterns --- next.config.mjs | 17 ++++++++++++++--- src/app/business/apply/page.tsx | 7 +++++++ src/app/page.tsx | 4 ++++ src/components/navigationBar/nav.tsx | 6 +++--- 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 src/app/business/apply/page.tsx diff --git a/next.config.mjs b/next.config.mjs index 4678774..6922688 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,4 +1,15 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; - -export default nextConfig; +const nextConfig = { + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'upload.wikimedia.org', + pathname: '/wikipedia/**', + }, + ], + }, + }; + + export default nextConfig; + \ No newline at end of file diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx new file mode 100644 index 0000000..0ba4cb5 --- /dev/null +++ b/src/app/business/apply/page.tsx @@ -0,0 +1,7 @@ +"use client" + +export default function ApplyPage(){ + return ( +
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index d0faf93..d095188 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -92,6 +92,7 @@ export default function Home() { minInvestment={10000} totalInvestor={58400} totalRaised={9000000} + imageUri={"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Google_%22G%22_logo.svg/768px-Google_%22G%22_logo.svg.png"} />
diff --git a/src/components/navigationBar/nav.tsx b/src/components/navigationBar/nav.tsx index 92f83d1..229532b 100644 --- a/src/components/navigationBar/nav.tsx +++ b/src/components/navigationBar/nav.tsx @@ -146,9 +146,9 @@ export function NavigationBar() { const businessComponents = [ { - title: "Businesses", - href: "/landing", - description: "Raise on B2DVentures", + title: "Business", + href: "/business/apply", + description: "Apply to raise on on B2DVentures", }, ]; From f64ac32b400ed0fe2e0b045742295dbd155940bd Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Tue, 8 Oct 2024 05:18:40 +0700 Subject: [PATCH 02/12] Refactor component and page structure for responsiveness and add remote image patterns --- src/app/business/apply/page.tsx | 28 ++++++++++++++++++++++------ src/app/layout.tsx | 2 +- src/components/siteFooter.tsx | 4 ++-- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index 0ba4cb5..99e70b7 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -1,7 +1,23 @@ -"use client" - -export default function ApplyPage(){ - return ( -
- ); +export default function Apply() { + return ( +
+
+
+

+ Apply to raise on B2DVentures +

+
+

+ All information submitted in this application is for internal use + only and is treated with the utmost{" "} +

+

+ confidentiality. Companies may apply to raise with B2DVentures + more than once. +

+
+
+
+
+ ); } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b257865..5e21f9c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -39,8 +39,8 @@ export default function RootLayout({ children }: RootLayoutProps) {
{children}
+ - diff --git a/src/components/siteFooter.tsx b/src/components/siteFooter.tsx index 257d6ff..4e2b6e2 100644 --- a/src/components/siteFooter.tsx +++ b/src/components/siteFooter.tsx @@ -2,8 +2,8 @@ import Link from "next/link"; export function SiteFooter() { return ( -