@@ -10,28 +10,25 @@ import Image from 'next/image'
1010
1111
1212
13- // font
14- import { Inter } from "next/font/google" ;
15- const inter = Inter ( {
16- subsets : [ "latin" ] ,
17- display : "swap" ,
18- } ) ;
19- // Google Analystics
20- import { GoogleAnalytics } from '@next/third-parties/google'
21-
22-
23-
2413// icon
2514export const metadata : Metadata = {
2615 icons : {
2716 icon : [
2817 {
29- url : "/logo/OpenDriveLab/D_small .png" ,
30- href : "/logo/OpenDriveLab/D_small .png" ,
18+ url : "/logo/OpenDriveLab/D .png" ,
19+ href : "/logo/OpenDriveLab/D .png" ,
3120 } ,
3221 ] ,
3322 } ,
3423} ;
24+ // font
25+ import { Inter } from "next/font/google" ;
26+ const inter = Inter ( {
27+ subsets : [ "latin" ] ,
28+ display : "swap" ,
29+ } ) ;
30+ // Google Analystics
31+ import { GoogleAnalytics } from '@next/third-parties/google'
3532
3633
3734
@@ -42,10 +39,10 @@ export default function RootLayout({
4239} > ) {
4340 return (
4441 < html lang = "en" className = { inter . className } >
45- < body id = "#" >
4642
4743
48-
44+
45+ < body id = "#" >
4946 < header >
5047
5148
@@ -56,8 +53,8 @@ export default function RootLayout({
5653 < Image
5754 src = "/logo/OpenDriveLab/D.png"
5855 alt = "OpenDriveLab"
59- width = { 20 }
60- height = { 20 }
56+ width = { 24 }
57+ height = { 24 }
6158 className = "group-hover:scale-125 transition delay-100 duration-200"
6259 />
6360 </ Link >
@@ -67,7 +64,7 @@ export default function RootLayout({
6764
6865
6966 < div className = "fixed right-0 bottom-0 m-6 z-20" >
70- < Link href = "#" className = "bg-background text-foreground hover:bg-mred hover:text-background rounded-full flex justify-center items-center p-2 select-none" >
67+ < Link href = "#" className = "bg-background text-foreground hover:bg-o-blue hover:text-background rounded-full flex justify-center items-center p-2 select-none" >
7168 < span >
7269 < svg fill = "none" viewBox = "0 0 24 24" strokeWidth = "1.5" stroke = "currentColor" className = "size-6" >
7370 < path strokeLinecap = "round" strokeLinejoin = "round" d = "m4.5 18.75 7.5-7.5 7.5 7.5" />
@@ -80,15 +77,15 @@ export default function RootLayout({
8077
8178
8279 </ header >
80+ { children }
81+ </ body >
8382
8483
8584
86- { children }
87-
85+ < GoogleAnalytics gaId = "G-L7VEDHS6G8" />
86+
8887
8988
90- </ body >
91- < GoogleAnalytics gaId = "G-L7VEDHS6G8" />
9289 </ html >
9390 ) ;
9491}
0 commit comments