mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-09 12:54:59 -05:00
Compare commits
No commits in common. "24488494ae2304dfa073fbabc73b771a155e8b6e" and "98056a1caf9411315ec5a4b7ae7782ad771333e4" have entirely different histories.
24488494ae
...
98056a1caf
@ -62,9 +62,6 @@ const nextConfig = {
|
|||||||
typescript: {
|
typescript: {
|
||||||
ignoreBuildErrors: true,
|
ignoreBuildErrors: true,
|
||||||
},
|
},
|
||||||
experimental: {
|
|
||||||
missingSuspenseWithCSRBailout: false,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default withContentlayer(nextConfig);
|
export default withContentlayer(nextConfig);
|
||||||
|
|||||||
0
apps/www/src/app/(main)/home/actions.tsx
Normal file
0
apps/www/src/app/(main)/home/actions.tsx
Normal file
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
import HomePageComponent from "@/components/feat/home-page/home-page";
|
import HomePageComponent from "@/components/feat/home-page/home-page";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
applicationName: "MHSF",
|
applicationName: "MHSF",
|
||||||
@ -42,9 +41,7 @@ export const metadata: Metadata = {
|
|||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
return (
|
return (
|
||||||
<div className="overflow-x-hidden">
|
<div className="overflow-x-hidden">
|
||||||
<Suspense>
|
|
||||||
<HomePageComponent />
|
<HomePageComponent />
|
||||||
</Suspense>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import { ServerProvider } from "@/components/feat/server-page/server-provider";
|
|||||||
import type { ServerResponse } from "@/lib/types/mh-server";
|
import type { ServerResponse } from "@/lib/types/mh-server";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { notFound } from "next/navigation";
|
import { notFound } from "next/navigation";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export async function generateMetadata({
|
export async function generateMetadata({
|
||||||
params,
|
params,
|
||||||
@ -26,7 +25,7 @@ export async function generateMetadata({
|
|||||||
// Generate the absolute URL for the OG image
|
// Generate the absolute URL for the OG image
|
||||||
const ogImageUrl = new URL(
|
const ogImageUrl = new URL(
|
||||||
`/api/og/server/${id}`,
|
`/api/og/server/${id}`,
|
||||||
process.env.NEXT_PUBLIC_APP_URL || "https://mhsf.app",
|
process.env.NEXT_PUBLIC_APP_URL || "https://mhsf.app"
|
||||||
).toString();
|
).toString();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@ -70,9 +69,7 @@ export default async function ServerPage({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<Suspense>
|
|
||||||
<ServerProvider serverId={slug} />
|
<ServerProvider serverId={slug} />
|
||||||
</Suspense>
|
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
import { ServerList } from "@/components/feat/server-list/server-list";
|
import { ServerList } from "@/components/feat/server-list/server-list";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
applicationName: "MHSF",
|
applicationName: "MHSF",
|
||||||
@ -41,9 +40,7 @@ export const metadata: Metadata = {
|
|||||||
export default function ServerListPage() {
|
export default function ServerListPage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Suspense>
|
|
||||||
<ServerList />
|
<ServerList />
|
||||||
</Suspense>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
import { Settings } from "@/components/feat/settings/settings";
|
import { Settings } from "@/components/feat/settings/settings";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
applicationName: "MHSF",
|
applicationName: "MHSF",
|
||||||
@ -41,10 +40,7 @@ export const metadata: Metadata = {
|
|||||||
export default function ServerListPage() {
|
export default function ServerListPage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Suspense
|
|
||||||
>
|
|
||||||
<Settings />
|
<Settings />
|
||||||
</Suspense>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
import { Support } from "@/components/feat/support/support";
|
import { Support } from "@/components/feat/support/support";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Suspense } from "react";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
applicationName: "MHSF",
|
applicationName: "MHSF",
|
||||||
@ -10,9 +9,7 @@ export const metadata: Metadata = {
|
|||||||
export default function SupportPage() {
|
export default function SupportPage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Suspense>
|
|
||||||
<Support />
|
<Support />
|
||||||
</Suspense>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user