Skip to content

Commit

Permalink
Enhanced Emergency SOS section of Home Page
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepika14145 committed Nov 2, 2024
1 parent c1d7cf8 commit 8995538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,8 @@ <h2>Packing Checklist</h2>
<!--Emergency-->
<section class="services" id="services">
<div class="sos-container">
<h2>Emergency SOS</h2>
<p id="emergency-text" style="color: whitesmoke;">In case of an emergency, press the button to send your current location to your emergency contacts.</p>
<u><h2>Emergency SOS</h2></u>
<p id="emergency-text" style="color: rgb(8, 69, 5);">In case of an emergency, press the button to send your current location to your emergency contacts.</p>
<button id="sosButton" onclick="sendSOS()">Send SOS</button>
<div id="sos-status"></div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ body {
.cloud.fade-out {
opacity: 0;
}

/*SOS*/
.sos-container {
width: 100%;
Expand Down Expand Up @@ -2918,7 +2919,9 @@ textarea {
.services {
padding: 4rem 2rem;
text-align: center;
background-color: #fff;
/* background-color: #fff; */
background: linear-gradient(135deg, #9aecff 0%, #3b302d 100%);/* Light background for eye comfort */

}

.services h2 {
Expand Down

0 comments on commit 8995538

Please sign in to comment.