Skip to content

Commit f031ce1

Browse files
feat: metadata-related improvements
1 parent 8fff113 commit f031ce1

File tree

4 files changed

+84
-6
lines changed

4 files changed

+84
-6
lines changed

app/layout.tsx

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,89 @@ import Cookie from "@azure-fundamentals/components/Cookie";
77
import "styles/globals.css";
88

99
export const metadata: Metadata = {
10-
metadataBase: new URL("http://localhost:3000"),
11-
title: "🧪 Practice Exams Platform | Ditectrev",
10+
appleWebApp: {
11+
capable: true,
12+
title: "🧪 Practice Exams Platform | Ditectrev",
13+
statusBarStyle: "black",
14+
},
15+
applicationName: "🧪 Practice Exams Platform | Ditectrev",
16+
authors: [
17+
{ name: "Daniel Danielecki", url: "https://github.com/danieldanielecki" },
18+
{
19+
name: "Eduard-Constantin Ibinceanu",
20+
url: "https://github.com/eduardconstantin",
21+
},
22+
],
23+
creator: "Eduard-Constantin Ibinceanu",
24+
description:
25+
"🎓 Practice Exams (Web) Platform developed by Ditectrev's Community.",
26+
formatDetection: { telephone: true },
27+
icons: [
28+
{
29+
rel: "apple-touch-icon",
30+
type: "image/x-icon",
31+
url: "/favicon.ico",
32+
},
33+
{
34+
rel: "icon",
35+
type: "image/x-icon",
36+
url: "/favicon.ico",
37+
},
38+
],
39+
keywords: [
40+
"AWS Exams",
41+
"Azure Exams",
42+
"Exams Simulator",
43+
"GCP Exams",
44+
"ITIL4 Exams",
45+
"Practice Exams Platform",
46+
"Practice Tests Platform",
47+
"Scrum Exams",
48+
],
49+
manifest: "/manifest.json",
50+
metadataBase: new URL("/"),
1251
openGraph: {
52+
description:
53+
"🎓 Practice Exams (Web) Platform developed by Ditectrev's Community.",
54+
images: [
55+
{
56+
alt: "Ditectrev Logo",
57+
url: "/logo.svg",
58+
},
59+
],
60+
siteName: "🧪 Practice Exams Platform | Ditectrev",
1361
title: "🧪 Practice Exams Platform | Ditectrev",
62+
type: "website",
63+
url: "https://education.ditectrev.com",
64+
},
65+
publisher: "Ditectrev",
66+
referrer: "strict-origin-when-cross-origin",
67+
robots: {
68+
follow: true,
69+
index: true,
70+
},
71+
themeColor: "#3f51b5",
72+
title: {
73+
default: "Dashboard",
74+
template: "🧪 Practice Exams Platform - %s | Ditectrev",
75+
},
76+
twitter: {
77+
card: "summary_large_image",
78+
creator: "@ditectrev",
79+
description:
80+
"🎓 Practice Exams (Web) Platform developed by Ditectrev's Community.",
81+
images: [
82+
{
83+
alt: "Ditectrev Logo",
84+
url: "/logo.svg",
85+
},
86+
],
87+
site: "@ditectrev",
88+
title: "🧪 Practice Exams Platform | Ditectrev",
89+
},
90+
viewport: {
91+
initialScale: 1,
92+
width: "device-width",
1493
},
1594
};
1695

@@ -21,7 +100,6 @@ type RootLayoutProps = {
21100
export default function RootLayout({ children }: RootLayoutProps) {
22101
return (
23102
<html lang="en">
24-
<link rel="manifest" href="/manifest.json" />
25103
<body className="bg-slate-900">
26104
<ApolloProvider>
27105
<TopNav />

components/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const TopNav = () => {
3939
height={50}
4040
width={200}
4141
/>
42-
<p className={`windowWidth < 640 ? "text-lg" : "text-md"`}>
42+
<p className={`windowWidth < 640 ? "text-lg" : "text-sm"`}>
4343
🧪 Practice Exams Platform
4444
</p>
4545
</div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Practice-Exams-Platform",
2+
"name": "Practice Exams Platform",
33
"version": "1.1.0",
44
"private": true,
55
"engines": {

public/sw.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)