1616 < header class ="site-header ">
1717 < div class ="wrap header-inner ">
1818 < div class ="logo ">
19- <!-- You can replace with barangay seal image -->
2019 < img src ="https://imgs.search.brave.com/ln_ju330B84pQ05S5Y941vpBrCrGWaJqRw5jIcPPf-I/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly91cGxv/YWQud2lraW1lZGlh/Lm9yZy93aWtpcGVk/aWEvY29tbW9ucy9h/L2EzL1BHUF9OZXdf/T2ZmaWNpYWxfU2Vh/bC5wbmc " alt ="Barangay Seal " />
2120 < div class ="logo-text ">
2221 < strong > BARANGAY</ strong >
2928 < a href ="#services "> Services</ a >
3029 < a href ="#announcements "> Announcements</ a >
3130 < a href ="#about "> About</ a >
32- < a class ="btn-login " href ="# " id ="Cliklogin "> < i class ="fa-solid fa-user "> </ i > </ a >
31+ < a class ="btn-login " href ="../Saklaw/pages/auth/login.php " id ="Cliklogin "> < i class ="fa-solid fa-user "> </ i > </ a >
3332 </ nav >
3433 </ div >
3534 </ header >
@@ -56,19 +55,19 @@ <h3>Barangay Clearance</h3>
5655 < p > Request official barangay clearances quickly.</ p >
5756 </ a >
5857
59- < a href ="# " class ="card " >
58+ < a href ="# " class ="card " id =" BC " >
6059 < div class ="icon "> < i class ="fa-solid fa-briefcase "> </ i > </ div >
61- < h3 > BUSINESS CLEARANCE</ h3 >
60+ < h3 > BUSINESS CLEARANCE</ h3 >
6261 < p > Request Business Clearance Now!</ p >
6362 </ a >
6463
65- < a href ="# " class ="card ">
64+ < a href ="# " class ="card " id =" sed " >
6665 < div class ="icon "> < i class ="fa-solid fa-address-card "> </ i > </ div >
6766 < h3 > SEDULA</ h3 >
6867 < p > Request to get Sedula</ p >
6968 </ a >
7069
71- < a href ="# " class ="card ">
70+ < a href ="# " class ="card " id =" CI " >
7271 < div class ="icon "> < i class ="fa-solid fa-chart-simple "> </ i > </ div >
7372 < h3 > CERTIFICATE OF INDIGENCY</ h3 >
7473 < p > Need proof of financial hardship? requests Now!</ p >
@@ -80,10 +79,10 @@ <h3>Charity</h3>
8079 < p > Help The One Who In Needs.</ p >
8180 </ a >
8281
83- < a href ="# " class ="card ">
82+ < a href ="../Saklaw/pages/Health Care/health.php " class ="card ">
8483 < div class ="icon "> < i class ="fa-solid fa-heart-circle-bolt "> </ i > </ div >
8584 < h3 > Health Care</ h3 >
86- < p > See the closest Healthcare at your area.</ p >
85+ < p > See the nearest Healthcare at your area.</ p >
8786 </ a >
8887
8988 < a href ="# " class ="card " id ="educ ">
@@ -138,7 +137,7 @@ <h3 id="comingSoon-title"><i class="fa-solid fa-bullhorn"></i> Coming Soon</h3>
138137 } ) ;
139138
140139 const comingSoon = document . getElementById ( "comingSoon" ) ;
141- const triggerIDs = [ "donate" , "educ" , "click" ] ; // multiple links
140+ const triggerIDs = [ "donate" , "educ" , "click" , "BC" , "sed" , "CI" ] ; // multiple links
142141
143142 triggerIDs . forEach ( id => {
144143 const link = document . getElementById ( id ) ;
@@ -270,76 +269,5 @@ <h4>Contact</h4>
270269 < p style ="text-align:center; margin:0; "> © 2025 Barangay Digital Portal | All Rights Reserve</ p >
271270 </ div >
272271 </ footer >
273-
274- <!-- Login modal -->
275- < dialog id ="openModal " class ="modal " aria-labelledby ="login-title ">
276- < div class ="modal-dialog ">
277- < button class ="modal-close " aria-label ="Close "> ×</ button >
278- < h3 id ="login-title "> Sign In</ h3 >
279- < form class ="login-form " action ="#signUp.php " method =post ">
280- < label >
281- Email
282- < input type ="email " name ="email " placeholder ="you@example.com " required >
283- </ label >
284- < label >
285- Password
286- < input type ="password " name ="password " placeholder ="•••••••• " required >
287- < p class ="p-SignIn "> Don't have account?< a href ="../Saklaw/pages/Register/signUp.php "> Sign Up</ a > </ p >
288- </ label >
289-
290- < div class ="form-actions ">
291- < button type ="button " class ="btn-secondary modal-close "> </ button >
292- < button type ="submit " class ="btn-primary " > Enter</ button >
293- </ div >
294- </ form >
295- </ div >
296- </ dialog >
297272 </ body >
298- < script >
299- const login = document . getElementById ( "Cliklogin" ) ;
300- const loginModal = document . getElementById ( "openModal" ) ;
301-
302- // open log
303- login ?. addEventListener ( "click" , function ( e ) {
304- e . preventDefault ( ) ;
305- if ( typeof loginModal . showModal === "function" ) {
306- loginModal . showModal ( ) ;
307- } else {
308- loginModal . classList . add ( "open" ) ; // fallback for older browsers
309- }
310- } ) ;
311-
312- // close when click X
313- loginModal . querySelectorAll ( ".modal-close" ) . forEach ( btn => {
314- btn . addEventListener ( "click" , ( ) => {
315- if ( typeof loginModal . close === "function" ) {
316- loginModal . close ( ) ;
317- } else {
318- loginModal . classList . remove ( "open" ) ;
319- }
320- } ) ;
321- } ) ;
322-
323- // overlay close
324- loginModal . addEventListener ( "click" , ( e ) => {
325- const dialogBox = loginModal . querySelector ( ".modal-dialog" ) ;
326- if ( ! dialogBox . contains ( e . target ) ) {
327- if ( typeof loginModal . close === "function" ) {
328- loginModal . close ( ) ;
329- } else {
330- loginModal . classList . remove ( "open" ) ;
331- }
332- }
333- } ) ;
334- // esc
335- document . addEventListener ( "keydown" , ( e ) => {
336- if ( e . key === "Escape" && ( loginModal . open || loginModal . classList . contains ( "open" ) ) ) {
337- if ( typeof loginModal . close === "function" ) {
338- loginModal . close ( ) ;
339- } else {
340- loginModal . classList . remove ( "open" ) ;
341- }
342- }
343- } ) ;
344- </ script >
345273</ html >
0 commit comments