Refactor component and page structure for responsiveness and add remote image patterns

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2024-10-07 22:26:56 +07:00
parent 0b87f66ce7
commit 872deaa654
4 changed files with 28 additions and 6 deletions

View File

@ -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;

View File

@ -0,0 +1,7 @@
"use client"
export default function ApplyPage(){
return (
<div></div>
);
}

View File

@ -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"}
/>
</Link>
<ExtendableCard
@ -105,6 +106,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"}
/>
<ExtendableCard
name={"Google LLC"}
@ -117,6 +119,7 @@ export default function Home() {
minInvestment={10000}
totalInvestor={5000}
totalRaised={1500000000}
imageUri={"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Google_%22G%22_logo.svg/768px-Google_%22G%22_logo.svg.png"}
/>
<ExtendableCard
name={"Microsoft Corporation"}
@ -127,6 +130,7 @@ export default function Home() {
minInvestment={250}
totalInvestor={5000}
totalRaised={1500000}
imageUri={"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Google_%22G%22_logo.svg/768px-Google_%22G%22_logo.svg.png"}
/>
</div>
<div className="self-center py-5 scale-75 md:scale-100">

View File

@ -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",
},
];