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