feat: move public to public/assets
@@ -69,5 +69,9 @@ module.exports = withBundleAnalyzer(
|
||||
ENV_OPENSEA_API_KEY: process.env.OPENSEA_API_KEY,
|
||||
ENV_POAP_API_KEY: process.env.POAP_API_KEY,
|
||||
},
|
||||
|
||||
pwa: {
|
||||
publicExcludes: ["*"],
|
||||
},
|
||||
}),
|
||||
)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><svg id="b" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 407.7 407.7"><g id="c"><circle cx="203.85" cy="203.85" r="203.85" fill="none"/><g><path d="M243.74,326.62c0,12.25-17.86,22.18-39.89,22.18s-39.89-9.93-39.89-22.18h79.79Z" fill="#e7b75b"/><g><path d="M172.2,178.08l-64.81,12.31c0-67.42,39.67-122.08,88.61-122.08l-.4,88.66-23.39,21.1Z" fill="#e7b75b"/><path d="M192.33,222.94l-3.49,36.72-4.74,49.91c-.39,.06-.79,.1-1.19,.14-15.91,1.66-38.23-3.4-60.51-14.89-26.95-13.91-46.29-33.32-50.93-49.22,5.9-.3,12.69-2.34,19.23-6.12,8.08-4.67,14.06-10.98,16.85-17.08,.42-.89,.76-1.77,1.03-2.65,.72-2.33,.94-4.58,.58-6.65l63.04-10.39,20.13,20.23Z" fill="#e7b75b"/><path d="M235.5,178.08l64.81,12.31c0-67.42-39.67-122.08-88.61-122.08l.4,88.66,23.39,21.1Z" fill="#e7b75b"/><path d="M215.37,222.94l3.49,36.72,4.74,49.91c.39,.06,.79,.1,1.19,.14,15.91,1.66,38.23-3.4,60.51-14.89,26.95-13.91,46.29-33.32,50.93-49.22-5.9-.3-12.69-2.34-19.23-6.12-8.08-4.67-14.06-10.98-16.85-17.08-.42-.89-.76-1.77-1.03-2.65-.72-2.33-.94-4.58-.58-6.65l-63.04-10.39-20.13,20.23Z" fill="#e7b75b"/></g></g></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 721 B |
|
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 285 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
@@ -45,7 +45,7 @@ export const SEOHead: React.FC<{
|
||||
title={`Notifications on ${siteName}`}
|
||||
type="application/feed+json"
|
||||
></link>
|
||||
<link rel="icon" href={icon || `${SITE_URL}/logo.svg`}></link>
|
||||
<link rel="icon" href={icon || `${SITE_URL}/assets/logo.svg`}></link>
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
</Head>
|
||||
)
|
||||
|
||||
@@ -32,7 +32,12 @@ export function MainLayout({
|
||||
<div className="max-w-screen-lg px-5 mx-auto flex justify-between items-center">
|
||||
<div className="text-3xl font-extrabold flex items-center">
|
||||
<div className="inline-block w-9 h-9">
|
||||
<Image alt={APP_NAME} src="/logo.svg" width={100} height={100} />
|
||||
<Image
|
||||
alt={APP_NAME}
|
||||
src="/assets/logo.svg"
|
||||
width={100}
|
||||
height={100}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-x-14 text-zinc-500 flex">
|
||||
|
||||
@@ -24,7 +24,7 @@ export const SiteFooter: React.FC<{
|
||||
>
|
||||
<Image
|
||||
alt={APP_NAME}
|
||||
src={`${SITE_URL}/logo.svg`}
|
||||
src={`${SITE_URL}/assets/logo.svg`}
|
||||
width={20}
|
||||
height={20}
|
||||
/>
|
||||
|
||||
@@ -30,11 +30,10 @@ export default async function middleware(req: NextRequest) {
|
||||
pathname.startsWith("/api/") ||
|
||||
pathname.startsWith("/dashboard") ||
|
||||
pathname.startsWith("/_next/") ||
|
||||
pathname.startsWith("/assets/") ||
|
||||
pathname.match(/^\/(workbox|worker|fallback)-\w+\.js(\.map)?$/) ||
|
||||
pathname === "/sw.js" ||
|
||||
pathname === "/sw.js.map" ||
|
||||
pathname === "/logo.png" ||
|
||||
pathname === "/404.svg"
|
||||
pathname === "/sw.js.map"
|
||||
) {
|
||||
return NextResponse.next()
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function Custom404() {
|
||||
- [Back to Home](/)
|
||||
- [All posts](/archives)
|
||||
|
||||

|
||||

|
||||
`,
|
||||
},
|
||||
} as any
|
||||
|
||||
@@ -16,7 +16,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
||||
description: site.description,
|
||||
icons: [
|
||||
{
|
||||
src: site.avatars?.[0] || "logo.png",
|
||||
src: site.avatars?.[0] || "assets/logo.png",
|
||||
type: "image/png",
|
||||
sizes: "any",
|
||||
},
|
||||
|
||||
@@ -44,7 +44,7 @@ export default function SubdomainIndex() {
|
||||
<DashboardMain>
|
||||
<div className="prose min-w-[270px] max-w-screen-md">
|
||||
<div className="w-14 h-14 mb-8">
|
||||
<Image alt="logo" src="/logo.svg" width={100} height={100} />
|
||||
<Image alt="logo" src="/assets/logo.svg" width={100} height={100} />
|
||||
</div>
|
||||
<p className="text-2xl font-bold">Site Stat</p>
|
||||
<div className="grid gap-4 sm:grid-cols-3 grid-cols-2 mb-8">
|
||||
|
||||
@@ -56,7 +56,7 @@ export default function Home() {
|
||||
const description = [
|
||||
{
|
||||
screenshot: {
|
||||
src: "/screenshot1.png",
|
||||
src: "/assets/screenshot1.png",
|
||||
width: 3947,
|
||||
height: 1888,
|
||||
},
|
||||
@@ -66,7 +66,7 @@ export default function Home() {
|
||||
},
|
||||
{
|
||||
screenshot: {
|
||||
src: "/screenshot4.png",
|
||||
src: "/assets/screenshot4.png",
|
||||
width: 1542,
|
||||
height: 467,
|
||||
},
|
||||
@@ -82,7 +82,7 @@ export default function Home() {
|
||||
},
|
||||
{
|
||||
screenshot: {
|
||||
src: "/screenshot5.png",
|
||||
src: "/assets/screenshot5.png",
|
||||
width: 1712,
|
||||
height: 1866,
|
||||
},
|
||||
@@ -98,7 +98,7 @@ export default function Home() {
|
||||
},
|
||||
{
|
||||
screenshot: {
|
||||
src: "/screenshot2.png",
|
||||
src: "/assets/screenshot2.png",
|
||||
width: 1528,
|
||||
height: 758,
|
||||
},
|
||||
@@ -108,7 +108,7 @@ export default function Home() {
|
||||
},
|
||||
{
|
||||
screenshot: {
|
||||
src: "/screenshot3.png",
|
||||
src: "/assets/screenshot3.png",
|
||||
width: 4394,
|
||||
height: 1854,
|
||||
},
|
||||
@@ -175,7 +175,12 @@ export default function Home() {
|
||||
<div className="max-w-screen-lg px-5 mx-auto">
|
||||
<div className="h-screen w-full flex justify-center flex-col relative">
|
||||
<div className="w-28 h-28 mb-16">
|
||||
<Image alt="logo" src="/logo.svg" width={200} height={200} />
|
||||
<Image
|
||||
alt="logo"
|
||||
src="/assets/logo.svg"
|
||||
width={200}
|
||||
height={200}
|
||||
/>
|
||||
</div>
|
||||
<h2 className="text-3xl sm:text-5xl font-bold mb-5">Blog Free</h2>
|
||||
<h3 className="mt-5 text-zinc-800 text-4xl sm:text-6xl font-light">
|
||||
@@ -331,7 +336,7 @@ export default function Home() {
|
||||
</p>
|
||||
<Image
|
||||
className="rounded-lg"
|
||||
src="/integration1.png"
|
||||
src="/assets/integration1.png"
|
||||
alt="integration1"
|
||||
width="3726"
|
||||
height="1888"
|
||||
@@ -347,7 +352,7 @@ export default function Home() {
|
||||
</p>
|
||||
<Image
|
||||
className="rounded-lg"
|
||||
src="/integration5.png"
|
||||
src="/assets/integration5.png"
|
||||
alt="integration5"
|
||||
width="3730"
|
||||
height="1888"
|
||||
@@ -362,7 +367,7 @@ export default function Home() {
|
||||
</p>
|
||||
<Image
|
||||
className="rounded-lg"
|
||||
src="/integration2.png"
|
||||
src="/assets/integration2.png"
|
||||
alt="integration2"
|
||||
width="1724"
|
||||
height="1172"
|
||||
@@ -378,7 +383,7 @@ export default function Home() {
|
||||
</p>
|
||||
<Image
|
||||
className="rounded-lg"
|
||||
src="/integration3.png"
|
||||
src="/assets/integration3.png"
|
||||
alt="integration3"
|
||||
width="3726"
|
||||
height="1888"
|
||||
@@ -396,7 +401,7 @@ export default function Home() {
|
||||
</p>
|
||||
<Image
|
||||
className="rounded-lg"
|
||||
src="/integration4.png"
|
||||
src="/assets/integration4.png"
|
||||
alt="integration4"
|
||||
width="3726"
|
||||
height="1888"
|
||||
@@ -409,7 +414,12 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="my-20 text-center">
|
||||
<div className="w-20 h-20 mx-auto mb-8">
|
||||
<Image alt="logo" src="/logo.svg" width={100} height={100} />
|
||||
<Image
|
||||
alt="logo"
|
||||
src="/assets/logo.svg"
|
||||
width={100}
|
||||
height={100}
|
||||
/>
|
||||
</div>
|
||||
{isConnected ? (
|
||||
<UniLink
|
||||
|
||||