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} */ /** @type {import('next').NextConfig} */
const nextConfig = {}; const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'upload.wikimedia.org',
pathname: '/wikipedia/**',
},
],
},
};
export default nextConfig;
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} minInvestment={10000}
totalInvestor={58400} totalInvestor={58400}
totalRaised={9000000} 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> </Link>
<ExtendableCard <ExtendableCard
@ -105,6 +106,7 @@ export default function Home() {
minInvestment={10000} minInvestment={10000}
totalInvestor={58400} totalInvestor={58400}
totalRaised={9000000} 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 <ExtendableCard
name={"Google LLC"} name={"Google LLC"}
@ -117,6 +119,7 @@ export default function Home() {
minInvestment={10000} minInvestment={10000}
totalInvestor={5000} totalInvestor={5000}
totalRaised={1500000000} 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 <ExtendableCard
name={"Microsoft Corporation"} name={"Microsoft Corporation"}
@ -127,6 +130,7 @@ export default function Home() {
minInvestment={250} minInvestment={250}
totalInvestor={5000} totalInvestor={5000}
totalRaised={1500000} 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>
<div className="self-center py-5 scale-75 md:scale-100"> <div className="self-center py-5 scale-75 md:scale-100">

View File

@ -146,9 +146,9 @@ export function NavigationBar() {
const businessComponents = [ const businessComponents = [
{ {
title: "Businesses", title: "Business",
href: "/landing", href: "/business/apply",
description: "Raise on B2DVentures", description: "Apply to raise on on B2DVentures",
}, },
]; ];