Skip to content

Commit 5e8c337

Browse files
committed
dashboard: Add <title> tag
Adds a title to the page using next/head. Signed-off-by: Aurélien Bombo <[email protected]>
1 parent 9b993f0 commit 5e8c337

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pages/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useEffect, useState } from "react";
22
import { DataTable } from "primereact/datatable";
33
import { Column } from "primereact/column";
4+
import { Head } from "next/head";
45
import { weatherTemplate, getWeatherIndex } from "../components/weatherTemplate";
56

67

@@ -156,6 +157,10 @@ export default function Home() {
156157

157158
return (
158159
<div className="text-center">
160+
<Head>
161+
<title>Kata CI Dashboard</title>
162+
</Head>
163+
159164
<h1
160165
className={
161166
"text-4xl mt-4 mb-0 underline text-inherit hover:text-blue-500"

0 commit comments

Comments
 (0)