-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddRecipes.html
139 lines (115 loc) · 3.42 KB
/
addRecipes.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Recipes</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="others.css">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="recipe.js" defer></script>
</head>
<body>
<header>
<nav class="sticky">
<div>
<ul>
<li><a href="index.html">
<span class="hlogo"><img src="images/logo.jpeg" style="width: 30px;" ></span>Home</a></li>
<li><a href="addRecipes.html"><span class="emoji">📕</span>Recipes</a></li>
<li><a href="donate.html"><span class="emoji">💌</span>Donate</a></li>
<li><a href="volunteer.html"><span class="emoji">✋</span>Volunteer</a></li>
<li><a href="resources.html"><span class="emoji">🪄</span>Resources</a></li>
</ul>
</div>
</nav>
</header>
<style>
h1 {
margin-top: 50px;
text-align: center;
}
.input-group {
margin-top: 50px;
margin-bottom: 50px;
}
.card {
display: inline-block;
margin-bottom: 50px;
}
footer {
text-align: center;
font-size: smaller;
}
.navbar-brand {
font-family: "Lucida Console", Monaco, monospace;
}
/*
.home{
position: absolute;
top: 2%;
left: 2%;
display: inline-flex;
width: 180px;
height: 55px;
margin: 0 15px;
perspective: 1000px;
}
.home{
font-size: 19px;
letter-spacing: 1px;
transform-style: preserve-3d;
transform: translateZ(-25px);
transition: transform .25s;
font-family: 'Montserrat', sans-serif;
}
.home:before,
.home:after{
position: absolute;
content: "Home";
height: 55px;
width: 180px;
display: flex;
align-items: center;
justify-content: center;
border: 3px solid black;
box-sizing: border-box;
border-radius: 5px;
}
.home:before{
color: #fff;
background: #FBDA90;
transform: rotateY(0deg) translateZ(25px);
}
.home:after{
color: #000;
background: #FBDA90;
transform: rotateX(90deg) translateZ(25px);
}
.home:hover{
transform: translateZ(-25px) rotateX(-90deg);
}
*/
</style>
<h1 class="text-lg"> Ma-ma-mia! </h1>
<h4 id="mamamia">Don't let your food go to waste. Type any food that is about to go bad and we will give you a recipe.</h3>
<a href="/index.html">
<span class="home"> </span>
</a>
<div class="input-group col-8 offset-2">
<input type="text" class="form-control" placeholder="Search for a Food Recipe" id="search"
aria-label="Recipient's username" aria-describedby="button-addon2">
<div class="input-group-append">
<button class=" btn btn-dark" type="button" onclick="sendApiRequest()">Search</button>
</div>
</div>
<div id="content">
</div>
<footer>
<p>Crafted with ❤️ <a href="https://katy-youth-hacks.devpost.com">Impact Hacks Hackathon'22</a></p>
</footer>
</body>
</html>