-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
47 lines (46 loc) · 2.06 KB
/
index.php
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
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT'] . '/camagru/includes/session_expiry.php');
if (isset($_SESSION) && isset($_SESSION['userLoggedIn'])) {
header('Location: /camagru/gallery');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include($_SERVER['DOCUMENT_ROOT'] . "/camagru/includes/links.php") ?>
<title>Camagru - Home</title>
<script src="/camagru/assets/js/themeSwitcher.js"></script>
</head>
<body>
<?php include($_SERVER['DOCUMENT_ROOT'] . "/camagru/includes/navbar.php") ?>
<div class="everything">
<div class="back" id="bg">
<?php include_once($_SERVER['DOCUMENT_ROOT'] . '/camagru/includes/footer.php') ?>
</div>
<div class="container">
<div class="jumbotron">
<h1 class="display-4 text-break">Welcome to Camagru !</h1>
<p class="lead text-break">In 1794, Claude Chappe tried to resolve the issue of long-distance communication,
that was limited to horse speed at that time. He set up an ingenious communication
system of air telegraph during the French Revolution. Chappe’s “tours” (towers) were
covered by a mobile mast that could be seen with binoculars from the nearest neighbor
tower located at approximately 10 to 15 km.</p>
<hr class="my-4">
<p>Fortunately, we are in the 21st century.</p>
<a class="btn btn-primary btn-lg botona" href="/camagru/register.php" role="button">Get Started</a>
</div>
</div>
</div>
<div class="loading-container" id="loading" style="display: flex;">
<!-- <div class="spinner-border m-auto" style="color: white;"></div> -->
<svg class="logo-svg" width="142" height="142" viewBox="0 0 142 142" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="141" height="141" rx="25.5" stroke="white"/>
<circle cx="71.0001" cy="71" r="42.5656" stroke="white"/>
<circle cx="70.9999" cy="71" r="33.2541" stroke="white"/>
<circle cx="120.602" cy="19.3398" r="7.06557" stroke="white"/>
<rect x="0.5" y="33.0901" width="8.31148" height="75.8197" rx="4.15574" stroke="white"/>
</svg>
</div>
</body>
</html>