-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
102 lines (89 loc) · 4.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta property="og:url" content="https://aviv7385.github.io/randomQuote/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Random Quote" />
<meta property="og:description" content="Need a motivational quote? Get it right here." />
<meta property="og:image"
content="https://i0.wp.com/dariusforoux.com/wp-content/uploads/2015/08/motivational-quotes.png?resize=720%2C471&ssl=1" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Quote</title>
<!-- jQuery -->
<script src="jquery-3.5.1.js"></script>
<link rel="icon" type="image/x-icon" href="favicons/favicon.ico">
<link rel="shortcut icon" href="favicons/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="style.css">
<script defer src="main.js"></script>
</head>
<body>
<!-- share-to-facebook button -->
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v11.0"
nonce="db19Wgyl"></script>
<div class="navBar">
<div class="nav">
<button class="nav-btn" id="show-favorites" title="Show My Favorite Quotes"> favorites <i
class="fas fa-heart"></i></button>
</div>
<div class="nav">
<button class="nav-btn" id="homeBtn" title="go to Home Page""> home <i
class=" fas fa-home"></i></button>
</div>
</div>
<div class="page" id="page-container">
<main id="main-container">
<!-- this div will be initially visible -->
<div class="container" id="favorites-container">
</div>
<!-- this div will be initially visible -->
<div class="container" id="quote-container">
<!-- Quote -->
<div class="quote-text long-quote">
<!-- font-awesome quote icon -->
<!-- <i class="fas fa-quote-left"></i> -->
<span id="quote"></span>
</div>
<!-- Author -->
<div class="quote-author">
<span id="author"></span>
</div>
<!-- Buttons -->
<div class="button-container">
<button class="twitter-btn" id="twitter" title="Share to Twitter" onclick="tweetQuote()">
<i class="fab fa-twitter"></i>
</button>
<div id="icon-wrap">
<i class="fas fa-heart" id="favorite" title="Add to Favorites"
onclick="addQuoteToFavorites()"></i>
</div>
<button id="new-quote" onclick="newQuote()">new quote</button>
</div>
</div>
<!-- Loading Spinner -->
<div class="loader" id="loader"></div>
</main>
<!-- footer -->
<footer>
<p>
Developed and Designed by Aviv Elad, 2021
<a href="https://www.linkedin.com/in/aviv-elad-a3b1a3105/" title="Linkedin">
<img src="favicons/linkedIn_logo.png" alt="Linkedin">
</a>
<a href="https://github.com/aviv7385?tab=repositories" title="Github">
<img src="favicons/github_logo.png" alt="GitHub">
</a>
</p>
<div class="fb-share-button" data-href="https://aviv7385.github.io/randomQuote/" data-layout="button_count"
data-size="small">
<a target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Faviv7385.github.io%2FrandomQuote%2F&src=sdkpreparse"
class="fb-xfbml-parse-ignore">Share</a>
</div>
</footer>
</div>
</body>
</html>