Skip to content

Commit

Permalink
Reset build and try again
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaan-Samar committed Nov 9, 2024
1 parent cd06167 commit 441b1d9
Show file tree
Hide file tree
Showing 3 changed files with 396 additions and 5 deletions.
130 changes: 129 additions & 1 deletion src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import { RouterLink } from 'vue-router'
const currentYear = computed(() => new Date().getFullYear())
</script>

<style scoped>
<!-- <style scoped>
.footer {
background-color: #2c3e50;
color: white;
Expand Down Expand Up @@ -151,4 +151,132 @@ const currentYear = computed(() => new Date().getFullYear())
text-align: center;
}
}
</style> -->

<style scoped>
.footer {
background-color: #2c3e50;
color: white;
padding-top: 2rem;
margin-top: auto;
}

.footer-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
}

.footer-section {
flex: 1;
min-width: 250px; /* Ensures a minimum width on larger screens */
}

.footer-title {
font-size: 1.5rem; /* Consider adjusting based on screen size */
margin-bottom: 1rem;
font-weight: bold;
}

.footer-subtitle {
font-size: 1.1rem; /* Adjust for smaller screens */
margin-bottom: 0.8rem;
color: #bbbbbb;
}

.footer-description {
color: #bbbbbb;
line-height: 1.6;
}

.footer-links {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.footer-link {
color: #bbbbbb;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-link:hover {
color: white;
}

.footer-bottom {
margin-top: 2rem;
padding: 1.5rem 0;
border-top: 1px solid #3d5266;
}

.footer-bottom .footer-container {
display: flex;
justify-content: space-between;
align-items: center; /* Center items vertically */
}

.copyright {
color: #bbbbbb;
}

.social-links {
display: flex;
gap: 1rem; /* Space between social icons */
}

.social-link {
color: #bbbbbb;
text-decoration: none;
transition: color 0.3s ease;
}

.social-link:hover {
color: white; /* On hover, change color */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
/* Tablet and smaller desktops */
.footer-title {
font-size: 1.4rem; /* Slightly smaller title */
}

.footer-subtitle {
font-size: 1rem; /* Adjust subtitle size */
}
}

@media (max-width: 768px) {
/* Mobile devices */
.footer-container {
flex-direction: column; /* Stack sections vertically */
gap: 2rem; /* Space between sections */
}

.footer-section {
min-width: auto; /* Allow full width on mobile */
flex-basis: auto; /* Allow sections to grow/shrink */
}

.footer-title {
font-size: 1.3rem; /* Smaller title for mobile */
}

.footer-subtitle {
font-size: 0.9rem; /* Smaller subtitle for mobile */
}

.footer-bottom .footer-container {
flex-direction: column; /* Stack items in footer bottom */
gap: 0.5rem; /* Space between footer bottom items */
text-align: center; /* Center align text on mobile */
}
}
</style>
76 changes: 75 additions & 1 deletion src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import { RouterLink } from 'vue-router'
</script>

<style scoped>
<!-- <style scoped>
.header {
max-width: 1200px;
width: 1000px;
Expand Down Expand Up @@ -62,4 +62,78 @@ import { RouterLink } from 'vue-router'
.nav-link:hover {
background-color: #34495e;
}
</style> -->
<style scoped>
.header {
max-width: 1200px;
width: 100%; /* Changed to 100% for better responsiveness */
background-color: #2c3e50;
color: white;
padding: 1rem;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 1.8rem; /* Increased size for better visibility */
font-weight: bold;
color: white;
text-decoration: none;
}

.nav-links {
display: flex;
gap: 1rem; /* Space between links */
}

.nav-link {
color: white;
text-decoration: none;
padding: 0.5rem 1rem; /* Consistent padding */
border-radius: 4px;
transition:
background-color 0.3s,
color 0.3s; /* Added color transition */
}

.nav-link:hover {
background-color: #34495e; /* Darker shade on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
/* Tablet and smaller desktops */
.logo {
font-size: 1.6rem; /* Slightly smaller logo */
}

.nav-link {
padding: 0.5rem; /* Adjust padding for smaller screens */
}
}

@media (max-width: 768px) {
/* Mobile devices */
.nav-container {
flex-direction: column; /* Stack items vertically */
align-items: flex-start; /* Align items to the start */
}

.nav-links {
flex-direction: column; /* Stack links vertically */
gap: 0.5rem; /* Reduce gap between links */
width: 100%; /* Full width for mobile navigation */
}

.nav-link {
width: 100%; /* Make links full width */
text-align: center; /* Center text in links */
}
}
</style>
Loading

0 comments on commit 441b1d9

Please sign in to comment.