Skip to content

Commit ce3e49c

Browse files
Merge pull request #59 from Athena-Education/hariketsheth
Added About Page for Athena (#56)
2 parents 06e3caf + 5d74c54 commit ce3e49c

2 files changed

Lines changed: 202 additions & 108 deletions

File tree

about/index.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
<div class="l-content">
213213
<div class="l-wrapper in-post" data-aos="fade-up" data-aos-delay="300">
214214
<div class="l-post-content">
215-
<div class="pos-relative js-post-content">
215+
<div class="pos-relative js-post-content">
216216
<p>Athena aspires to become a strong center for educational excellence capable of responding to emerging educational challenges and needs in a fast changing society. With its core values of fairness, honesty and integrity, Athena will always strive hard to build character, sharpen the intellect and encourage critical thinking among students through modern education retaining traditional values. <br><br>Consistent with its vision, Athena imparts quality education to students in a conducive, enabling, safe environment backed by robust infrastructure. A wide variety of innovative teaching practices are used to empower students with knowledge, methods, skills & techniques, so that they achieve their full potential & become academically sound, professionally competent & socially relevant.</p>
217217
</div>
218218
</div>
@@ -239,19 +239,19 @@
239239

240240
</nav>
241241
<nav class="m-footer-social">
242-
<a href="https://twitter.com/technocratsr" target="_blank" rel="noopener" aria-label="Twitter">
242+
<a href="https://twitter.com/" target="_blank" rel="noopener" aria-label="Twitter">
243243
<span class="icon-twitter" aria-hidden="true"></span>
244244
</a>
245-
<a href="https://github.com/technocrats-robotics" aria-label="GitHub">
245+
<a href="https://github.com/" aria-label="GitHub">
246246
<span class="icon-github" aria-hidden="true"></span>
247247
</a>
248-
<a href="https://www.facebook.com/technocratsrobotics/" target="_blank" rel="noopener" aria-label="Facebook">
248+
<a href="https://www.facebook.com" target="_blank" rel="noopener" aria-label="Facebook">
249249
<span class="icon-facebook" aria-hidden="true"></span>
250250
</a>
251-
<a href="https://www.instagram.com/technocratsrobotics/" target="_blank" rel="noopener" aria-label="Instagram">
251+
<a href="https://www.instagram.com" target="_blank" rel="noopener" aria-label="Instagram">
252252
<span class="icon-instagram" aria-hidden="true"></span>
253253
</a>
254-
<a href="https://www.linkedin.com/company/technocrats-robotics-vit" target="_blank" rel="noopener" aria-label="LinkedIn">
254+
<a href="https://www.linkedin.com/" target="_blank" rel="noopener" aria-label="LinkedIn">
255255
<span class="icon-linkedin" aria-hidden="true"></span>
256256
</a>
257257
</nav>

contact/index.php

Lines changed: 196 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
4+
<?php
5+
include ('../connection.php');
6+
include ('../function.php');
7+
?>
48
<head>
59
<meta charset="utf-8" />
610
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
711

8-
<title>Newsletter</title>
12+
<title>Contact</title>
913
<meta name="HandheldFriendly" content="True" />
1014
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1115
<link rel="icon" type="image/jpg" href="https://arms-cse3001.42web.io/account/img/logo.ico" />
@@ -14,19 +18,12 @@
1418
<link rel="preload" href="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e" as="script" />
1519
<link rel="preload" href="../assets/js/vendorb222.js?v=214a6e5c0e" as="script" />
1620
<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>
2221
<link rel="preconnect" href="https://polyfill.io/">
2322
<link rel="dns-prefetch" href="https://polyfill.io/">
2423

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" />
2826
<style>
29-
/* source-sans-pro-regular */
3027
@font-face {
3128
font-family: 'Source Sans Pro';
3229
font-style: normal;
@@ -75,111 +72,208 @@
7572

7673
<link rel="stylesheet" type="text/css" href="../assets/css/appb222.css?v=214a6e5c0e" media="screen" />
7774

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+
7981
</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>
9494
</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 />
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>
115188
</div>
116-
<button id="newsletter-button" class="m-button primary block" name="submit1" type="submit">Subscribe</button>
117189
</div>
118-
</form>
119-
</div>
120-
</div>
121-
</section>
122190
</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 &amp; 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>
123227
</main>
124228

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 &amp; 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>
125245

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/"
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">
152252
<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 &copy; 2021</span>
175-
<span>&nbsp; &bull; &nbsp;</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 &copy; 2021</span>
266+
<span>&nbsp; &bull; &nbsp;</span>
267+
</p>
268+
</div>
269+
</footer>
270+
271+
179272
<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>
180273
<script defer src="../assets/js/manifestb222.js?v=214a6e5c0e"></script>
181274
<script defer src="../assets/js/vendor/content-api.minb222.js?v=214a6e5c0e"></script>
182275
<script defer src="../assets/js/vendorb222.js?v=214a6e5c0e"></script>
183276
<script defer src="../assets/js/appb222.js?v=214a6e5c0e"></script>
277+
<script defer src="../assets/js/pageb222.js?v=214a6e5c0e"></script>
184278
</body>
185279
</html>

0 commit comments

Comments
 (0)