-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
196 lines (175 loc) · 7.19 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
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="RUBI • Home">
<meta name="keywords" content="rubi, food, restaurants, soup kitchen">
<meta name="url" content="https://dashaputra.net/Rubi">
<meta name="theme-color" content="#ee6969">
<meta property="og:image" content="https://raw.githubusercontent.com/ArnavD74/Rubi/main/img/strawberry.png" />
<title>RUBI • Home</title>
<link rel="icon" type="image/x-icon" href="/img/strawberry.png">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;900&display=swap" rel="stylesheet">
<!-- Css Styles -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="css/elegant-icons.css" type="text/css">
<link rel="stylesheet" href="css/nice-select.css" type="text/css">
<link rel="stylesheet" href="css/jquery-ui.min.css" type="text/css">
<link rel="stylesheet" href="css/owl.carousel.min.css" type="text/css">
<link rel="stylesheet" href="css/slicknav.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<!-- Page Preloder -->
<div id="preloder">
<div class="loader"></div>
</div>
<!-- Header Section Begin -->
<br>
<header class="header">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="header__logo">
<a href="./index.html"><img src="img/strawberry.png" width=40px height=40px alt=""></a>
<p class="titleText">RUBI</p>
</div>
</div>
<div class="col-lg-6">
<nav class="header__menu">
<ul>
<li class="active"><a href="index.html">Home</a></li>
<li><a href="request.html">Register</a></li>
<li><a href="donate.html">Donate</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<!-- Header Section End -->
<!-- Hero Section Begin -->
<section class="hero">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="hero__item set-bg titleBorder" data-setbg="img/hero/banner.jpg">
<div class="hero__text">
<span>Excess food distribution</span>
<h2>RUBI, <br />100% Free.</h2>
<p>Pickup at your own convenience.</p>
<a href="request.html" class="primary-btn">REGISTER NOW</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Hero Section End -->
<br>
<br>
<div class="section-title">
<h3>How much food waste has Rubi saved today?</h3>
<h3 id="currDate" class="weightDate"></h3>
<h3 id="weightSaved" class="weightSaved">0 kg</h3>
</div>
<script>
const monthNames = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
const nth = function (d) {
if (d > 3 && d < 21) return 'th';
switch (d % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
}
date = new Date();
year = date.getFullYear();
month = monthNames[date.getMonth()]
day = date.getDate();
dayName = date.getDay();
document.getElementById("currDate").innerHTML = month + " " + day + nth(day) + ": ";
</script>
<!-- Featured Section Begin -->
<section class="featured spad">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="section-title">
<h2>Available Today</h2>
</div>
<div class="featured__controls">
<ul>
<li class="active" data-filter="*">All</li>
<li data-filter=".vegetarian">Vegetarian</li>
<li data-filter=".kosher">Kosher</li>
<li data-filter=".halal">Halal</li>
<li data-filter=".nutfree">Nut Free</li>
<li data-filter=".glutenfree">Gluten Free</li>
</ul>
</div>
</div>
</div>
<div class="row featured__filter">
</div>
</div>
</section>
<!-- Featured Section End -->
<!-- Footer Section Begin -->
<footer class="footer spad">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="footer__widget ">
<h6>Links</h6>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="request.html">Register</a></li>
<li><a href="donate.html">Donate</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm">
<div class="footer__about">
<div class="footer__about__logo">
<a href="./index.html"><img src="img/strawberry.png" width=40px height=40px alt=""></a>
<p class="titleText">RUBI</p>
</div>
<ul>
<li>Address: MontyHacks V</li>
<li>Email: hello@rubi.com</li>
<li>Register: register@rubi.com</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer Section End -->
<!-- Js Plugins -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.nice-select.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/jquery.slicknav.js"></script>
<script src="js/script.js"></script>
<script src="js/mixitup.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>