Skip to content

Commit

Permalink
fix: remove image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagalidoom committed May 7, 2024
1 parent 1cea67a commit 43492a9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
5 changes: 4 additions & 1 deletion app/connect/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useRouter } from "next/navigation";
import { XMarkIcon } from "@heroicons/react/20/solid";
import Image from "next/image";
import { useAccount, useConnect } from "wagmi";
import Link from "next/link";

export default function Page() {
const account = useAccount();
Expand All @@ -21,7 +22,9 @@ export default function Page() {
<main className="flex h-screen w-screen bg-[#000000b3] backdrop-blur-xl flex-col items-center justify-center">
<div className="w-full lg:w-[590px] h-[550px] bg-[#F0EBDE] p-6 rounded-3xl flex gap-y-4 flex-col justify-start items-center">
<div className="w-full flex justify-end">
<XMarkIcon className="h-8 w-8 text-blue-950" />{" "}
<Link href={"/"}>
<XMarkIcon className="h-8 w-8 text-blue-950" />
</Link>
</div>
<p className="text-2xl lg:text-3xl text-black font-bold mt-8 w-1/2 text-center">Choose your preferred wallet</p>
<div className="w-full flex flex-col divide-slate-700 divide-y mt-8">
Expand Down
5 changes: 3 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
distDir: 'build',
images: { unoptimized: true },
distDir: "build",
};

export default nextConfig;
export default nextConfig;
23 changes: 19 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -18,9 +22,20 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": [
"./*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "scripts/update-deposits.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"scripts/update-deposits.ts",
"build/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 43492a9

Please sign in to comment.