Skip to content
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
9 changes: 9 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ def home():
def dashboard():
return render_template('dashboard.html')

@app.route('/about')
def about():
return render_template('about.html')

@app.route('/contact')
def contact():
return render_template('contact.html')



def index():
"""Main route with language detection"""
Expand Down
Binary file added static/images/contact-side.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 183 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1403,3 +1403,186 @@ body.dark .summary-box p { color: var(--text-secondary-dark); }
transform: none !important; /* remove overlapping translation */
margin-top: 0; /* spacing handled by gap */
}

/*About us*/
.about-card {
background: var(--card-light);
border-radius: 1.5rem;
box-shadow: var(--shadow-light);
padding: 2rem;
margin: 3rem auto;
max-width: 900px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
body.dark .about-card {
background: var(--card-dark);
box-shadow: var(--shadow-dark);
border-color: rgba(255, 255, 255, 0.1);
}

.about-card h2 {
color: #6c5ce7;
font-size: 2rem;
font-weight: 800;
text-align: center;
margin-bottom: 1.5rem;
}
.about-card h3 {
color: var(--text-primary-light);
font-size: 1.25rem;
margin-top: 1.5rem;
}
.about-card p {
color: var(--text-secondary-light);
line-height: 1.6;
font-size: 1rem;
}

.about-card {
background: var(--card-light);
border-radius: 1.5rem;
box-shadow: var(--shadow-light);
padding: 2rem;
margin: 3rem auto;
max-width: 900px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
body.dark .about-card {
background: var(--card-dark);
box-shadow: var(--shadow-dark);
border-color: rgba(255, 255, 255, 0.1);
}

.about-card h2 {
color: #6c5ce7;
font-size: 2rem;
font-weight: 800;
text-align: center;
margin-bottom: 1.5rem;
}
.about-card h3 {
color: var(--text-primary-light);
font-size: 1.25rem;
margin-top: 1.5rem;
}
.about-card p {
color: var(--text-secondary-light);
line-height: 1.6;
font-size: 1rem;
}

/*Contact us*/

.contact-section {
display: flex;
justify-content: center;
align-items: center;
padding: 3rem 2rem;
}

.contact-container {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 2rem;
max-width: 1000px;
width: 100%;
background: white;
border-radius: 1.5rem;
padding: 2rem;
box-shadow: var(--shadow-light);
backdrop-filter: blur(10px);
}

.contact-form-box h1 {
color: #6c5ce7;
font-size: 2rem;
font-weight: 800;
margin-bottom: 1rem;
}

.contact-form-box p {
color: var(--text-secondary-light);
margin-bottom: 1.5rem;
}

.contact-form .form-group {
margin-bottom: 1.25rem;
}

.contact-form label {
display: block;
font-weight: 400;
margin-bottom: 0.5rem;
color: var(--text-primary-light);
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 0.75rem;
border-radius: 0.5rem;
border: 2px solid var(--border-light);
font-size: 0.95rem;
background: rgba(255, 255, 255, 0.85);
color: var(--text-primary-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: #6c5ce7;
}

.submit-btn {
background-color: #6c5ce7;
color: #fff;
padding: 0.75rem 1.25rem;
border: none;
border-radius: 0.5rem;
font-weight: 600;
cursor: pointer;
transition: 0.2s;
}

.submit-btn:hover {
background-color: #5848c2;
}

.github-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
margin-top: 1.5rem;
color: #24292e;
background-color: #f6f8fa;
border: 1px solid #d0d7de;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 600;
transition: 0.2s;
}

.github-btn:hover {
background-color: #eaeef2;
}

.contact-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 1rem;
box-shadow: var(--shadow-light);
}

@media (max-width: 768px) {
.contact-container {
grid-template-columns: 1fr;
}
.contact-image {
display: none;
}
}

Loading