revert to the state before the editorial rework (8669263): restore the terminal layout, phone home screen and pre-rework assets
This undoes 8669263..1880a5b as a single revert commit; the reverted work
remains reachable in history at 1880a5b.
This commit is contained in:
parent
1880a5b0db
commit
b2244da743
24 changed files with 1693 additions and 3108 deletions
|
|
@ -1,36 +1,8 @@
|
|||
import type { Metadata } from "next";
|
||||
import { Newsreader, IBM_Plex_Sans, IBM_Plex_Mono, Nunito } from "next/font/google";
|
||||
// Removed unused google fonts since we use local Custom Mono
|
||||
import "./globals.css";
|
||||
import ThemeScript from "./components/ThemeScript";
|
||||
|
||||
// The web desk pairs a rounded sans (hardware labels, headings) with a printed
|
||||
// serif (anything on paper) and a mono (terminal text + technical labels).
|
||||
const news = Newsreader({
|
||||
variable: "--font-news",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600"],
|
||||
style: ["normal", "italic"],
|
||||
display: "swap",
|
||||
});
|
||||
const plex = IBM_Plex_Sans({
|
||||
variable: "--font-plex",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600"],
|
||||
display: "swap",
|
||||
});
|
||||
const plexMono = IBM_Plex_Mono({
|
||||
variable: "--font-plexmono",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500"],
|
||||
display: "swap",
|
||||
});
|
||||
const round = Nunito({
|
||||
variable: "--font-round",
|
||||
subsets: ["latin"],
|
||||
weight: ["600", "700", "800"],
|
||||
display: "swap",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "dvorakmortonxd.dev",
|
||||
description: "Martin Dvořák's personal website.",
|
||||
|
|
@ -44,7 +16,7 @@ export const metadata: Metadata = {
|
|||
card: "summary_large_image",
|
||||
title: "dvorakmortonxd.dev",
|
||||
description: "Martin Dvořák's personal website.",
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
|
@ -53,18 +25,8 @@ export default function RootLayout({
|
|||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
data-theme="web"
|
||||
suppressHydrationWarning
|
||||
className={`${news.variable} ${plex.variable} ${plexMono.variable} ${round.variable}`}
|
||||
>
|
||||
<html lang="en" data-theme="skeuo" suppressHydrationWarning>
|
||||
<body className="antialiased">
|
||||
<noscript>
|
||||
{/* Scroll-reveal is progressive enhancement: without JS every block
|
||||
must still be visible, since the base `.reveal` style is opacity 0. */}
|
||||
<style>{`.reveal{opacity:1 !important;transform:none !important}`}</style>
|
||||
</noscript>
|
||||
<ThemeScript />
|
||||
{children}
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue