Skip to content

Commit ee42889

Browse files
committed
Update app metadata and footer branding
Changed the app title and description to 'New Quiz App' with updated metadata. Modified the footer to credit 'New Quiz App by Tai Hong' and improved formatting for lecturer and question count display.
1 parent 02acb4b commit ee42889

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const geistMono = Geist_Mono({
1313
});
1414

1515
export const metadata: Metadata = {
16-
title: "Sistem Kuiz",
17-
description: "Sistem kuiz interaktif dengan pelbagai mod",
16+
title: "New Quiz App",
17+
description: "A new interactive quiz application.",
1818
};
1919

2020
export default function RootLayout({

src/app/page.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ export default function Home() {
9191
<h2 className={`text-xl font-semibold ${style.textColor}`}>
9292
{category.name}
9393
</h2>
94-
<p className="text-gray-600 font-semibold">Lecturer: {category.lecturer}</p>
94+
<p className="text-gray-600 font-semibold">
95+
Lecturer: {category.lecturer}
96+
</p>
9597
</div>
9698
<div className={style.textColor}>
9799
<svg
@@ -127,7 +129,9 @@ export default function Home() {
127129
<span
128130
className={`${style.badgeBgColor} ${style.badgeTextColor} text-xs font-medium py-1 px-2.5 rounded-full`}
129131
>
130-
{quizzes.find(q => q.id === topic.quizId)?.questions.length || 0} Soalan
132+
{quizzes.find((q) => q.id === topic.quizId)?.questions
133+
.length || 0}{" "}
134+
Soalan
131135
</span>
132136
</Link>
133137
))}
@@ -139,7 +143,11 @@ export default function Home() {
139143
</main>
140144

141145
<footer className="mt-12 text-center text-sm text-slate-500">
142-
<p>© {new Date().getFullYear()} Quiz System. All rights reserved.</p>
146+
<p>
147+
© {new Date().getFullYear()} New Quiz App by{" "}
148+
<Link href="https://github.com/xXQiuChenXx/">Tai Hong</Link>. All
149+
rights reserved.
150+
</p>
143151
</footer>
144152
</div>
145153
</div>

0 commit comments

Comments
 (0)