forked from Mohammed4mach/Recipehub-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSite.Master
155 lines (120 loc) · 5.87 KB
/
Site.Master
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
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="Recipehub.Site" %>
<!DOCTYPE html>
<script runat="server">
protected void search_submit_Click(object sender, EventArgs e)
{
string url = $"~/Search.aspx?srch={search_input.Text}";
Response.Redirect(url);
}
</script>
<html lang="en">
<head runat="server">
<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><%: Page.Title %> - Recipehub</title>
<link href="assets/img/fav-icon.png" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="stylesheets/bootstrap.min.css">
<link rel="stylesheet" href="stylesheets/all.min.css">
<link rel="stylesheet" href="stylesheets/Master.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tapestry&display=swap" rel="stylesheet">
<asp:ContentPlaceHolder ID="HeadPlaceHolder" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form runat="server">
<nav class="navbar navbar-expand-lg navbar-expand-em">
<div class="container-fluid">
<a class="navbar-brand" href="Default.aspx">Recipehub</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link p-lg-3" aria-current="page" href="sign up.aspx">
<i class="fa-solid fa-user-plus"></i>
Sign Up
</a>
</li>
<li class="nav-item">
<a class="nav-link p-lg-3" href="sign in.aspx">
<i class="fa-solid fa-right-to-bracket"></i>
Sign In
</a>
</li>
<li class="nav-item">
<a class="nav-link p-lg-3" href="Profile Page.aspx">
<i class="fa-regular fa-user"></i>
Profile
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle p-lg-3"
href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false"><i class="fa-regular fa-bookmark"></i> Category
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
</ul>
<asp:TextBox ID="search_input" runat="server" placeholder="Search" aria-label="Search"></asp:TextBox>
<asp:Button ID="search_submit" runat="server" Text="Search" class="btn btn-outline-success" OnClick="search_submit_Click"/>
</div>
</div>
</nav>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
<footer class=" bg-dark text-white">
<div class="container text-center text-md-left">
<div class="row text-center text-md-left">
<div class="col-md-3 col-lg-3 col-xl-3 md-auto mt-3">
<h5 class="text-uppercase lg-6 mb-4 font-weight-bold"> contact us</h5>
<h5>manar magdy </br>
manar magdy </br>
manar magdy </br>
manar magdy </br>
</h5>
</div>
<div class="col-md-2 col-lg-2 mx-auto mt-3">
<h5 class="texet-uppercase mb-4 font-weight-bold "> about as</h5>
<p>
<i class="fas fa-home mr-3"></i>
</p>
<p>
<i class="fas fa-envelope mr-3"> </i> manarmagdy@gmail.com
</p>
<p>
<i class="fas fa-phone mr-3"> </i> 0120205050
</p>
<p>
<i class="bi bi-emoji-frown-fill"></i>manar
</p>
</div>
<hr>
<div class="row align-items-canter">
<div class="col-lg-12 col-md-12">
<p class="copyright text-center"> Copyright © 2022 Recipehub is powered by :
<a herf="#">
<strong class="owner"> Recipehub Team</strong>
</a>
</p>
</div>
</div>
</div>
</div>
</footer>
</form>
<script src="scripts/jquery-3.6.0.min.js"></script>
<script src="scripts/bootstrap.min.js"></script>
<script src="scripts/all.min.js"></script>
</body>
</html>