forked from hoangsonww/The-MovieVerse-Database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
microfrontend-layout.html
66 lines (55 loc) · 1.97 KB
/
microfrontend-layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The MovieVerse App - Microfrontend Layout</title>
<!-- Load SystemJS, required for single-spa -->
<script src="https://unpkg.com/systemjs/dist/system.js"></script>
<!-- SystemJS configuration -->
<script src="MovieVerse-Frontend/js/systemjs-importmap.js"></script>
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<script src="index.js"></script>
<meta name="theme-color" content="#7378c5">
<link rel="stylesheet" href="MovieVerse-Frontend/css/style.css"/>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
}
#navbar, #main-content, #footer {
padding: 10px;
text-align: center;
}
</style>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "l7gqnssat8");
</script>
</head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CQKJ67FXZ4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CQKJ67FXZ4');
</script>
<body>
<!-- Navigation bar region -->
<nav id="navbar"></nav>
<!-- Main content region -->
<main id="main-content"></main>
<!-- Footer region -->
<footer id="footer"></footer>
<script>
// Load and start single-spa
System.import('single-spa').then(singleSpa => {
singleSpa.start();
});
</script>
</body>
</html>