-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(*): Update Next.js from 13 to 14
- Loading branch information
1 parent
ecc9cb3
commit 6752684
Showing
15 changed files
with
163 additions
and
128 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 |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Enable custom domain | ||
run: cp CNAME ./out | ||
|
||
- name: Delpoy 🚀 | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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,17 @@ | ||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const nextConfig = { | ||
output: 'export', | ||
|
||
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` | ||
// trailingSlash: true, | ||
|
||
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` | ||
// skipTrailingSlashRedirect: true, | ||
|
||
// Optional: Change the output directory `out` -> `dist` | ||
distDir: 'out', | ||
} | ||
|
||
module.exports = nextConfig |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"author": "Alex Baumgertner <[email protected]>", | ||
"dependencies": { | ||
"gray-matter": "^4.0.3", | ||
"next": "^13.5.4", | ||
"next": "^14.1.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"remark": "^14.0.3", | ||
|
This file was deleted.
Oops, something went wrong.
20 changes: 7 additions & 13 deletions
20
pages/diagnostics/index.tsx → src/app/diagnostics/page.tsx
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,42 @@ | ||
import { Metadata } from 'next' | ||
|
||
import { | ||
Menu, | ||
Footer, | ||
} from '../components' | ||
|
||
import '@/styles/index.css' | ||
import Head from 'next/head' | ||
|
||
export const metadata: Metadata = { | ||
authors: [{ name: 'Alex Baumgertner' }], | ||
title: 'HHT (Рандю-Ослева-Вебера) болезнь', | ||
description: 'HHT (Рандю-Ослева-Вебера) болезнь', | ||
keywords: 'Болезнь Рандю́ — О́слера (Рандю — Ослера — Ве́бера), синдром Ослера, семейная наследственная телеангиэктазия наследственная геморрагическая телеангиэктазия, геморрагический ангиоматоз', | ||
} | ||
|
||
export default function RootLayout ({ children }) { | ||
return ( | ||
<html lang="ru"> | ||
<Head> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" | ||
rel="stylesheet" /> | ||
</Head> | ||
<body> | ||
<div className="columns"> | ||
<div className="columns__col columns__col_left"> | ||
<Menu /> | ||
</div> | ||
<div className="columns__col columns__col_right"> | ||
<main>{children}</main> | ||
</div> | ||
</div> | ||
|
||
<Footer /> | ||
</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
Oops, something went wrong.