Skip to content

Commit bdaf1e4

Browse files
committed
added main content in health care and fixed some link in other pages
1 parent 6fceda1 commit bdaf1e4

4 files changed

Lines changed: 81 additions & 14 deletions

File tree

assets/css/clearance.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ main{padding-top:72px}
6464
margin-left:18px;
6565
font-weight:600;
6666
}
67-
.main-nav a:hover{
68-
text-decoration:underline;
69-
}
67+
7068

7169
/* Clearance Form Styles */
7270
.section-title {

assets/css/home.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ main{padding-top:72px}
6565
margin-left:18px;
6666
font-weight:600;
6767
}
68+
6869
.btn-login{
6970
background:var(--accent);
7071
color:var(--text);

pages/Barangay Clearance/clearance.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
</div>
2222
</div>
2323

24-
<nav class="main-nav" aria-label="Main navigation">
25-
<a href="../../home.html">Home</a>
26-
<a href="../../home.html#services">Services</a>
27-
<a href="../../home.html#announcements">Announcements</a>
28-
<a href="../../home.html#about">About</a>
29-
</nav>
24+
<nav class="main-nav" aria-label="Main navigation">
25+
<a href="../../home.php" style="text-decoration: none;">Home</a>
26+
<a href="../../home.php #services" style="text-decoration: none;">Services</a>
27+
<a href="../../home.php #announcements" style="text-decoration: none;">Announcements</a>
28+
<a href="../../home.php #about" style="text-decoration: none;">About</a>
29+
</nav>
30+
31+
3032
</div>
3133

3234

pages/Health Care/health.php

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@
2222
</div>
2323
2424
<nav class="main-nav" aria-label="Main navigation">
25-
<a href="#home">Home</a>
26-
<a href="#services">Services</a>
27-
<a href="#announcements">Announcements</a>
28-
<a href="#about">About</a>
29-
<a class="btn-login" href="#" id="Cliklogin"><i class="fa-solid fa-user"></i></a>
25+
<a href="../../home.php">Home</a>
26+
<a href="../../home.php #services">Services</a>
27+
<a href="../../home.php #announcements">Announcements</a>
28+
<a href="../../home.php #about">About</a>
3029
</nav>
3130
</div>
3231
</header>
@@ -49,6 +48,73 @@
4948
<ul>
5049
</div>
5150
51+
<main class="main">
52+
<section id="health-centers" class="section health-section">
53+
<h2 class="section-title">Hospitals and Clinics in the Barangay</h2>
54+
55+
<div class="health-list">
56+
<div class="health-item">
57+
<h3>Barangay Health Center 1</h3>
58+
<p>Address: 123 Main Street</p>
59+
<p>Contact: (0917) 123-4567</p>
60+
</div>
61+
62+
<div class="health-item">
63+
<h3>Ace Hospital</h3>
64+
<p>Address: 456 Health Avenue</p>
65+
<p>Contact: (0918) 765-4321</p>
66+
</div>
67+
68+
<div class="health-item">
69+
<h3>Vet Clinic</h3>
70+
<p>Address: 321 Care Street</p>
71+
<p>Contact: (0921) 333-4444</p>
72+
</div>
73+
</div>
74+
</section>
75+
</main>
76+
77+
<style>
78+
.main {
79+
margin-left: 300px;
80+
padding: 20px;
81+
background-color: var(--background);
82+
min-height: 100vh;
83+
margin-top: -40%;
84+
}
85+
.health-list {
86+
display: flex;
87+
flex-direction: column;
88+
gap: var(--gap);
89+
}
90+
91+
.health-item {
92+
background: var(--card);
93+
padding: 15px 20px;
94+
width: 80%;
95+
border-radius: var(--radius);
96+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
97+
transition: transform 0.3s, box-shadow 0.3s;
98+
}
99+
100+
.health-item h3 {
101+
margin-top: 0;
102+
margin-bottom: 8px;
103+
color: var(--primary);
104+
}
105+
106+
.health-item p {
107+
margin: 4px 0;
108+
color: var(--text);
109+
font-size: 14px;
110+
}
111+
112+
.health-item:hover {
113+
transform: translateY(-3px);
114+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
115+
}
116+
</style>
117+
52118
53119
</body>
54120
</html>

0 commit comments

Comments
 (0)