https://github.com/focus-shift/landingpage
Focus Shift GmbH Landingpage
https://github.com/focus-shift/landingpage
Last synced: 5 months ago
JSON representation
Focus Shift GmbH Landingpage
- Host: GitHub
- URL: https://github.com/focus-shift/landingpage
- Owner: focus-shift
- Created: 2020-10-22T11:16:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T03:44:39.000Z (6 months ago)
- Last Synced: 2026-01-11T01:05:41.392Z (6 months ago)
- Language: CSS
- Homepage: https://focus-shift.de
- Size: 246 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Focus Shift Software GmbH - Landingpage
## Development
- [eleventy](https://www.11ty.dev/) static site generator: builds the static html sites which can be found in `build`
- including assets (css, js) which will be copied
start developing with hot module reloading in the browser:
first install all dependencies with
```bash
npm install
```
then run
```bash
npm run dev
```
build the production page:
```bash
npm run build
```
### git hooks (optional)
Zum Automatisieren verschiedener Dinge bietet dir das Projekt [git hooks](https://git-scm.com/book/uz/v2/Customizing-Git-Git-Hooks)
an. Diese kannst du mit folgendem Befehl installieren:
```bash
git config core.hooksPath '.githooks'
```
Die Git-Hooks sind im [.githooks](./.githooks/) Verzeichnis zu finden.
### The production build
- creates non optimized html files with [eleventy](https://www.11ty.dev/)
- optimizes (e.g. minfies) html files with `@snowpack/plugin-optimize`
- optimizes css via `@snowpack/plugin-postcss`
- add content hashes to scripts and stylesheets with `./snowpack-plugin-cache-bust`