Skip to content

Commit

Permalink
fix: nextjs 14, wordbreak in kronii map and remove old components
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldElysium committed Mar 13, 2024
1 parent 30d7715 commit a5e6261
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 309 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"i18next-resources-to-backend": "^1.2.0",
"immer": "^10.0.3",
"lodash": "4.17.21",
"next": "13.5.6",
"next-themes": "0.2.1",
"next": "14.1.3",
"next-themes": "0.3.0",
"penner": "^0.1.3",
"phaser": "3.55.2",
"phaser3-nineslice": "0.5.0",
Expand All @@ -66,7 +66,6 @@
"server-only": "^0.0.1",
"slate": "0.102.0",
"styled-components": "6.1.8",
"swr": "2.2.4",
"webfontloader": "1.6.28",
"zustand": "^4.5.0"
},
Expand Down
111 changes: 48 additions & 63 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions src/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@/styles/globals.css';
import type { Metadata } from 'next';
import type { Metadata, Viewport } from 'next';
import { dir } from 'i18next';
import LocaleContextProvider from '@/components/contexts/LocaleContextProvider';
import useTranslation from '@/lib/i18n/server';
Expand Down Expand Up @@ -59,7 +59,6 @@ export async function generateMetadata({ params: { lang } }: IProps): Promise<Me
},
},
keywords: ['hololive en', 'hef', 'hololive fan', 'hololive en fan', 'hololive'],
themeColor: '#FF3D3D',
openGraph: {
title,
description,
Expand All @@ -81,3 +80,7 @@ export async function generateMetadata({ params: { lang } }: IProps): Promise<Me
},
};
}

export const viewport: Viewport = {
themeColor: '#FF3D3D',
};
66 changes: 0 additions & 66 deletions src/components/ui/old/Navbar.tsx

This file was deleted.

Loading

0 comments on commit a5e6261

Please sign in to comment.