Skip to content

Commit

Permalink
feat: Move to viewport export
Browse files Browse the repository at this point in the history
  • Loading branch information
hauketoenjes committed Nov 1, 2023
1 parent e4110ee commit c440b51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 7 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { config } from "@fortawesome/fontawesome-svg-core";
import "@fortawesome/fontawesome-svg-core/styles.css";
import { Metadata } from "next";
import { Metadata, Viewport } from "next";
import Footer from "../components/footer";
import Header from "../components/header";
import "../styles/globals.css";

config.autoAddCss = false;

export const viewport: Viewport = {
themeColor: "#171717",
colorScheme: "dark",
};

export const metadata: Metadata = {
title: {
default: "Hauke Tönjes",
Expand All @@ -20,8 +25,7 @@ export const metadata: Metadata = {
"Next.js",
"Flutter",
],
themeColor: "#171717",
colorScheme: "dark",

creator: "Hauke Tönjes",
publisher: "Hauke Tönjes",
description:
Expand Down
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
const nextConfig = {
output: "standalone",
swcMinify: true,
experimental: {
appDir: true,
},
};

module.exports = nextConfig;

0 comments on commit c440b51

Please sign in to comment.