Skip to content

Commit

Permalink
chore(site): move globals.css into shared
Browse files Browse the repository at this point in the history
  • Loading branch information
ourai committed Sep 11, 2024
1 parent a199ffe commit b027087
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .knosys/sites/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"gen": "next export"
"lint": "next lint"
}
}
3 changes: 2 additions & 1 deletion .knosys/sites/default/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import "./globals.css";

import "@/styles/globals.css";

export const metadata: Metadata = {
title: 'OpenBuild Web3 前端训练营',
Expand Down
1 change: 1 addition & 0 deletions .knosys/sites/default/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Image from "next/image";

import poster from './poster.jpg';

export default function Home() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .knosys/sites/default/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/shared/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
Expand Down

0 comments on commit b027087

Please sign in to comment.