-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
129 lines (109 loc) · 4.42 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Meal planning for everyone. A healthy lifestyle for all. ✨">
<meta name="og:type" content="website">
<meta name="og:title" content="Gastronome">
<meta name="og:description" content="Meal planning for everyone. A healthy lifestyle for all. ✨">
<meta name="og:url" content="https://www.gastronome.cc/">
<meta name="twitter:card" content="website">
<meta name="twitter:title" content="Gastronome">
<meta name="twitter:description" content="Meal planning for everyone. A healthy lifestyle for all. ✨">
<meta name="twitter:url" content="https://www.gastronome.cc/">
<link rel="shortcut icon" type="image/png" href="assets/images/favicon.png"/>
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/home.css">
<link rel="stylesheet" href="css/normalize.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="scripts/storage.js"></script>
<title>Gastronome - Recipes</title>
</head>
<body>
<script>
document.body.className = 'fade';
$(document).ready(function() {
// Add smooth scrolling to all links
$("a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
<!-- Navigation -->
<header>
<!-- Logo -->
<span class="header-logo">
<a href="index.html"><img src="assets/images/logo.png" alt="logo" class="logo"/></a>
</span>
<!-- Links -->
<div class="header-links">
<ul>
<li><a class="header-links__link" onclick="handleSignOut()">Log Out</a></li>
<!-- <li><a class="header-links__link" href="features.html">Features</a></li>
<li><a class="header-links__link" href="recipes.html">Recipes</a></li>
<li><a class="register--button" href="register.html">Register</a></li> -->
</ul>
</div>
</header>
<div class="home--container">
<div class="home--div">
<div class="home--text">
<h1 class="home--title">all our recipes</h1>
<p class="home--subtitle">add some to your favourites! ✨</p>
</div>
<div class="home--look">
<a class="button" href="#recipes--container">
<span>start looking</span>
<svg width="20px" height="14px" viewBox="0 0 13 10">
<path d="M1,5 L11,5"></path>
<polyline points="8 1 12 5 8 9"></polyline>
</svg>
</a>
</div>
</div>
</div>
<div id="recipes--container">
<div class="recipes--logo--div">
<img class="recipes--logo" src="assets/images/circle-logo.png" alt="circle-logo"/>
</div>
<div id="content--container">
</div>
</div>
<div class="footer--div">
<p class="contact--link"><a href="mailto:[email protected]?Subject=Hello%20there!" target="_top">hello [at] gastronome.cc</a></p>
<p class="footer">© Gastronome, <script>document.write(new Date().getFullYear())</script></p>
</div>
<script src="https://www.gstatic.com/firebasejs/5.8.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.8.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.8.1/firebase-database.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(e) {
document.body.className = '';
});
// Initialize Firebase
var config = {
apiKey: "AIzaSyChXS2OUF1PCnQOf28pnxguc88UCzCJCoU",
databaseURL: "https://p2fsdgastro.firebaseio.com",
projectId: "p2fsdgastro",
storageBucket: "p2fsdgastro.appspot.com",
};
firebase.initializeApp(config);
</script>
<script src="scripts/auth.js"></script>
</body>
</html>