-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from Cardano-Forge/feat/MET-55-SEO
SEO
- Loading branch information
Showing
57 changed files
with
126 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
- [x] upload zod validator + formater | ||
- [x] Asset view save in url and localstorage | ||
- [ ] image loading view + fallback | ||
- [x] Project Name, save in localstorage as file name (editable ?) | ||
- [-] Stats from data ~> keep state in localstorage | ||
- [x] results state ~> match asset | ||
- [ ] quick action state change | ||
- [x] multi select ~> state change | ||
- [x] reset project clear local storage | ||
- [x] remove view from localstorage | ||
- [ ] | ||
- [ ] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,16 @@ | ||
import Header from "~/components/header"; | ||
import { RxdbProvider } from "~/providers/rxdb.provider"; | ||
import { ActiveProjectProvider } from "~/providers/active-project.provider"; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: Readonly<{ children: React.ReactNode }>) { | ||
return ( | ||
<RxdbProvider> | ||
<ActiveProjectProvider> | ||
<Header /> | ||
{children} | ||
</ActiveProjectProvider> | ||
</RxdbProvider> | ||
); | ||
} |
File renamed without changes.
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,46 @@ | ||
"use client"; | ||
|
||
import React, { useEffect } from "react"; | ||
import Image from "next/image"; | ||
|
||
import Header from "~/components/header"; | ||
import { Typography } from "~/components/typography"; | ||
import { Button } from "~/components/ui/button"; | ||
|
||
export default function Error({ | ||
error, | ||
// eslint-disable-next-line @typescript-eslint/unbound-method | ||
reset, | ||
}: { | ||
error: Error; | ||
reset(): void; | ||
}) { | ||
useEffect(() => { | ||
console.error(error); | ||
}, [error]); | ||
|
||
return ( | ||
<main className="relative min-h-screen"> | ||
<Image | ||
fill | ||
alt="not-found" | ||
src="/404.png" | ||
className="absolute z-0" | ||
style={{ objectFit: "cover", overflow: "hidden" }} | ||
/> | ||
<div className="fixed w-full"> | ||
<Header /> | ||
</div> | ||
<div className="fixed bottom-20 flex w-full flex-col items-center justify-center gap-4"> | ||
<Typography as="code" className="uppercase"> | ||
Something went wrong! | ||
</Typography> | ||
<div className="flex flex-row items-center justify-center"> | ||
<Button size={"sm"} className="w-20" onClick={reset}> | ||
Try Again | ||
</Button> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} |
Binary file not shown.
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,17 @@ | ||
import { type MetadataRoute } from "next"; | ||
|
||
export default function manifest(): MetadataRoute.Manifest { | ||
return { | ||
name: "MetaDraft", | ||
short_name: "MetaDraft", | ||
description: "Metadata validator and tooling", | ||
icons: [ | ||
{ | ||
src: "/favicon.ico", | ||
sizes: "any", | ||
type: "image/x-icon", | ||
}, | ||
], | ||
display: "standalone", | ||
}; | ||
} |
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,44 @@ | ||
"use client"; | ||
|
||
import Image from "next/image"; | ||
import { useRouter } from "next/navigation"; | ||
|
||
import Header from "~/components/header"; | ||
import { Typography } from "~/components/typography"; | ||
import { Button } from "~/components/ui/button"; | ||
|
||
export default function NotFound() { | ||
const router = useRouter(); | ||
return ( | ||
<main className="relative min-h-screen"> | ||
<Image | ||
fill | ||
alt="not-found" | ||
src="/404.png" | ||
className="absolute z-0" | ||
style={{ objectFit: "cover", overflow: "hidden" }} | ||
/> | ||
<div className="fixed w-full"> | ||
<Header /> | ||
</div> | ||
<div className="fixed bottom-20 flex w-full flex-col items-center justify-center gap-4"> | ||
<Typography as="code" className="uppercase"> | ||
404 - Page Not found | ||
</Typography> | ||
<div className="flex flex-row items-center justify-center gap-4"> | ||
<Button | ||
variant={"outline"} | ||
size={"sm"} | ||
className="w-20" | ||
onClick={() => router.back()} | ||
> | ||
Back | ||
</Button> | ||
<Button size={"sm"} className="w-20" onClick={() => router.push("/")}> | ||
Home | ||
</Button> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.