-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
190 lines (181 loc) · 7.83 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" initial-scale=1.0">
<title>CacheTag</title>
<!-- Materialize Link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Google Fonts Link -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
<!-- My style sheet -->
<link rel="stylesheet" href="/public/css/style.css">
</head>
<body>
<!-- Nav Bar -->
<nav>
<div class="nav-wrapper custom_nav">
<a href="#" class="brand-logo">Logo</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="">Profile</a></li>
<li><a href="">Add A Niche</a></li>
<li><a href="">Add A Hashtag</a></li>
<li><a href="">Login</a></li>
<li><a href="">Logout</a></li>
</ul>
</div>
</nav>
<!-- Login Page -->
<section>
<div class="container custom_container">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<input id="email" type="email" placeholder="Enter Your Email Address" class="validate">
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="user_password" type="password" placeholder="Enter Your Password" class="validate">
</div>
</div>
<button class="btn-large custom_btn login_btn">Login</button>
<p>Don't have an account?</p>
<button class="btn custom_btn">Sign Up Here!</button>
</form>
</div>
</section>
<!-- Trending Page -->
<section class="container custom_container">
<h1 class="page_header">What's Hot!</h1>
<!-- This will display the top 10 trending hashtags -->
<div class="flex_row sub_container">
<p>#MostPopularHashtag</p>
<button class="btn save_btn dropdown-trigger" data-target='dropdown1'><i class="material-icons save_icon">save</i></button>
<!-- When User clicks on the save icon, then it shows a dropdown list of the user's saved niches -->
<ul id='dropdown1' class='dropdown-content'>
<li><a href="#!">Option 1</a></li>
<li><a href="#!">Option 2</a></li>
</ul>
</div>
</section>
<!-- Add a Niche Page -->
<section class="container custom_container">
<h1 class="page_header">Add A Niche</h1>
<form class="col s12">
<div class="row">
<div class="input-field col s12 flex_row">
<textarea placeholder=" Type Your Niche Here" class="materialize-textarea"></textarea>
<button class="btn save_btn dropdown-trigger" data-target='dropdown1'><i class="material-icons save_icon">save</i></button>
<!-- When User clicks on the save icon, then it shows a dropdown list of the user's saved niches -->
<ul id='dropdown1' class='dropdown-content'>
<li><a href="#!">Option 1</a></li>
<li><a href="#!">Option 2</a></li>
</ul>
</div>
</div>
<div class="sub_container">
<p class="center">Your Saved Niches:</p>
<div class="flex_row">
<p>Niche Name</p>
<button class="btn save_btn"><i class="material-icons">delete</i></button>
</div>
</div>
</form>
<!-- This will display the user's niches -->
</section>
<!-- Add a Hashtag Page -->
<section class="container custom_container">
<h1 class="page_header">Add A Hashtag</h1>
<form class="col s12">
<div class="row">
<div class="input-field col s12 flex_row">
<textarea placeholder="Search for a Hashtag" class="materialize-textarea"></textarea>
<button class="btn save_btn"><i class="material-icons save_icon">search</i></button>
</div>
</div>
<div class="sub_container flex">
<p>#hashtags</p>
<button class="btn save_btn dropdown-trigger" data-target='dropdown1'><i class="material-icons save_icon">save</i></button>
<!-- When User clicks on the save icon, then it shows a dropdown list of the user's saved niches -->
<ul id='dropdown1' class='dropdown-content'>
<li><a href="#!">Option 1</a></li>
<li><a href="#!">Option 2</a></li>
</ul>
</div>
</form>
<!-- This will display the hashtag search results from the API call -->
</section>
<!-- User Profile Page -->
<section class="container custom_container">
<h1 class="page_header">Username</h1>
<!-- Each Niche that the user has saved will be displayed here. When User clicks on a niche button it will show them the hashtags that are related to that niche -->
<div class="flex overflow">
<button class="niche_btn">Niche 1</button>
<button class="niche_btn">Niche 2</button>
<button class="niche_btn">Niche 3</button>
<button class="niche_btn">Niche 4</button>
<button class="niche_btn">Niche 5</button>
<button class="niche_btn">Niche 6</button>
</div>
</section>
<!-- Saved Hashtags in Niche Page -->
<section class="container custom_container">
<h1 class="page_header">Niche Name</h1>
<!-- The hashtags below are what the user has saved to that niche -->
<div class="flex overflow">
<button class="niche_btn">#hashtag1</button>
<button class="niche_btn">#hashtag2</button>
<button class="niche_btn">#hashtag3</button>
<button class="niche_btn">#hashtag4</button>
</div>
<!-- IDEA: Add a floating action button from materialize next to each button so that user can copy or see data of that hashtag -->
<!-- <div class="fixed-action-btn">
<a class="btn-floating btn-large red">
<i class="large material-icons">mode_edit</i>
</a>
<ul>
<li><a class="btn-floating red"><i class="material-icons">insert_chart</i></a></li>
<li><a class="btn-floating yellow darken-1"><i class="material-icons">format_quote</i></a></li>
<li><a class="btn-floating green"><i class="material-icons">publish</i></a></li>
<li><a class="btn-floating blue"><i class="material-icons">attach_file</i></a></li>
</ul>
</div> -->
<!-- Javascript for Action Button -->
<!-- Hover Activated Option -->
<!-- document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.fixed-action-btn');
}); -->
<!-- plugin options
var instances = M.FloatingActionButton.init(elems, options);
var instance = M.FloatingActionButton.getInstance(elem);
instance.open();
instance.close();
instance.destroy(); -->
<!-- Click Activated Option -->
<!-- document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.fixed-action-btn');
var instances = M.FloatingActionButton.init(elems, {
direction: 'left',
hoverEnabled: false
});
}); -->
</section>
<!-- footer section -->
<footer>
</footer>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="./public/js/color.js"></script>
<!-- Save Options Dropdown -->
<script>
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.dropdown-trigger');
var instances = M.Dropdown.init(elems);
});
</script>
</html>