|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> |
| 4 | +<?php |
| 5 | + include ('../connection.php'); |
| 6 | + include ('../function.php'); |
| 7 | +?> |
4 | 8 | <head> |
5 | 9 | <meta charset="utf-8" /> |
6 | 10 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
7 | 11 |
|
8 | | - <title>Newsletter</title> |
| 12 | + <title>Contact</title> |
9 | 13 | <meta name="HandheldFriendly" content="True" /> |
10 | 14 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
11 | 15 | <link rel="icon" type="image/jpg" href="https://arms-cse3001.42web.io/account/img/logo.ico" /> |
|
14 | 18 | <link rel="preload" href="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e" as="script" /> |
15 | 19 | <link rel="preload" href="../assets/js/vendorb222.js?v=214a6e5c0e" as="script" /> |
16 | 20 | <link rel="preload" href="../assets/js/appb222.js?v=214a6e5c0e" as="script" /> |
17 | | - <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> |
18 | | - <script src="https://arms-cse3001.42web.io/account/js/sweetalert2.all.min.js"> </script> |
19 | | - <script src="https://arms-cse3001.42web.io/account/js/jquery-3.4.1.min.js"></script> |
20 | | - <link rel="stylesheet" href="https://arms-cse3001.42web.io/account/css/sweetalert2.min.css" /> |
21 | | - <script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script> |
22 | 21 | <link rel="preconnect" href="https://polyfill.io/"> |
23 | 22 | <link rel="dns-prefetch" href="https://polyfill.io/"> |
24 | 23 |
|
25 | | - <link rel="preload" href="../assets/css/newsletterb222.css?v=214a6e5c0e" as="style" /> |
26 | | - |
27 | | - |
| 24 | + <link rel="preload" href="../assets/css/postb222.css?v=214a6e5c0e" as="style" /> |
| 25 | + <link rel="preload" href="../assets/js/pageb222.js?v=214a6e5c0e" as="script" /> |
28 | 26 | <style> |
29 | | - /* source-sans-pro-regular */ |
30 | 27 | @font-face { |
31 | 28 | font-family: 'Source Sans Pro'; |
32 | 29 | font-style: normal; |
|
75 | 72 |
|
76 | 73 | <link rel="stylesheet" type="text/css" href="../assets/css/appb222.css?v=214a6e5c0e" media="screen" /> |
77 | 74 |
|
78 | | - <link rel="stylesheet" type="text/css" href="../assets/css/newsletterb222.css?v=214a6e5c0e" media="screen" /> |
| 75 | + <link rel="stylesheet" type="text/css" href="../assets/css/postb222.css?v=214a6e5c0e" media="screen" /> |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
79 | 81 | </head> |
80 | | - <body class="page-template page-newsletter"> |
81 | | - <?php |
82 | | - include('../connection.php'); |
83 | | - include('../function.php'); |
84 | | - if(isset($_POST['submit1'])){ |
85 | | - echo newsletter($con); |
86 | | - } |
87 | | - ?> |
88 | | -<main> |
89 | | - <div class="l-wrapper" data-aos="fade-down"> |
90 | | - <a href="../index.php" class="m-back"> |
91 | | - <span class="m-back__icon icon-arrow-left"></span> |
92 | | - <span>Back to home</span> |
93 | | - </a> |
| 82 | +<body class="page-template page-contact"> |
| 83 | +<header class="m-header js-header"> |
| 84 | + <div class="m-mobile-topbar" data-aos="fade-down"> |
| 85 | + <button class="m-icon-button in-mobile-topbar js-open-menu" aria-label="Open menu"> |
| 86 | + <span class="icon-menu" aria-hidden="true"></span> |
| 87 | + </button> |
| 88 | + <a href="../index.php" class="m-site-name in-mobile-topbar"> |
| 89 | + Athena |
| 90 | + </a> |
| 91 | + <button class="m-icon-button in-mobile-topbar js-open-search" aria-label="Open search"> |
| 92 | + <span class="icon-search" aria-hidden="true"></span> |
| 93 | + </button> |
94 | 94 | </div> |
95 | | - |
96 | | - <div class="l-fullscreen"> |
97 | | - <section class="l-fullscreen__content in-subscribe-page" data-aos="fade-up" data-aos-delay="300"> |
98 | | - <div> |
99 | | - <header class="m-heading in-subscribe-page"> |
100 | | - <h1 class="m-heading__title"> |
101 | | - Subscribe to Athena |
102 | | - </h1> |
103 | | - <p class="m-heading__description in-subscribe-page"> |
104 | | - Stay up to date! Get all the latest & greatest posts delivered straight to your inbox. |
105 | | - </p> |
106 | | - </header> |
107 | | - |
108 | | -<div class="m-subscribe-section__form"> |
109 | | - <form data-members-form="subscribe" method="POST" action=" " id="newsletter-form" class="m-subscribe-section__container"> |
110 | | - <div class="m-subscribe__form"> |
111 | | - <div class="pos-relative"> |
112 | | - <label for="newsletter-input" class="sr-only">Your email address</label> |
113 | | - <input data-members-email id="newsletter-input" name="email" class="m-input in-subscribe-section" type="email" |
114 | | - placeholder="Your email address" required /> |
| 95 | + |
| 96 | + <div class="m-menu js-menu"> |
| 97 | + <button class="m-icon-button outlined as-close-menu js-close-menu" aria-label="Close menu"> |
| 98 | + <span class="icon-close"></span> |
| 99 | + </button> |
| 100 | + <div class="m-menu__main" data-aos="fade-down"> |
| 101 | + <div class="l-wrapper"> |
| 102 | + <div class="m-nav js-main-nav"> |
| 103 | + <nav class="m-nav__left js-main-nav-left" role="navigation" aria-label="Main menu"> |
| 104 | + <ul> |
| 105 | + <li class="only-desktop"> |
| 106 | + <a href="../index.php" class="m-site-name in-desktop-menu"> |
| 107 | + Athena |
| 108 | + </a> |
| 109 | + </li> |
| 110 | + |
| 111 | + <li class="nav-home"> |
| 112 | + <a href="../index.php">Home</a> |
| 113 | + </li> |
| 114 | + <li class="nav-about"> |
| 115 | + <a href="../about/index.php">About</a> |
| 116 | + </li> |
| 117 | + |
| 118 | + <li class="more"> |
| 119 | + <span> |
| 120 | + <a href="javascript:void(0);" class="js-open-secondary-menu"> |
| 121 | + More |
| 122 | + <span class="icon-chevron-down" aria-hidden="true"></span> |
| 123 | + </a> |
| 124 | + </span> |
| 125 | + </li> |
| 126 | + <li class="submenu-option js-submenu-option"> |
| 127 | + <button class="m-icon-button in-menu-main more js-toggle-submenu" aria-label="Open submenu"> |
| 128 | + <span class="icon-more" aria-hidden="true"></span> |
| 129 | + </button> |
| 130 | + <div class="m-submenu js-submenu"> |
| 131 | + <div class="l-wrapper in-submenu"> |
| 132 | + <section class="m-recent-articles"> |
| 133 | + <h3 class="m-submenu-title in-recent-articles">Recent articles</h3> |
| 134 | + <div class="glide js-recent-slider"> |
| 135 | + <div class="glide__track" data-glide-el="track"> |
| 136 | + <div class="glide__slides"> |
| 137 | + <?php |
| 138 | + $temp = getFinalPost($con); |
| 139 | + foreach(array_slice($temp,0,3) as $a){ |
| 140 | + ?> |
| 141 | + <div class="glide__slide"> |
| 142 | + <a href="https://arms-cse3001.42web.io/post.php?post_link=<?=$a['id']?>" class="m-recent-article"> |
| 143 | + <div class="m-recent-article__picture "> |
| 144 | + <img src="<?=$a['header']?>" onerror=this.src='../account/img/default.png' loading="lazy" alt=""> |
| 145 | + </div> |
| 146 | + <h3 class="m-recent-article__title js-recent-article-title" title="<?=$a['title']?>"> |
| 147 | + <?=$a['title']?> |
| 148 | + </h3> |
| 149 | + <span class="m-recent-article__date"><?=TimePost($a['created_at'])?></span> |
| 150 | + </a> |
| 151 | + </div> |
| 152 | + <?php } ?> |
| 153 | + </div> |
| 154 | + </div> |
| 155 | + </div> |
| 156 | + </section> |
| 157 | + <section class="m-tags"> |
| 158 | + <h3 class="m-submenu-title">Tags</h3> |
| 159 | + <ul> |
| 160 | + <?php foreach(getAllCategory($con) as $category){ ?> |
| 161 | + <li> |
| 162 | + <a href="https://arms-cse3001.42web.io/tag/posts.php?category_id=<?=$category['id']?>"><?=$category['name']?></a> |
| 163 | + </li> |
| 164 | + <?php } ?> |
| 165 | + </ul> |
| 166 | + </section> |
| 167 | + </div> |
| 168 | + </div> |
| 169 | + </li> |
| 170 | + </ul> |
| 171 | + </nav> |
| 172 | + <div class="m-nav__right"> |
| 173 | + <button class="m-icon-button in-menu-main js-open-search" aria-label="Open search"> |
| 174 | + <span class="icon-search" aria-hidden="true"></span> |
| 175 | + </button> |
| 176 | + <div class="m-toggle-darkmode js-tooltip" data-tippy-content="Toggle dark mode" tabindex="0"> |
| 177 | + <label for="toggle-darkmode" class="sr-only"> |
| 178 | + Toggle dark mode |
| 179 | + </label> |
| 180 | + <input id="toggle-darkmode" type="checkbox" class="js-toggle-darkmode"> |
| 181 | + <div> |
| 182 | + <span class="icon-moon moon" aria-hidden="true"></span> |
| 183 | + <span class="icon-sunny sun" aria-hidden="true"></span> |
| 184 | + </div> |
| 185 | + </div> |
| 186 | + </div> |
| 187 | + </div> |
115 | 188 | </div> |
116 | | - <button id="newsletter-button" class="m-button primary block" name="submit1" type="submit">Subscribe</button> |
117 | 189 | </div> |
118 | | - </form> |
119 | | -</div> |
120 | | - </div> |
121 | | - </section> |
122 | 190 | </div> |
| 191 | + |
| 192 | + <div id="secondary-navigation-template" style="display: none;"> |
| 193 | + |
| 194 | + <ul class="m-secondary-menu"> |
| 195 | + <li class="nav-data-privacy"> |
| 196 | + <a href="../privacy/index.php">Data & privacy</a> |
| 197 | + </li> |
| 198 | + <li class="nav-contact nav-current"> |
| 199 | + <a href="index.php">Contact</a> |
| 200 | + </li> |
| 201 | + <li class="nav-contact"> |
| 202 | + <a href="../account/login.php">Contribute / Login</a> |
| 203 | + </li> |
| 204 | + </ul> |
| 205 | + |
| 206 | + </div> |
| 207 | +</header> |
| 208 | + |
| 209 | +<main class="main-wrap"> |
| 210 | + |
| 211 | + <section class="m-hero no-picture " data-aos="fade"> |
| 212 | + <div class="m-hero__content" data-aos="fade-down"> |
| 213 | + <h1 class="m-hero-title bigger">Contact</h1> |
| 214 | + </div> |
| 215 | + </section> |
| 216 | + <article> |
| 217 | + <div class="l-content"> |
| 218 | + <div class="l-wrapper in-post" data-aos="fade-up" data-aos-delay="300"> |
| 219 | + <div class="l-post-content"> |
| 220 | + <div class="pos-relative js-post-content"> |
| 221 | + <h3 id="heres-how-to-reach-me">Here's how to reach Us!</h3><ul><li>@<a href="https://twitter.com/">athena-arms </a>on Twitter</li><li>@<a href="https://www.instagram.com/">athena-edu</a> on Instagram</li><li>You can also drop a mail at <a href="mailto:athenahelp@gmail.com">athena.help@gmail.com</a> or <a href="mailto:help.athena@gmail.com">contact.athena@gmail.com</a></li></ul> |
| 222 | + </div> |
| 223 | + </div> |
| 224 | + </div> |
| 225 | + </div> |
| 226 | + </article> |
123 | 227 | </main> |
124 | 228 |
|
| 229 | + |
| 230 | +<footer class="m-footer"> |
| 231 | + <div class="m-footer__content"> |
| 232 | + <nav class="m-footer__nav-secondary" role="navigation" aria-label="Secondary menu in footer"> |
| 233 | + |
| 234 | + <ul class="m-secondary-menu"> |
| 235 | + <li class="nav-data-privacy"> |
| 236 | + <a href="../privacy/index.php">Data & privacy</a> |
| 237 | + </li> |
| 238 | + <li class="nav-contact"> |
| 239 | + <a href="../contact/index.php">Contact</a> |
| 240 | + </li> |
| 241 | + <li class="nav-contact"> |
| 242 | + <a href="../account/login.php">Contribute / Login</a> |
| 243 | + </li> |
| 244 | + </ul> |
125 | 245 |
|
126 | | - <footer class="m-footer"> |
127 | | - <div class="m-footer__content"> |
128 | | - <nav |
129 | | - class="m-footer__nav-secondary" |
130 | | - role="navigation" |
131 | | - aria-label="Secondary menu in footer" |
132 | | - > |
133 | | - <ul class="m-secondary-menu"> |
134 | | - <li class="nav-data-privacy"> |
135 | | - <a href="privacy/index.php">Data & privacy</a> |
136 | | - </li> |
137 | | - <li class="nav-contact"> |
138 | | - <a href="contact/index.php">Contact</a> |
139 | | - </li> |
140 | | - </ul> |
141 | | - </nav> |
142 | | - <nav class="m-footer-social"> |
143 | | - <a |
144 | | - href="https://twitter.com/" |
145 | | - target="_blank" |
146 | | - rel="noopener" |
147 | | - aria-label="Twitter" |
148 | | - > |
149 | | - <span class="icon-twitter" aria-hidden="true"></span> |
150 | | - </a> |
151 | | - <a href="https://github.com/" aria-label="GitHub"> |
| 246 | + </nav> |
| 247 | + <nav class="m-footer-social"> |
| 248 | + <a href="https://twitter.com/" target="_blank" rel="noopener" aria-label="Twitter"> |
| 249 | + <span class="icon-twitter" aria-hidden="true"></span> |
| 250 | + </a> |
| 251 | + <a href="https://github.com/" aria-label="GitHub"> |
152 | 252 | <span class="icon-github" aria-hidden="true"></span> |
153 | | - </a> |
154 | | - <a |
155 | | - href="https://www.linkedin.com/" |
156 | | - aria-label="LinkedIn" |
157 | | - > |
158 | | - <span class="icon-linkedin" aria-hidden="true"></span> |
159 | | - </a> |
160 | | - <a |
161 | | - href="https://www.facebook.com/athena.verify/" |
162 | | - aria-label="Facebook" |
163 | | - > |
164 | | - <span class="icon-facebook" aria-hidden="true"></span> |
165 | | - </a> |
166 | | - <a |
167 | | - href="https://www.instagram.com/athena.verify/" |
168 | | - aria-label="Instagram" |
169 | | - > |
170 | | - <span class="icon-instagram" aria-hidden="true"></span> |
171 | | - </a> |
172 | | - </nav> |
173 | | - <p class="m-footer-copyright"> |
174 | | - <span>Athena © 2021</span> |
175 | | - <span> • </span> |
176 | | - </p> |
177 | | - </div> |
178 | | - </footer> |
| 253 | + </a> |
| 254 | + <a href="https://www.facebook.com/" target="_blank" rel="noopener" aria-label="Facebook"> |
| 255 | + <span class="icon-facebook" aria-hidden="true"></span> |
| 256 | + </a> |
| 257 | + <a href="https://www.instagram.com/" target="_blank" rel="noopener" aria-label="Instagram"> |
| 258 | + <span class="icon-instagram" aria-hidden="true"></span> |
| 259 | + </a> |
| 260 | + <a href="https://www.linkedin.com" target="_blank" rel="noopener" aria-label="LinkedIn"> |
| 261 | + <span class="icon-linkedin" aria-hidden="true"></span> |
| 262 | + </a> |
| 263 | + </nav> |
| 264 | + <p class="m-footer-copyright"> |
| 265 | + <span>Athena © 2021</span> |
| 266 | + <span> • </span> |
| 267 | + </p> |
| 268 | + </div> |
| 269 | +</footer> |
| 270 | + |
| 271 | + |
179 | 272 | <script crossorigin="anonymous" src="../../polyfill.io/v3/polyfill.mina50e.js?features=IntersectionObserver%2CPromise%2CArray.prototype.includes%2CString.prototype.endsWith%2CString.prototype.startsWith%2CObject.assign%2CNodeList.prototype.forEach"></script> |
180 | 273 | <script defer src="../assets/js/manifestb222.js?v=214a6e5c0e"></script> |
181 | 274 | <script defer src="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e"></script> |
182 | 275 | <script defer src="../assets/js/vendorb222.js?v=214a6e5c0e"></script> |
183 | 276 | <script defer src="../assets/js/appb222.js?v=214a6e5c0e"></script> |
| 277 | + <script defer src="../assets/js/pageb222.js?v=214a6e5c0e"></script> |
184 | 278 | </body> |
185 | 279 | </html> |
0 commit comments