feat: Add Docker support and improve API structure
- Introduced Dockerfile and .dockerignore for containerization. - Removed unused API route `src/app/api/hello/route.ts`. - Added new API route for fetching products by category. - Enhanced existing product category API to include descriptions. - Updated product categories data structure to include descriptions. - Improved product fetching logic in the product categories page. - Refactored breadcrumb component for better navigation. - Added new AchievementIconWhite component for UI consistency. - Updated Navbar to use routeFactory for better maintainability. - Enhanced styling in various components for improved responsiveness. - Removed obsolete language switcher component.
This commit is contained in:
+40
-1
@@ -106,10 +106,19 @@
|
||||
}
|
||||
|
||||
* {
|
||||
|
||||
font-family: 'Manrope';
|
||||
}
|
||||
|
||||
html{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media (width <=48rem) {
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
:root {
|
||||
--primary: #FA003F;
|
||||
@@ -185,3 +194,33 @@
|
||||
padding-inline: 8rem;
|
||||
}
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
width: 100%;
|
||||
padding-inline: 1rem;
|
||||
|
||||
@media (width >=40rem) {
|
||||
max-width: 100%;
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
|
||||
@media (width >=48rem) {
|
||||
max-width: 100%;
|
||||
padding-inline: 1.5rem;
|
||||
}
|
||||
|
||||
@media (width >=64rem) {
|
||||
max-width: 100%;
|
||||
padding-inline: 2rem;
|
||||
}
|
||||
|
||||
@media (width >=80rem) {
|
||||
max-width: 100%;
|
||||
padding-inline: 3rem;
|
||||
}
|
||||
|
||||
@media (width >=96rem) {
|
||||
max-width: 100%;
|
||||
padding-inline: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user