Refactor and enhance Gallus Pub website:
- **Added component-specific styles**: Introduced scoped CSS files for `Hero`, `Header`, `Drinks`, `Footer`, and `Welcome` components. - **Expanded functionality**: Added `Drinks` section with a new layout and stylized elements. - **Assets fix**: Replaced asset links with correct paths, ensuring consistency for images and files (e.g., `Welcome.png`, `Menu.pdf`). - **Reorganized header and footer**: Modernized `Header` layout with a fixed navbar, added utility spacer, and redesigned footer to include additional details. - **Integrated Docker and CI/CD**: Added `Dockerfile`, `fly.toml`, and `.woodpecker.yml` for multi-environment deployment. - **Improved homepage**: Incorporated `Drinks` component and updated styles for cohesive design. - **CSS cleanup**: Removed redundant global styles from `index.css` and migrated them to appropriate scoped styles. Complete revamp to provide modular and deployable updates for long-term scalability.
This commit is contained in:
41
Gallus_Pub_v1/styles/components/Welcome.css
Normal file
41
Gallus_Pub_v1/styles/components/Welcome.css
Normal file
@ -0,0 +1,41 @@
|
||||
/* === Welcome === */
|
||||
.welcome {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
background-color: #1f3a2d;
|
||||
padding: 3rem 0;
|
||||
margin-bottom: 2rem;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.welcome-text {
|
||||
order: 1;
|
||||
flex: 2 1 400px;
|
||||
padding: 0 1.6rem 0 2rem;
|
||||
color: #fff3e0;
|
||||
}
|
||||
|
||||
.welcome-text h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #e8c6a7;
|
||||
}
|
||||
|
||||
.welcome-text ul {
|
||||
margin: 1rem 0;
|
||||
padding-left: 1.2rem;
|
||||
}
|
||||
|
||||
.welcome-image {
|
||||
order: 2;
|
||||
height: 100%;
|
||||
flex: 1 1 300px;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.welcome-image img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
}
|
||||
Reference in New Issue
Block a user