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

Enhanced the About Us page #1799

Merged
merged 4 commits into from
Aug 10, 2024
Merged
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
196 changes: 191 additions & 5 deletions assets/about/about.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
margin: 0;
font-family: 'Poppins', sans-serif;
background-color: #f0f0f0;
}

.circle {
z-index: 999999;
width: 20px;
Expand All @@ -25,31 +33,209 @@
border-radius: 50%;
}

header {
position: sticky;
top: 0;
z-index: 100;
}

.navbar {
font-family: 'Poppins', sans-serif;
background-color: rgb(9, 5, 40);
margin: 0 auto;
}

.main-content {
padding: 70px 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
}

.about-section {
min-height: 100vh;
width: 80%;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
gap: 2rem;
margin: 0 auto;
text-align: center;
}

.heading-container {
font-size: 2.7rem;
background: #00F260;
background: -webkit-linear-gradient(to right, #0575E6, #00F260);
background: linear-gradient(to right, #0575E6, #00F260);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}

.para-section {
font-size: 1.9rem;
text-align: center;
color: white;
padding: 0 3rem;
margin-bottom: 2rem;
}

.card-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
width: 100%;
}

.card {
position: relative;
width: 80vw;
height: 30vh;
background: #3a0190;
display: flex;
align-items: center;
justify-content: center;
font-size: 3vw;
font-weight: bold;
border-radius: 15px;
cursor: pointer;
overflow: hidden;
text-align: center;
margin: 5px 0;
box-sizing: border-box;
}

.card::before,
.card::after {
position: absolute;
content: "";
width: 20%;
height: 20%;
display: flex;
align-items: center;
justify-content: center;
background-color: #5334ab;
transition: all 0.5s;
}

.card::before {
top: 0;
right: 0;
border-radius: 0 15px 0 100%;
}

.card::after {
bottom: 0;
left: 0;
border-radius: 0 100% 0 15px;
}

.card:hover::before,
.card:hover::after {
width: 100%;
height: 100%;
border-radius: 15px;
transition: all 0.5s;
}

.card-content {
z-index: 1;
color: white;
transition: opacity 0.5s;
}

.card-hover-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
opacity: 0;
z-index: 2;
transition: opacity 0.5s;
padding: 20px;
box-sizing: border-box;
font-size: 1.5vw;
}

.card:hover .card-hover-text {
opacity: 1;
}

.card:hover .card-content {
opacity: 0;
}

@media (min-width: 800px) {
.card {
width: 70vw;
height: 33vh;
}

.card-hover-text {
font-size: 18px;
}
}

@media (max-width: 400px) {
.card {
width: 90vw;
height: 28vh;
}

.card-hover-text {
font-size: 12px;
}
}

.footer-basic {
padding: 40px 0;
background-color: rgb(9, 5, 40, 0.9);
}

.footer-basic ul {
padding: 0;
list-style: none;
text-align: center;
font-size: 18px;
line-height: 1.6;
margin-bottom: 0;
display: flex;
justify-content: center;
}

.footer-basic li {
padding: 0 10px;
}

.footer-basic ul a {
color: var(--light);
padding: 8px;
font-weight: 500;
border: 1px solid transparent;
text-decoration: none;
transition: 0.3s ease-in;
opacity: 0.8;
}

.footer-basic ul a:hover {
opacity: 1;
color: var(--primary);
border-top-color: var(--primary);
border-bottom-color: var(--primary);
}

.footer-basic .copyright {
margin-top: 15px;
text-align: center;
font-size: 13px;
color: rgb(255, 255, 255);
margin-bottom: 0;
}
34 changes: 29 additions & 5 deletions assets/about/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<div id="progress-bar"></div>

<!-- Navigation bar section start -->
<!-- Navigation bar section start -->
<header>
<nav class="navbar">
<div class="image-logo">
Expand Down Expand Up @@ -87,7 +87,8 @@
</nav>
</header>

<div class="about-section">
<!-- Main content section -->
<!-- <div class="about-section">
<div class="heading-container">
<h1>About Us</h1>
</div>
Expand All @@ -106,20 +107,43 @@ <h1>Join Us</h1>
<div class="para-section">
<p>If you are interested in contributing to this wonderful project, I highly encourage you to join my CalcDiverse community and contribute to my exciting journey!</p>
</div>
</div> -->

<!-- Card section -->

<!-- Card section -->
<div class="card-container">
<div class="card">
<div class="card-content">Our Mission</div>
<div class="card-hover-text">
CalcDiverse is a customized collection of various types of calculators. In this project, we have several calculators that you might require in your day-to-day life. Having these calculators available at your fingertips will make your life easier and smoother. From simple to complex, there are a wide range of calculators available. Anyone with basic knowledge of web development can contribute to this project!
</div>
</div>
<div class="card">
<div class="card-content">Our Vision</div>
<div class="card-hover-text">
Our mission is to simplify people's work by providing them with a range of calculators that can aid them in performing any type of calculation. From the simplest of calculations to the most complex ones, all of them can be performed in a quick matter of time. CalcDiverse is always there to simplify calculations and enhance productivity!
</div>
</div>
<div class="card">
<div class="card-content">Our Goal</div>
<div class="card-hover-text">
If you are interested in contributing to this wonderful project, I highly encourage you to join my CalcDiverse community and contribute to my exciting journey!
</div>
</div>
</div>

<!-- Scroll to Top Button -->
<div id="progress">
<span id="progress-value" class="bi bi-arrow-up-short"></span>
</div>
<!-- Scroll to Top Button Ends Here -->

<!-- -----------------------------------Footer Code Starts ------------------------------------------- -->
<!-- ----------------------------------- Footer Code Starts ------------------------------------------- -->
<footer>
<div class="footer-container">
<div class="company-info">
<h1 class="company-name heading">CalcDiverse</h1>
<p>CalcDiverse is a customized collection of calculators for various aspects of mathematical calculations. Here in this project , we have several calculators which we require in our day to day life. The calculators range from complex to simple calculators. Any one with a basic knowledge of web development can contribute in this project !</p>
<p>CalcDiverse is a customized collection of calculators for various aspects of mathematical calculations. Here in this project, we have several calculators which we require in our day to day life. The calculators range from complex to simple calculators. Anyone with a basic knowledge of web development can contribute to this project!</p>
</div>
<div class="quick-links">
<h1 class="heading">Quick Links</h1>
Expand Down