-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e63dd5
commit 77ee0d2
Showing
9 changed files
with
104 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
"use client"; | ||
|
||
import type { Metadata } from "next"; | ||
import { useRouter } from "next/navigation"; | ||
|
||
import { Button } from "@/components/ui/button"; | ||
import { Label } from "@/components/ui/label"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Maintenance", | ||
description: "Under Maintenance", | ||
keywords: ["Maintenance", "Under Maintenance"], | ||
metadataBase: new URL("https://www.diyspire.com/maintenance"), | ||
applicationName: "DIYspire", | ||
robots: { | ||
index: false, | ||
follow: false, | ||
googleBot: { | ||
index: false, | ||
follow: false, | ||
}, | ||
}, | ||
}; | ||
|
||
export default function Page() { | ||
const { refresh } = useRouter(); | ||
|
||
return ( | ||
<div className="flex min-h-screen items-center justify-center py-5 sm:py-10"> | ||
<div className="p-6 text-center"> | ||
<Label className="mb-2 block text-2xl font-bold">Under Maintenance</Label> | ||
<Label className="text-md my-4 block">You can try to refresh the page to see if the issue is resolved.</Label> | ||
<div className="mt-4 flex flex-col space-y-2"> | ||
<Button onClick={refresh} className="w-full border px-4 py-2"> | ||
Refresh | ||
</Button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters