Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ import React from 'react';
import './styles.css';

function RootLayout({ children }) {
const date = new Date();
const timestamp = date.toLocaleString();
const utc = date.toUTCString();
return (
<html lang="en">
<html lang='en'>
<body>
{children}

<footer>
<p>
Page rendered on {timestamp} ({utc})
</p>
<p>Copyright Thang Inc.</p>
</footer>
</body>
</html>
);
Expand Down
1 change: 1 addition & 0 deletions src/app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ footer {
width: 100%;
font-size: 0.875rem;
color: hsl(0deg 0% 30%);
color: hotpink;
text-align: center;
padding: 32px 0px;
}