diff --git a/components/themes/default/css/header.module.css b/components/themes/default/css/header.module.css index e69de29b..4bd5eead 100644 --- a/components/themes/default/css/header.module.css +++ b/components/themes/default/css/header.module.css @@ -0,0 +1,5 @@ +.forkMe{ + position: fixed; + right: 8%; + z-index: 99; +} \ No newline at end of file diff --git a/components/themes/default/css/layout.module.css b/components/themes/default/css/layout.module.css index 6547efbf..e3feb14d 100644 --- a/components/themes/default/css/layout.module.css +++ b/components/themes/default/css/layout.module.css @@ -1,5 +1,9 @@ .main { padding-top: 10px; + word-break: break-all; +} +.main p{ + word-break: break-all; } .sKeywordInfo { diff --git a/components/themes/default/defaultHeader.tsx b/components/themes/default/defaultHeader.tsx index 1aa6efdb..23fda2f9 100644 --- a/components/themes/default/defaultHeader.tsx +++ b/components/themes/default/defaultHeader.tsx @@ -1,6 +1,8 @@ import Head from "next/head"; import DefaultNavbar from "./defaultNavbar"; import SiteConfig from "../../../lib/common/siteconfig"; +import Image from "next/image"; +import headerStyles from "./css/header.module.css" export default function DefaultHeader({props,keyword}: { props: SiteConfig,keyword?:string }) { return ( @@ -11,6 +13,14 @@ export default function DefaultHeader({props,keyword}: { props: SiteConfig,keywo
+
+ + Fork me on GitHub + +
diff --git a/next.config.js b/next.config.js index ae887958..45946452 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,9 @@ const nextConfig = { reactStrictMode: true, swcMinify: true, + images: { + domains: ['github.blog'], + }, } module.exports = nextConfig