|
19 | 19 | <link rel="android-chrome-icon-precomposed" sizes="512x512" href="/assets/android-chrome-512x512.png" />
|
20 | 20 | <!-- Global site tag (gtag.js) - Google Analytics -->
|
21 | 21 | <script async src="https://www.googletagmanager.com/gtag/js?id=G-SXELHG62RJ"></script>
|
22 |
| - <script> |
23 |
| - window.dataLayer = window.dataLayer || []; |
24 |
| - function gtag() { dataLayer.push(arguments); } |
25 |
| - gtag('js', new Date()); |
26 |
| - gtag('config', 'G-SXELHG62RJ'); |
27 |
| - </script> |
28 |
| - <script language="javascript" src="js/AoE4_Overlay.js"></script> |
29 | 22 | </head>
|
30 | 23 |
|
31 | 24 | <body>
|
| 25 | + <div id="cookies-eu-banner" style="display: none;"> |
| 26 | + By continuing to visit this site, you accept the use of cookies by Google Analytics for statistical purposes. |
| 27 | + <a href="https://www.lenpolygon.com/" id="cookies-eu-more">Read more</a> |
| 28 | + <button id="cookies-eu-reject">Reject</button> |
| 29 | + <button id="cookies-eu-accept">Accept</button> |
| 30 | + </div> |
32 | 31 | <header>
|
33 | 32 | <a class="title gold" href="./">Age of Empires IV<br />Build Order Tool</a>
|
| 33 | + <a href="#" class="desktop-only logged-in modal-trigger" id="account" title="Account" |
| 34 | + data-target="modal-account"><span |
| 35 | + style="font-size: 3.8rem; margin-top: -0.8rem; color: transparent; text-shadow: 0 0 0 #ffdb88;">👤</span><span |
| 36 | + class="gold">Account Details</span></a> |
| 37 | + <a href="#" class="desktop-only logged-out modal-trigger" id="signup" title="Login/Signup" |
| 38 | + data-target="modal-signup"><span |
| 39 | + style="font-size: 3.8rem; margin-top: -0.8rem; color: transparent; text-shadow: 0 0 0 white;">👤</span><span>Login |
| 40 | + or Signup</span></a> |
34 | 41 | <a href="./" title="Browse through popular AoE 4 Build Order Online!"><span
|
35 | 42 | style="font-size: 4.8rem; margin-top: -0.8rem;">👁</span><span>Browse All Builds</span></a>
|
36 | 43 | <a class="desktop-only" href="https://github.com/LENpolygon/Build-Order-Tool-AoE4-"
|
|
58 | 65 | </a>
|
59 | 66 | </header>
|
60 | 67 |
|
| 68 | + <!-- SIGN UP/LOGIN MODAL --> |
| 69 | + <div id="modal-signup" class="modal"> |
| 70 | + <div class="modal-content"> |
| 71 | + <h2 class="title gold">Login</h2><br /> |
| 72 | + <form id="login-form"> |
| 73 | + <div class="input-field"> |
| 74 | + <label>Email address</label> |
| 75 | + <input type="email" id="login-email" required /> |
| 76 | + </div> |
| 77 | + <br /> |
| 78 | + <div class="input-field"> |
| 79 | + <label>Your password</label> |
| 80 | + <input type="password" id="login-password" required /> |
| 81 | + </div> |
| 82 | + <br /> |
| 83 | + <button class="btn yellow darken-2 z-depth-0">Login</button> |
| 84 | + </form> |
| 85 | + <br /> |
| 86 | + <h2 class="title gold">Sign up</h2><br /> |
| 87 | + <form id="signup-form"> |
| 88 | + <div class="input-field"> |
| 89 | + <label>Email address</label> |
| 90 | + <input type="email" id="signup-email" required /> |
| 91 | + </div> |
| 92 | + <br /> |
| 93 | + <div class="input-field"> |
| 94 | + <label>Username</label> |
| 95 | + <input type="text" id="username" required /> |
| 96 | + </div> |
| 97 | + <br /> |
| 98 | + <div class="input-field"> |
| 99 | + <label>Choose password</label> |
| 100 | + <input type="password" id="signup-password" required /> |
| 101 | + </div> |
| 102 | + <br /> |
| 103 | + <button class="btn yellow darken-2 z-depth-0">Sign up</button> |
| 104 | + </form> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + <!-- ACCOUNT MODAL --> |
| 108 | + <div id="modal-account" class="modal"> |
| 109 | + <div class="modal-content center-align"> |
| 110 | + <h2 class="title gold">Account details</h2><br /> |
| 111 | + <br /> |
| 112 | + <div class="account-details"></div> |
| 113 | + <br /> |
| 114 | + <a href="#" class="gold" id="logout">Logout?</a> |
| 115 | + <br /> |
| 116 | + <br /> |
| 117 | + <br /> |
| 118 | + <br /> |
| 119 | + <br /> |
| 120 | + <div id="yourBuilds"></div> |
| 121 | + <br /> |
| 122 | + <br /> |
| 123 | + <br /> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | + |
61 | 127 | <main>
|
62 | 128 | <article>
|
63 | 129 | <section>
|
@@ -133,7 +199,19 @@ <h4 class="desktop-only" style="text-align: right; margin-right: 1rem;">Unique<b
|
133 | 199 | <div id="tooltipBox" class="tooltipBox">
|
134 | 200 | </div>
|
135 | 201 | <script language="javascript" src="js/lz-string.min.js"></script>
|
| 202 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> |
136 | 203 | <script type="module" src="js/build.js"></script>
|
| 204 | + <script language="javascript" src="js/AoE4_Overlay.js"></script> |
| 205 | + <script src="js/eu_cookie_banner.js"></script> |
| 206 | + <script> |
| 207 | + new CookiesEuBanner(function () { |
| 208 | + // Your code to launch when user accept cookies |
| 209 | + window.dataLayer = window.dataLayer || []; |
| 210 | + function gtag() { dataLayer.push(arguments); } |
| 211 | + gtag('js', new Date()); |
| 212 | + gtag('config', 'G-SXELHG62RJ'); |
| 213 | + }); |
| 214 | + </script> |
137 | 215 | </div>
|
138 | 216 | </body>
|
139 | 217 |
|
|
0 commit comments