Skip to content

Commit f0bc8a6

Browse files
Added Newsletter Section
1 parent e2c9871 commit f0bc8a6

1 file changed

Lines changed: 185 additions & 0 deletions

File tree

newsletter/index.php

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
8+
<title>Newsletter</title>
9+
<meta name="HandheldFriendly" content="True" />
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11+
<link rel="icon" type="image/jpg" href="https://athena-dbms.42web.io/account/img/logo.ico" />
12+
<link rel="preload" href="../assets/css/appb222.css?v=214a6e5c0e" as="style" />
13+
<link rel="preload" href="../assets/js/manifestb222.js?v=214a6e5c0e" as="script" />
14+
<link rel="preload" href="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e" as="script" />
15+
<link rel="preload" href="../assets/js/vendorb222.js?v=214a6e5c0e" as="script" />
16+
<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://athena-dbms.42web.io/account/js/sweetalert2.all.min.js"> </script>
19+
<script src="https://athena-dbms.42web.io/account/js/jquery-3.4.1.min.js"></script>
20+
<link rel="stylesheet" href="https://athena-dbms.42web.io/account/css/sweetalert2.min.css" />
21+
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
22+
<link rel="preconnect" href="https://polyfill.io/">
23+
<link rel="dns-prefetch" href="https://polyfill.io/">
24+
25+
<link rel="preload" href="../assets/css/newsletterb222.css?v=214a6e5c0e" as="style" />
26+
27+
28+
<style>
29+
/* source-sans-pro-regular */
30+
@font-face {
31+
font-family: 'Source Sans Pro';
32+
font-style: normal;
33+
font-weight: 400;
34+
font-display: swap;
35+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
36+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-regularb222.woff2?v=214a6e5c0e") format('woff2'),
37+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-regularb222.woff?v=214a6e5c0e") format('woff');
38+
}
39+
40+
/* source-sans-pro-600 */
41+
@font-face {
42+
font-family: 'Source Sans Pro';
43+
font-style: normal;
44+
font-weight: 600;
45+
font-display: swap;
46+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
47+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-600b222.woff2?v=214a6e5c0e") format('woff2'),
48+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-600b222.woff?v=214a6e5c0e") format('woff');
49+
}
50+
51+
/* source-sans-pro-700 */
52+
@font-face {
53+
font-family: 'Source Sans Pro';
54+
font-style: normal;
55+
font-weight: 700;
56+
font-display: swap;
57+
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
58+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-700b222.woff2?v=214a6e5c0e") format('woff2'),
59+
url("../assets/fonts/source-sans-pro/latin/source-sans-pro-700b222.woff?v=214a6e5c0e") format('woff');
60+
}
61+
62+
/* iconmoon */
63+
@font-face {
64+
font-family: 'icomoon';
65+
font-weight: normal;
66+
font-style: normal;
67+
font-display: swap;
68+
src: url("../assets/fonts/icomoon/icomoon7f84.eot?101fc3?v=214a6e5c0e");
69+
src: url("../assets/fonts/icomoon/icomoon2c17.eot?101fc3#iefix?v=214a6e5c0e") format('embedded-opentype'),
70+
url("../assets/fonts/icomoon/icomoon7f84.ttf?101fc3?v=214a6e5c0e") format('truetype'),
71+
url("../assets/fonts/icomoon/icomoon7f84.woff?101fc3?v=214a6e5c0e") format('woff'),
72+
url("../assets/fonts/icomoon/icomoon2c17.svg?101fc3#icomoon?v=214a6e5c0e") format('svg');
73+
}
74+
</style>
75+
76+
<link rel="stylesheet" type="text/css" href="../assets/css/appb222.css?v=214a6e5c0e" media="screen" />
77+
78+
<link rel="stylesheet" type="text/css" href="../assets/css/newsletterb222.css?v=214a6e5c0e" media="screen" />
79+
</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>
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 &amp; 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 />
115+
</div>
116+
<button id="newsletter-button" class="m-button primary block" name="submit1" type="submit">Subscribe</button>
117+
</div>
118+
</form>
119+
</div>
120+
</div>
121+
</section>
122+
</div>
123+
</main>
124+
125+
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 &amp; 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/technocratsr"
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/technocrats-robotics" aria-label="GitHub">
152+
<span class="icon-github" aria-hidden="true"></span>
153+
</a>
154+
<a
155+
href="https://www.linkedin.com/company/technocrats-robotics-vit"
156+
aria-label="LinkedIn"
157+
>
158+
<span class="icon-linkedin" aria-hidden="true"></span>
159+
</a>
160+
<a
161+
href="https://www.facebook.com/technocratsrobotics/"
162+
aria-label="Facebook"
163+
>
164+
<span class="icon-facebook" aria-hidden="true"></span>
165+
</a>
166+
<a
167+
href="https://www.instagram.com/technocratsrobotics/"
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 &copy; 2021</span>
175+
<span>&nbsp; &bull; &nbsp;</span>
176+
</p>
177+
</div>
178+
</footer>
179+
<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+
<script defer src="../assets/js/manifestb222.js?v=214a6e5c0e"></script>
181+
<script defer src="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e"></script>
182+
<script defer src="../assets/js/vendorb222.js?v=214a6e5c0e"></script>
183+
<script defer src="../assets/js/appb222.js?v=214a6e5c0e"></script>
184+
</body>
185+
</html>

0 commit comments

Comments
 (0)