Skip to content

Commit f5d4ff8

Browse files
committed
fix
1 parent 8b92daa commit f5d4ff8

File tree

2 files changed

+41
-10
lines changed

2 files changed

+41
-10
lines changed

public/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/images/svg/logo.svg" />
6+
<title>Matteo Marsala :: Software Engineer</title>
7+
8+
<!-- Meta: Configurations -->
9+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
10+
<meta name="format-detection" content="address=no" />
11+
<meta name="color-scheme" content="dark" />
12+
13+
<!-- Meta: SEO -->
14+
<meta name="description" content="A futuristic react portfolio template by Matteo Marsala." />
15+
<meta name="keywords" content="resume, cv, matteo marsala, matteoIT, react, web developer, template" />
16+
<meta name="robots" content="index, follow" />
17+
<meta name="googlebot" content="index, follow" />
18+
<meta name="google" content="notranslate" />
19+
<meta name="author" content="Matteo Marsala" />
20+
<meta name="theme-color" content="#111111" />
21+
22+
<!-- Fonts -->
23+
<link href="https://fonts.googleapis.com/css?family=Saira:400,700" rel="stylesheet" />
24+
<link href="https://fonts.googleapis.com/css?family=Orbitron:400,700" rel="stylesheet" />
25+
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" />
26+
</head>
27+
28+
<body style="background-color: #0f1217">
29+
<div id="root"></div>
30+
</body>
31+
</html>

src/main.jsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ import InputProvider from "./providers/InputProvider.jsx"
1515
import NavigationProvider from "./providers/NavigationProvider.jsx"
1616
import Portfolio from "./components/Portfolio.jsx"
1717

18-
/** Initialization Script... **/
19-
let container = null
20-
document.addEventListener('DOMContentLoaded', function(event) {
21-
if(container)
22-
return
23-
24-
container = document.getElementById('root')
25-
createRoot(document.getElementById('root')).render(<App/>)
26-
})
27-
2818
/**
2919
* This is the main app component. It wraps the content of the app with AppEssentialsWrapper and AppCapabilitiesWrapper.
3020
* @return {JSX.Element}
@@ -40,6 +30,16 @@ const App = () => {
4030
)
4131
}
4232

33+
/** Initialization Script... **/
34+
let container = null
35+
document.addEventListener('DOMContentLoaded', function(event) {
36+
if(container)
37+
return
38+
39+
container = document.getElementById('root')
40+
createRoot(document.getElementById('root')).render(<App/>)
41+
})
42+
4343
/**
4444
* This stack will wrap the entire app - these are considered essential components for the app booting up.
4545
* @param children

0 commit comments

Comments
 (0)