Skip to content

Commit 23d812a

Browse files
committed
Initial commit
0 parents  commit 23d812a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+9782
-0
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["poi/babel"],
3+
"plugins": ["react-hot-loader/babel"]
4+
}

.eslintrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "eslint-config-synacor",
3+
"parser": "typescript-eslint-parser",
4+
"plugins": ["typescript"],
5+
"rules": {
6+
"indent": ["error", 4],
7+
"comma-dangle": 0,
8+
"react/prefer-stateless-function": 0,
9+
"no-undef": 0,
10+
"no-unused-vars": 0,
11+
"react/jsx-indent-props": 0,
12+
"compat/compat": 0
13+
}
14+
}

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Install dependencies
15+
run: yarn
16+
- name: Build website
17+
run: yarn build
18+
- uses: netlify/actions/cli@master
19+
with:
20+
args: deploy --dir=build/ --prod
21+
env:
22+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
23+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.DS_Store
2+
node_modules/
3+
build/
4+
.vscode/last.sql
5+
yarn-error.log
6+
.vscode/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v12.14.1

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.PHONY: build
2+
3+
build:
4+
yarn build

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
This is the Hamburg version of the pizza python site.
2+
3+
It has been edited by a frontend amateur surfer not a pro so .. I am adding some info not to forget.
4+
5+
# Things to change
6+
The template is pretty self explanatory, so main things for the future:
7+
8+
- speakers, sponsors and schedule data have to be added to [dataset](src/dataset.ts)
9+
- COC template definition to be edited in: [Coc](src/Components/Home/Sections/Coc.tsx )
10+
- CFP information can be added in: [home](src/Components/Home/Sections/Speakers.tsx)
11+
- link to ticket information to be added to: [header](src/Components/Header/index.tsx)
12+
13+
When having only *x* sponsors in the array please edit the CSS template for the [SponsorsShowcase](src/Components/SponsorsShowcase/index.css), by changing the elements last-child and first-child to have
14+
15+
```grid-template-columns: repeat(x, 1fr);```
16+
17+
The rest is all the media which goes in [assets](assets)
18+
19+
# How to run/compile the wesite
20+
21+
Besides installing ```npm``` and ```node``` also install ```yarn``` (using ```npm install -g yarn```).
22+
23+
For the first time you set up the project, run ```yarn``` to build all the files.
24+
25+
For running the site locally execute:
26+
27+
```$ yarn dev```

assets/bg.jpg

787 KB
Loading

assets/bg2.jpg

482 KB
Loading

assets/socials/facebook.png

1.35 KB
Loading

0 commit comments

Comments
 (0)