-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
97 lines (80 loc) · 3.76 KB
/
index.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<title> Synco </title>
<link rel="shortcut icon" href="Logo2.0 (2).PNG">
<!--Meta Info-->
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Synco is the ideal website for aspiring authors trying to get their ideas out there, and anyone else who enjoys a good short story!">
<meta name="keywords" content="Short Stories,author,fan-fiction,fan fiction,books,stories,github,synco,free">
<!--Website CSS-->
<link rel="stylesheet" href="style.css">
<!--Font Awesome Icons-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!--Prealge Icons CSS (simple library created by an owner of synco)-->
<link rel="stylesheet" type="text/css" href="https://prealge.github.io/prealge-icons/style.css">
</head>
<body>
<div class="navbar-fixed">
<div class="navbar">
<div style="position: relative; height: 100%; display: inline-block;">
<a href="/" class="logo"> Synco </a>
</div>
<input id="nav-search" placeholder="Search" onchange="searchbarSearch()" style="display: none;">
<p id="navbar-username" style="float:right"></p>
</div>
</div>
<br><br><br>
<center>
<div id="main-page" class="page">
<div id="story-cards">
</div>
</div>
</center>
<div id="story-page" class="page">
</div>
<div align="center" id="story-404-page" class="page">
<h1><b>404</b></h1>
<h6>There does not seem to be a page here...</h6>
</div>
<div align="center" id="login-page" class="page">
<i class="fas fa-user-tag"></i>
<input id="signin-uname" class="inp-primary" placeholder="Username">
<br>
<i class="fas fa-lock"></i>
<input id="signin-password" class="inp-primary" type="password" placeholder="Password">
<br>
<button onclick="signin()" class="btn-primary" style='background-color: tomato;'>
<span> Sign In </span>
</button>
</div>
<div align="center" id="signup-page" class="page">
<i class="fas fa-user-tag"></i>
<input id="new-account-uname" class="inp-primary" placeholder="Username">
<br>
<i class="fas fa-lock"></i>
<input id="new-account-pword" class="inp-primary" type="password" placeholder="Password">
<br>
<p>By signing up to Synco, you agree to our <a href="https://synco.tk/TermsAndConditions.txt">TERMS AND CONDITIONS</a>.</p>
<button onclick="signup()" class="btn-primary" style='background-color: tomato;'>
<span> Sign Up </span>
</button>
</div>
<div id="edit-page" class="page">
<input id="story-title-input" class="inp-primary" style="font-size: 30px;" placeholder="Untitled Story">
<br>
<div id="story-text-area" contenteditable></div>
<br>
<div id="tags"></div><input class="inp-primary" id="tags-input" placeholder="Add Tags (seperate with commas)">
<br>
<button class='btn-primary round-hover' id='save-story-btn' onclick='createNewStory()' style='right: 5px; background-color: Tomato;'><i class="fas fa-save"></i></button>
</div>
<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase-auth.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.0.4/fuse.min.js"></script>
<script src="db.js"></script>
<script src="main.js"></script>
<script src="style.js"></script>
</body>
</html>