-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade next.js and related packages * move components, page and styles into src directory * move files to app router * add meta data + add about image * Remove commented out code * upgrade cypress * downgrade to cypress@13.5.1 * change component ubuntu version * Cypress cli error (#6) * remove start and wait-on for component tests * downgrade next to @13.5.6 * remove viewport * Reset GitHub Actions configuration and add theme color
- Loading branch information
Showing
43 changed files
with
1,272 additions
and
852 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} | ||
"extends": [ | ||
"next", | ||
"next/core-web-vitals" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Analytics } from "@vercel/analytics/react"; | ||
|
||
import { Navbar } from "@/components/navbar"; | ||
import { Footer } from "@/components/footer"; | ||
|
||
import "@/app/globals.css"; | ||
|
||
import { type Metadata } from "next"; | ||
import { Providers } from "@/app/providers"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Niklas Fischer", | ||
description: "The portfolio of Niklas Fischer", | ||
viewport: "width=device-width, initial-scale=1, minimum-scale=1", | ||
themeColor: "#4f46e5", | ||
}; | ||
|
||
// Use this for next@14 | ||
// export const viewport: Viewport = { | ||
// width: "device-width", | ||
// initialScale: 1, | ||
// minimumScale: 1, | ||
// themeColor: "#4f46e5", | ||
// }; | ||
|
||
export default function RootLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html lang='en' suppressHydrationWarning> | ||
<body> | ||
<Providers> | ||
<Navbar /> | ||
{children} | ||
<Footer /> | ||
</Providers> | ||
<Analytics /> | ||
</body> | ||
</html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"use client"; | ||
|
||
import { MotionConfig } from "framer-motion"; | ||
import { ThemeProvider } from "next-themes"; | ||
|
||
export function Providers({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<ThemeProvider enableSystem={true} attribute='class'> | ||
<MotionConfig reducedMotion='user'>{children}</MotionConfig> | ||
</ThemeProvider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.
ebf42de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
portfolio – ./
rllyyy-portfolio.vercel.app
portfolio-git-main-rllyyy.vercel.app
www.niklasfischer.dev
portfolio-rllyyy.vercel.app
niklasfischer.dev