Skip to content

Commit

Permalink
metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
denver-code committed May 10, 2024
1 parent d953bb3 commit b58589b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions src/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Inter } from "next/font/google";
import "./globals.css";
import Script from 'next/script';

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -11,6 +12,11 @@ export const metadata = {
export default function RootLayout({ children }) {
return (
<html lang="en" className="dark">
<Script
async
src="https://umami-azure-one.vercel.app/script.js"
data-website-id="684d1fef-f173-44dc-a1ed-a0159f144315"
/>
<body className={inter.className}>{children}</body>
</html>
);
Expand Down
11 changes: 8 additions & 3 deletions src/app/noticeBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const NoticeBox = () => {
<div className="mb-4">
<h2 className="text-xl font-semibold mb-2">Note</h2>

<h3 className="text-lg font-semibold mb-2 text-gray-700">Credits</h3>
<p className="text-sm text-gray-700">
<h3 className="text-lg font-semibold mb-2">Credits</h3>

All the work is done by Ihor Savenko ( <a href="https://github.com/denver-code" className="text-blue-500 hover:underline">
denver-code
</a> )
Expand All @@ -27,14 +28,18 @@ const NoticeBox = () => {
<br />
Let me know if you have any questions or suggestions.
<br /><br />
<h3 className="text-lg font-semibold mb-2">Sharing</h3>
</p>
<h3 className="text-lg font-semibold mb-2 text-gray-700">Sharing</h3>
<p className="text-sm text-gray-700">
You can share your results with your friends, teachers or simply save it for later by copying the link
from the address bar.
<br /> <br />
We utilize token-based sharing, so you can share your results without any personal
data being shared nor saving any information on the server side. <br />
<br /> <br />
<h3 className="text-lg font-semibold mb-2">Source of data</h3>
</p>
<h3 className="text-lg font-semibold mb-2 text-gray-700">Source of data</h3>
<p className="text-sm text-gray-700">
Data is taken from BTEC Pearson L3 ICT specification that you can find <a href="https://github.com/denver-code/btecpictcalculator/blob/main/specification-pearson-btec-level-3-national-extended-certificate-in-information-technology.pdf" className="text-blue-500 hover:underline">
here
</a>. But if it's changed or some data is incorrect, please let us know via issues on GitHub.
Expand Down

0 comments on commit b58589b

Please sign in to comment.