-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into update-privacy
- Loading branch information
Showing
537 changed files
with
19,413 additions
and
21,665 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: lint | ||
|
||
on: push | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎 | ||
uses: actions/checkout@master | ||
|
||
- name: Setup node env 🏗 | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 22 | ||
cache: npm | ||
|
||
- name: Install dependencies 👨🏻💻 | ||
run: npm ci | ||
|
||
- name: Run linter 👀 | ||
run: npm run lint-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,24 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Node template | ||
# Logs | ||
/logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# next.js build output | ||
.next | ||
|
||
# nuxt.js build output | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
|
||
# Nuxt generate | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# IDE / Editor | ||
.idea | ||
# Node dependencies | ||
node_modules | ||
|
||
# Service worker | ||
sw.* | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# macOS | ||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Vim swap files | ||
*.swp | ||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,59 @@ | ||
# 🌈 Website of DWH | ||
# 🌈 Websites of DWH | ||
|
||
[![Netlify Status](https://api.netlify.com/api/v1/badges/267389a7-6a04-4d23-85c1-0956dfd672a1/deploy-status)](https://app.netlify.com/sites/dwh/deploys) | ||
## Setup | ||
|
||
DWH is the independent LGBT+ association of Delft and surroundings. | ||
DWH is the independent LGBT+ association of Delft and surroundings. | ||
We're two things: a meeting place for LGBT+ people and their friends and a group that actively | ||
pushes for greater LGBT+ rights and acceptance. | ||
|
||
The website is a (statically generated) [Nuxt.js](https://nuxtjs.org) app hosted on [Netlify](https://netlify.com). | ||
The website is a (statically generated) [Nuxt.js](https://nuxtjs.org) app hosted on [Cloudflare](https://cloudflare.com). | ||
The app makes heavy use of [Vue.js](https://vuejs.org/) and [Tailwind CSS](https://tailwindcss.com/). | ||
|
||
|
||
## Node version | ||
Compatible node versions: `(^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0)`. | ||
## Requirements | ||
|
||
We recommend node v16. | ||
|
||
For node v17 and up, a [ERR_OSSL_EVP_UNSUPPORTED error](https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported) can arrise. To surpress this, switch to an older version (node v16), or set `NODE_OPTIONS=--openssl-legacy-provider` in your .zshrc. | ||
* [Node.js 22](https://nodejs.org/en) | ||
* NPM | ||
|
||
## Build Setup | ||
|
||
```bash | ||
# install dependencies | ||
$ yarn install | ||
npm install | ||
``` | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ yarn dev | ||
## Development | ||
|
||
# build for production and launch server | ||
$ yarn build | ||
$ yarn start | ||
```bash | ||
npm run dev <domain> | ||
|
||
# generate static project | ||
$ yarn generate | ||
# For example: | ||
npm run dev dwhdelft.nl | ||
npm run dev outsite.nl | ||
``` | ||
|
||
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). | ||
_The domain argument is actually the subdirectory. We use [Nuxt layers](https://nuxt.com/docs/getting-started/layers) to generate multiple websites from the same codebase._ | ||
|
||
### Recommended development tools | ||
|
||
* [Visual Studio Code](https://code.visualstudio.com) | ||
* [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) | ||
* [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) | ||
* [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) | ||
* [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) | ||
* [Vue.js devtools](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd) | ||
|
||
## Production | ||
|
||
## Page Types | ||
Build the application for production: | ||
|
||
The "easier" pages are Markdown based and can be found in `content/pages`. | ||
There are multiple layouts available for these pages. | ||
The markdown pages can make use of components from `components/globals`. | ||
See [the documentation of Nuxt Content](https://content.nuxtjs.org/writing) for further details. | ||
```bash | ||
npm run build <domain> | ||
``` | ||
|
||
Locally preview production build: | ||
|
||
```bash | ||
npm run preview <domain> | ||
``` | ||
|
||
The more complex pages of the website live in the `pages/` directory and are Vue components, | ||
supported by the components in `components/`. | ||
When these pages have content-heavy elements, their content usually comes from markdown files in the | ||
`content/` directory. | ||
Check out the [Nuxt deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.