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:
26
Gallus_Pub_v1/.woodpecker.yml
Normal file
26
Gallus_Pub_v1/.woodpecker.yml
Normal file
@ -0,0 +1,26 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: node:20-alpine
|
||||
commands:
|
||||
- npm ci
|
||||
- npm run build
|
||||
when:
|
||||
branch: main
|
||||
event: [push, pull_request]
|
||||
deploy:
|
||||
depends_on: [build]
|
||||
image: flyio/flyctl:latest
|
||||
secrets: [fly_api_token]
|
||||
commands:
|
||||
- flyctl deploy --remote-only
|
||||
when:
|
||||
branch: main
|
||||
event: push
|
||||
|
||||
branches:
|
||||
include: [main, dev]
|
||||
|
||||
cache:
|
||||
mount:
|
||||
- node_modules
|
||||
- .npm
|
||||
Reference in New Issue
Block a user