Skip to content

Commit b7d5d33

Browse files
committed
Initial commit
0 parents  commit b7d5d33

11 files changed

+834
-0
lines changed

add-business.html

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Add Business Profile - Business Information Application</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<div class="container">
12+
<h1>Add Business Profile</h1>
13+
<nav>
14+
<ul>
15+
<li><a href="admin.html">Admin Dashboard</a></li>
16+
<li><a href="index.html">Home</a></li>
17+
</ul>
18+
</nav>
19+
</div>
20+
</header>
21+
<main>
22+
<div class="form-container">
23+
<form id="add-business-form">
24+
<label for="business-name">Business Name:</label>
25+
<input type="text" id="business-name" name="business-name" required />
26+
27+
<label for="business-category">Category:</label>
28+
<select id="business-category" name="business-category" required>
29+
<!-- Categories will be dynamically added here -->
30+
</select>
31+
32+
<label for="business-city">City:</label>
33+
<select id="business-city" name="business-city" required>
34+
<!-- Cities will be dynamically added here -->
35+
</select>
36+
37+
<label for="business-address">Address:</label>
38+
<input
39+
type="text"
40+
id="business-address"
41+
name="business-address"
42+
required
43+
/>
44+
45+
<label for="business-contact">Contact Information:</label>
46+
<input
47+
type="text"
48+
id="business-contact"
49+
name="business-contact"
50+
required
51+
/>
52+
53+
<button type="submit">Add Business</button>
54+
</form>
55+
</div>
56+
</main>
57+
<footer>
58+
<div class="container">
59+
<p>
60+
&copy; 2024 Business Information Application. All rights reserved.
61+
</p>
62+
</div>
63+
</footer>
64+
<script src="scripts.js"></script>
65+
</body>
66+
</html>

add-category.html

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Add Business Category - Business Information Application</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<div class="container">
12+
<h1>Add Business Category</h1>
13+
<nav>
14+
<ul>
15+
<li><a href="admin.html">Admin Dashboard</a></li>
16+
<li><a href="index.html">Home</a></li>
17+
</ul>
18+
</nav>
19+
</div>
20+
</header>
21+
<main>
22+
<div class="form-container">
23+
<form id="add-category-form">
24+
<label for="category-name">Category Name:</label>
25+
<input type="text" id="category-name" name="category-name" required />
26+
27+
<button type="submit">Add Category</button>
28+
</form>
29+
</div>
30+
</main>
31+
<footer>
32+
<div class="container">
33+
<p>
34+
&copy; 2024 Business Information Application. All rights reserved.
35+
</p>
36+
</div>
37+
</footer>
38+
<script src="scripts.js"></script>
39+
</body>
40+
</html>

add-city.html

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Add City/Town - Business Information Application</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<div class="container">
12+
<h1>Add City/Town</h1>
13+
<nav>
14+
<ul>
15+
<li><a href="admin.html">Admin Dashboard</a></li>
16+
<li><a href="index.html">Home</a></li>
17+
</ul>
18+
</nav>
19+
</div>
20+
</header>
21+
<main>
22+
<div class="form-container">
23+
<form id="add-city-form">
24+
<label for="city-name">City/Town Name:</label>
25+
<input type="text" id="city-name" name="city-name" required />
26+
27+
<button type="submit">Add City/Town</button>
28+
</form>
29+
</div>
30+
</main>
31+
<footer>
32+
<div class="container">
33+
<p>
34+
&copy; 2024 Business Information Application. All rights reserved.
35+
</p>
36+
</div>
37+
</footer>
38+
<script src="scripts.js"></script>
39+
</body>
40+
</html>

admin.html

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Admin Dashboard - Business Information Application</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<div class="container">
12+
<h1>Admin Dashboard</h1>
13+
<nav>
14+
<ul>
15+
<li><a href="add-city.html">Add City/Town</a></li>
16+
<li><a href="add-category.html">Add Business Category</a></li>
17+
<li><a href="add-business.html">Add Business Profile</a></li>
18+
<li><a href="index.html">Home</a></li>
19+
</ul>
20+
</nav>
21+
</div>
22+
</header>
23+
<main>
24+
<div class="welcome-container">
25+
<h2>Welcome, Admin!</h2>
26+
<p>Use the navigation links to manage the application.</p>
27+
</div>
28+
</main>
29+
<footer>
30+
<div class="container">
31+
<p>
32+
&copy; 2024 Business Information Application. All rights reserved.
33+
</p>
34+
</div>
35+
</footer>
36+
<script src="scripts.js"></script>
37+
</body>
38+
</html>

data/businesses.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

data/categories.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["Restaurants", "Real Estate", "Schools", "Clinics", "Law Firms"]

data/cities.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

0 commit comments

Comments
 (0)