Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance About Us page with glassmorphism effect for better visual appeal #120

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
35 changes: 20 additions & 15 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@
/>
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="./assets/css/responsiveness.css" />

<style>
#footer {
display: none;
}
</style>

<style>
#footer {
display: none;
}
</style>
</head>

<body>
Expand All @@ -51,11 +50,7 @@
</div>
<div id="nav-text" class="nav_buttons">
<a href="./index.html" class="nav_button">HOME</a>
<a
href="#donates"
class="nav_button showPopupButton"
>DONATE</a
>
<a href="#donates" class="nav_button showPopupButton">DONATE</a>
<a href="./about.html" class="nav_button">ABOUT US</a>
<a href="#footer" class="nav_button">CONTACT US</a>
</div>
Expand All @@ -74,18 +69,28 @@
alt="About 1"
/>
</div>
<div class="col-12 col-lg-6 col-xl-7">
<div class="col-12 col-lg-6 col-xl-7 glass-effect">
<div class="row justify-content-xl-center">
<div class="col-12 col-xl-11">
<h2 class="mb-3">Who Are We?</h2>
<p class="lead fs-5 text-secondary mb-3">
Tree2Hope is a purpose-driven initiative committed to fostering global reforestation efforts and championing environmental stewardship. Our platform enables eco-conscious individuals and businesses to actively participate in the restoration of our planet's green spaces.
Tree2Hope is a purpose-driven initiative committed to
fostering global reforestation efforts and championing
environmental stewardship. Our platform enables
eco-conscious individuals and businesses to actively
participate in the restoration of our planet's green spaces.
</p>
<p class="fs-5 mb-5">
For the low, low price of one dollar, you can choose a specific area in need of ecological attention and help fund the planting of a tree there, having an immediate and tangible effect on the world around you.
For the low, low price of one dollar, you can choose a
specific area in need of ecological attention and help fund
the planting of a tree there, having an immediate and
tangible effect on the world around you.
</p>
<p class="lead fs-5 text-secondary mb-3">
Join us in our mission to create a sustainable and flourishing ecosystem that supports biodiversity and mitigates the effects of climate change for a brighter, greener future.
Join us in our mission to create a sustainable and
flourishing ecosystem that supports biodiversity and
mitigates the effects of climate change for a brighter,
greener future.
</p>
<!-- <div class="row gy-4 gy-md-0 gx-xxl-5X">
<div class="col-12 col-md-6">
Expand Down
17 changes: 16 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@

/* Menu Bar */

.glass-effect {
background: rgba(
255,
255,
255,
0.4
); /* Increase opacity for a more solid effect */
backdrop-filter: blur(15px); /* Increase blur to make it more pronounced */
-webkit-backdrop-filter: blur(15px); /* Safari support with increased blur */
border-radius: 15px; /* Keep rounded corners */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow for more depth */
padding: 25px; /* Increase padding for spacing */
color: #fff; /* Keep text white for readability */
}

.menu-container {
display: none;
position: fixed;
Expand Down Expand Up @@ -80,7 +95,7 @@
.menu-button {
cursor: pointer;
background: transparent;
color: #03A254;
color: #03a254;
/* text-align:; */
display: block;
justify-content: end;
Expand Down