-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.htm
More file actions
73 lines (70 loc) · 3.35 KB
/
Copy pathindex.htm
File metadata and controls
73 lines (70 loc) · 3.35 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="manifest" href="images/site.webmanifest">
<link rel="stylesheet" href="dist/main.css">
<title>CaveQuotes</title>
</head>
<body id="body">
<nav>
<h1>CAVEQUOTES</h1>
<div class="navwrap">
<!-- this is supposed to be a toggle switch, i will add it soon or not ,too complicated -->
<!-- <input type="checkbox" name="" id=""> -->
<button name="themeBtn" id="themeBtn" data-theme="dark"><i class="fa-solid fa-sun"></i></button>
<a target="_blank" href="https://github.com/EMMANUEL-SUNMBOLA/cavequotes" class="link git"><i class="fa-brands fa-github"></i></a>
</div>
</nav>
<!-- this the wrapper for the canvas element -->
<div class="screenshot" id="screenshot">
</div>
<!-- +++++++++++++++++++++++++ -->
<main>
<div class="mainsub left">
<div class="msg">
<h1>supercharge your day</h1>
</div>
<h1 class="tab">Quotes to keep you going</h1>
<button id="quoteBtn" >fetch</button>
</div>
<div class="mainsub right">
<div class="regular">
<p><i class="fa-solid fa-quote-left"></i></p>
<div class="quote">
quotes will be displayed here.
</div>
<h6 id="author"></h6>
<p class="right"><i class="fa-solid fa-quote-right"></i></p>
<button id="copyBtn"><i class="fa-solid fa-copy"></i></button>
<!-- this is the button that takes the screenshot-->
<!-- i've assigned it an ID to reference it in main.js -->
<button id="camera"><i class="fa-solid fa-camera"></i></button>
<!-- random button to switch up the style -->
<button id="shuffle"><i class="fa-solid fa-shuffle"></i></button>
<!-- i've also removed the click event -->
<a href="" target="_blank" id="tweetLink"><i class="fa-brands fa-twitter">Tweet</i></a>
</div>
</div>
</main>
<div class="floatingMenu">
<div class="formCont">
<form action="">
<p>Subscribe to receive daily inspirational quotes</p>
<input type="text" placeholder="Email"> <br>
<button type="button">subscribe</button>
</form>
</div>
</div>
<div class="bellDiv"><i class="fa-solid fa-bell"></i></div>
<script src="https://superal.github.io/canvas2image/canvas2image.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script>
<!-- <script src="main.js" type="module"></script> -->
<script src="functions.js"></script>
</body>
</html>