-
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.
chore: add SiteConfig \& complete metadata, add not-found page, robot…
…s.ts and favicon
- Loading branch information
1 parent
b2b1319
commit cad3ce4
Showing
14 changed files
with
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ yarn-error.log* | |
|
||
# local env files | ||
.env*.local | ||
|
||
.env | ||
# vercel | ||
.vercel | ||
|
||
|
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,18 @@ | ||
import Link from 'next/link' | ||
|
||
export default function NotFound() { | ||
return ( | ||
<section className="grid place-content-center h-screen"> | ||
<h1 className="mt-3 text-2xl font-semibold text-gray-800 md:text-3xl"> | ||
404 - Page non trouvée | ||
</h1> | ||
<p className="my-4 text-gray-500">Cette page semble ne pas exister !</p> | ||
<Link | ||
href="/" | ||
className="text-primary underline-offset-4 hover:underline" | ||
> | ||
Vers l'accueil | ||
</Link> | ||
</section> | ||
) | ||
} |
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,13 @@ | ||
import { MetadataRoute } from 'next' | ||
|
||
export default function robots(): MetadataRoute.Robots { | ||
return { | ||
rules: { | ||
userAgent: '*', | ||
allow: '/', | ||
disallow: ['/api/', '/_next/', '/public/'], | ||
}, | ||
sitemap: 'adresse du site/sitemap.xml', | ||
// fichier sitemap.xml à mettre à la racine de votre projet | ||
} | ||
} |
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,23 @@ | ||
type SiteConfig = { | ||
name: string | ||
description: string | ||
url: string | ||
ogImage: string | ||
links: { | ||
twitter: string | ||
github: string | ||
} | ||
} | ||
|
||
const siteConfig: SiteConfig = { | ||
name: 'Nom du projet', | ||
description: 'Description de votre projet', | ||
url: 'adresse_web_du_projet', | ||
ogImage: 'adresse_web_du_projet/og', | ||
links: { | ||
twitter: 'lien de votre compte twitter', | ||
github: 'lien de votre compte github', | ||
}, | ||
} | ||
|
||
export default siteConfig |
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.