Skip to content

Commit

Permalink
change umami code
Browse files Browse the repository at this point in the history
  • Loading branch information
maamokun committed Jul 25, 2024
1 parent 007d11f commit 8683184
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 58 deletions.
8 changes: 7 additions & 1 deletion app/[lng]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ export default function Home({ params: { lng } }: Props) {
<div className="relative">
<Card className="mt-20">
<Center className="mt-5">
<Image src={KawaiiLogo.src} alt="MikanDev" width={700} height={500} className="mb-5"/>
<Image
src={KawaiiLogo.src}
alt="MikanDev"
width={700}
height={500}
className="mb-5"
/>
</Center>
<Heading
className="flex justify-center items-center mt-3"
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export default function RootLayout({
<AccButton />
</ClientSessionProvider>
<script
async
defer
src="https://analytics.mikandev.tech/script.js"
data-website-id="8bbb0139-4084-4ba4-ab42-810b1002b0e3"
data-website-id="c20716e6-ae00-4444-a6ae-db49328a75a4"
></script>
</body>
</html>
Expand Down
106 changes: 53 additions & 53 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
{
"name": "mikn.dev",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"format": "biome format --write .",
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@logto/next": "^3.2.6",
"@neodyland/ui": "^0.3.2",
"@types/formidable": "^3.4.5",
"accept-language": "^3.0.18",
"clsx": "^2.1.0",
"dev": "^0.1.3",
"formidable": "^3.5.1",
"framer-motion": "^11.0.28",
"fs": "^0.0.1-security",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-resources-to-backend": "^1.2.1",
"minio": "^8.0.1",
"next": "^14.2.5",
"next-auth": "^4.24.7",
"next-i18next": "^15.2.0",
"react": "^18",
"react-animated-cursor": "^2.11.2",
"react-cookie": "^7.1.4",
"react-cookie-consent": "^9.0.0",
"react-dom": "^18",
"react-i18next": "^14.1.0",
"react-icons": "^5.2.1",
"react-simple-maps": "^3.0.0",
"sharp": "^0.33.3",
"simplex-noise": "^4.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.5.1",
"@flydotio/dockerfile": "^0.5.8",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.19",
"eslint": "^9.0.0",
"eslint-config-next": "14.2.3",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5"
}
"name": "mikn.dev",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"format": "biome format --write .",
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@logto/next": "^3.2.6",
"@neodyland/ui": "^0.3.2",
"@types/formidable": "^3.4.5",
"accept-language": "^3.0.18",
"clsx": "^2.1.0",
"dev": "^0.1.3",
"formidable": "^3.5.1",
"framer-motion": "^11.0.28",
"fs": "^0.0.1-security",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-resources-to-backend": "^1.2.1",
"minio": "^8.0.1",
"next": "^14.2.5",
"next-auth": "^4.24.7",
"next-i18next": "^15.2.0",
"react": "^18",
"react-animated-cursor": "^2.11.2",
"react-cookie": "^7.1.4",
"react-cookie-consent": "^9.0.0",
"react-dom": "^18",
"react-i18next": "^14.1.0",
"react-icons": "^5.2.1",
"react-simple-maps": "^3.0.0",
"sharp": "^0.33.3",
"simplex-noise": "^4.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.5.1",
"@flydotio/dockerfile": "^0.5.8",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.19",
"eslint": "^9.0.0",
"eslint-config-next": "14.2.3",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5"
}
}
1 change: 0 additions & 1 deletion pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const authOptions: AuthOptions = {
{
headers: {
Authorization: `Bearer ${token.accessToken}`,

},
},
);
Expand Down
2 changes: 1 addition & 1 deletion pages/api/pfp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default async function handler(
fileName,
processedImage,
processedImage.length,
{ 'Content-Type': contentType },
{ "Content-Type": contentType },
);

const FQURL = `https://cdn.mdusercontent.com/${fileName}`;
Expand Down

0 comments on commit 8683184

Please sign in to comment.