Skip to content

Commit

Permalink
feat: SEO metadata strategie (#254)
Browse files Browse the repository at this point in the history
* feat: animation menu, select, create/edit modal

* add new logos

* animate select cubes and modal-solve

* feat: add SEO metadata
  • Loading branch information
bryanlundberg authored Jan 4, 2024
1 parent 9662c80 commit 85fc60f
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 2 deletions.
Binary file added src/app/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 65 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,72 @@ import type { Metadata } from "next";
import PreloadSettings from "@/components/PreloadSettings";

export const metadata: Metadata = {
title: "Nexus Timer | For SpeedCubers",
metadataBase: new URL("https://www.nexustimer.pro"),
title: "Nexus Timer - Professional Rubik's Cube Timer",
applicationName: "Nexus Timer",
description:
"Nexus Timer is a platform for recording and viewing Rubik's cube statistics. It also includes tools to improve Rubik's cube skills.",
"Nexus Timer is a professional platform for training and analyzing your journey with the Rubiks Cube.",
creator: "Bryan Lundberg",
formatDetection: {
telephone: false,
email: false,
address: false,
},
keywords: [
"timer",
"nxtimer",
"nexustimer",
"nexus",
"rubiks cube timer",
"online timer",
"web timer",
"rubiks",
"cube",
"online rubiks cube timer",
"speedcubing",
"cubing",
"cubing timer",
"world cubing association",
"wca",
],
referrer: "origin-when-cross-origin",
generator: "Nextjs",
alternates: {
canonical: "/",
languages: {
"en-US": "/",
"es-ES": "/",
"fr-FR": "/",
"de-DE": "/",
"ja-JP": "/",
"zh-CN": "/",
"ru-RU": "/",
"hi-IN": "/",
"pt-PT": "/",
"it-IT": "/",
"ko-KR": "/",
"nl-NL": "/",
"sv-SE": "/",
"tr-TR": "/",
"pl-PL": "/",
"vi-VN": "/",
"th-TH": "/",
"el-GR": "/",
"fi-FI": "/",
"uk-UA": "/",
"cs-CZ": "/",
"ro-RO": "/",
"no-NO": "/",
"da-DK": "/",
"ms-MY": "/",
"hu-HU": "/",
"id-ID": "/",
"bn-BD": "/",
"sk-SK": "/",
"fil-PH": "/",
"et-EE": "/",
},
},
};

export default function RootLayout({
Expand Down
1 change: 1 addition & 0 deletions src/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Nexus Timer is a professional platform for training and analyzing your journey with the Rubiks Cube.
Binary file added src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { MetadataRoute } from "next";

export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
disallow: "/private/",
},
sitemap: "https://www.nexustimer.pro/sitemap.xml",
};
}
26 changes: 26 additions & 0 deletions src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { MetadataRoute } from "next";

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: "https://www.nexustimer.pro/",
lastModified: new Date(),
priority: 1,
},
{
url: "https://www.nexustimer.pro/solves",
lastModified: new Date(),
priority: 0.8,
},
{
url: "https://www.nexustimer.pro/stats",
lastModified: new Date(),
priority: 0.8,
},
{
url: "https://www.nexustimer.pro/cubes",
lastModified: new Date(),
priority: 0.8,
},
];
}
1 change: 1 addition & 0 deletions src/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Nexus Timer is a professional platform for training and analyzing your journey with the Rubiks Cube.
Binary file added src/app/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85fc60f

Please sign in to comment.