File tree 2 files changed +30
-34
lines changed 2 files changed +30
-34
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
4
- < meta charset ="UTF-8 ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
- < link rel ="shortcut icon " href ="favicon.ico " />
3
+ < head >
4
+ < meta charset ="UTF-8 " / >
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " / >
6
+ < link rel ="shortcut icon " href ="favicon.ico " />
7
7
8
- <!-- Global site tag (gtag.js) - Google Analytics -->
9
- < script async src ="https://www.googletagmanager.com/gtag/js?id=G-VRZYG51WV2 "> </ script >
10
- < script >
11
- window . dataLayer = window . dataLayer || [ ] ;
12
- function gtag ( ) { dataLayer . push ( arguments ) ; }
13
- gtag ( 'js' , new Date ( ) ) ;
8
+ <!-- Global site tag (gtag.js) - Google Analytics -->
9
+ < script
10
+ async
11
+ src ="https://www.googletagmanager.com/gtag/js?id=G-VRZYG51WV2 "
12
+ > </ script >
13
+ < script >
14
+ window . dataLayer = window . dataLayer || [ ] ;
15
+ function gtag ( ) {
16
+ dataLayer . push ( arguments ) ;
17
+ }
18
+ gtag ( "js" , new Date ( ) ) ;
14
19
15
- gtag ( ' config' , ' G-VRZYG51WV2' ) ;
16
- </ script >
20
+ gtag ( " config" , " G-VRZYG51WV2" ) ;
21
+ </ script >
17
22
18
- < title > Tom Lee</ title >
19
- </ head >
20
- < body >
21
- < script src ="./index.js "> </ script >
22
- </ body >
23
+ < title > </ title >
24
+ </ head >
25
+ < body > </ body >
23
26
</ html >
Original file line number Diff line number Diff line change 1
- import ' @fortawesome/fontawesome-free/css/all.css'
1
+ import " @fortawesome/fontawesome-free/css/all.css" ;
2
2
import "fontsource-roboto-mono" ;
3
- import "./custom.scss"
3
+ import "./custom.scss" ;
4
4
5
- import { h , render } from ' preact'
6
- import Sidebar from ' ./components/Sidebar'
7
- import Home from ' ./components/Home'
8
- import About from ' ./components/About'
9
- import Contact from ' ./components/Contact'
5
+ import { h , render } from " preact" ;
6
+ import Sidebar from " ./components/Sidebar" ;
7
+ import Home from " ./components/Home" ;
8
+ import About from " ./components/About" ;
9
+ import Contact from " ./components/Contact" ;
10
10
11
11
const App = ( ) => {
12
- return (
13
- < div id = "app" >
14
- < Sidebar />
15
- < Home />
16
- < About />
17
- < Contact />
18
- </ div >
19
- )
20
- }
12
+ return < > </ > ;
13
+ } ;
21
14
22
- render ( < App /> , document . body )
15
+ render ( < App /> , document . body ) ;
You can’t perform that action at this time.
0 commit comments