Skip to content

Commit 68f851c

Browse files
committed
opps
1 parent a4a0dad commit 68f851c

File tree

2 files changed

+30
-34
lines changed

2 files changed

+30
-34
lines changed

index.html

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
<!DOCTYPE html>
22
<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" />
77

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());
1419

15-
gtag('config', 'G-VRZYG51WV2');
16-
</script>
20+
gtag("config", "G-VRZYG51WV2");
21+
</script>
1722

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>
2326
</html>

index.js

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
import '@fortawesome/fontawesome-free/css/all.css'
1+
import "@fortawesome/fontawesome-free/css/all.css";
22
import "fontsource-roboto-mono";
3-
import "./custom.scss"
3+
import "./custom.scss";
44

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";
1010

1111
const App = () => {
12-
return (
13-
<div id="app">
14-
<Sidebar />
15-
<Home />
16-
<About />
17-
<Contact />
18-
</div>
19-
)
20-
}
12+
return <></>;
13+
};
2114

22-
render(<App />, document.body)
15+
render(<App />, document.body);

0 commit comments

Comments
 (0)