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:
32
Gallus_Pub_v1/styles/components/EventsGrid.css
Normal file
32
Gallus_Pub_v1/styles/components/EventsGrid.css
Normal file
@ -0,0 +1,32 @@
|
||||
article {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.events-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||
gap: 2rem;
|
||||
margin: 3rem 0;
|
||||
}
|
||||
.event-card {
|
||||
background-color: #2a2a2a;
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
.event-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
.event-card h3 {
|
||||
margin-bottom: 0.5rem;
|
||||
color: #ffa500;
|
||||
}
|
||||
.event-card .date {
|
||||
font-size: 0.9rem;
|
||||
color: #ccc;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.event-card .description {
|
||||
font-size: 1rem;
|
||||
color: #eee;
|
||||
}
|
||||
Reference in New Issue
Block a user