-
Notifications
You must be signed in to change notification settings - Fork 2
/
layout.tsx
47 lines (44 loc) · 1.21 KB
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import Link from 'next/link'
import './globals.css'
import { Inter } from 'next/font/google'
import { LogoHelmet } from '~/icons'
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
title: 'Pong',
description: '',
manifest: '/site.webmanifest',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
{children}
<footer className="w-full pt-4 pb-6 text-center text-sm text-slate-600">
<div className="inline-flex items-center">
<Link
className="font-bold mr-2 underline text-black/90"
href={'https://github.com/withyellow/pong'}
>
{'"Pong"'}
</Link>
is an open source project by
<Link
className="ml-2 font-bold text-black/90 inline-flex items-center space-x-1"
href={
'https://zolplay.com/?utm_source=pong&utm_medium=footer&utm_campaign=pong'
}
>
<LogoHelmet />
<span>Zolplay</span>
</Link>
.
</div>
</footer>
</body>
</html>
)
}