Compare commits

..

No commits in common. "ff6c7f6f68077ef3c6cb44070694d9cfbf976b7b" and "b4e5c1ac62b2f7fd92346ed3110292c9c95c9ffc" have entirely different histories.

62 changed files with 58 additions and 39 deletions

5
.dockerignore Executable file
View file

@ -0,0 +1,5 @@
node_modules
dist
target
package-lock.json
.*

5
.firebaserc Executable file
View file

@ -0,0 +1,5 @@
{
"projects": {
"default": "schmelczer-dev"
}
}

View file

@ -1,38 +0,0 @@
name: Check & deploy
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '12'
- name: Install dependencies
run: |
npm install
- name: Build
run: |
npm run build
- name: Copy files to nginx pages mount
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
apt update && apt install -y rsync
rsync -a --delete --mkpath --chmod=ugo=rwx dist/ /pages/photos/

0
.gitattributes vendored Normal file → Executable file
View file

21
.github/workflows/main.yaml vendored Executable file
View file

@ -0,0 +1,21 @@
name: Deploy site
on:
push:
branches:
- main
jobs:
firebase-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch with lfs
uses: actions/checkout@master
- name: Build site
run: |
npm install
npm run build
- name: Deploy html
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting:photo-schmelczer-dev --project schmelczer-dev
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

0
.gitignore vendored Normal file → Executable file
View file

0
.prettierrc Normal file → Executable file
View file

2
README.md Normal file → Executable file
View file

@ -1 +1,3 @@
# Photos # Photos
![Deploy everything](https://github.com/schmelczerandras/photos/workflows/Deploy%20everything/badge.svg)

0
custom.d.ts vendored Normal file → Executable file
View file

24
firebase.json Executable file
View file

@ -0,0 +1,24 @@
{
"hosting": {
"site": "photo-schmelczer-dev",
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/*.@(jpg|jpeg|gif|png|webm|mp4)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
}
]
}
}

BIN
og-image.jpg Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 243 KiB

Before After
Before After

0
package.json Normal file → Executable file
View file

0
src/helper/create-image.ts Normal file → Executable file
View file

0
src/helper/last.ts Normal file → Executable file
View file

0
src/index.html Normal file → Executable file
View file

0
src/index.scss Normal file → Executable file
View file

0
src/index.ts Normal file → Executable file
View file

0
src/model/responsive-image.ts Normal file → Executable file
View file

0
src/no-change/404.html Normal file → Executable file
View file

0
src/no-change/robots.txt Normal file → Executable file
View file

0
src/photos.ts Normal file → Executable file
View file

0
src/pictures/_DSC1190-Edit.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Before After
Before After

0
src/pictures/_DSC1484.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 3 MiB

After

Width:  |  Height:  |  Size: 3 MiB

Before After
Before After

0
src/pictures/_DSC1834.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Before After
Before After

0
src/pictures/_DSC2313.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

0
src/pictures/_DSC2362.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Before After
Before After

0
src/pictures/_DSC2674.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Before After
Before After

0
src/pictures/_DSC8718-Edit.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 9.6 MiB

After

Width:  |  Height:  |  Size: 9.6 MiB

Before After
Before After

0
src/pictures/adam.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Before After
Before After

0
src/pictures/dorka-1.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Before After
Before After

0
src/pictures/kezdetazarovonalbol.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 6.7 MiB

After

Width:  |  Height:  |  Size: 6.7 MiB

Before After
Before After

0
src/pictures/nap-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 279 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Before After
Before After

0
src/pictures/nyomtatas-10.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 6.5 MiB

After

Width:  |  Height:  |  Size: 6.5 MiB

Before After
Before After

0
src/pictures/nyomtatas-8.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 7.6 MiB

After

Width:  |  Height:  |  Size: 7.6 MiB

Before After
Before After

0
src/pictures/web-1-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 381 KiB

After

Width:  |  Height:  |  Size: 381 KiB

Before After
Before After

0
src/pictures/web-1.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Before After
Before After

0
src/pictures/web-10.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 193 KiB

After

Width:  |  Height:  |  Size: 193 KiB

Before After
Before After

0
src/pictures/web-11.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 240 KiB

Before After
Before After

0
src/pictures/web-12.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Before After
Before After

0
src/pictures/web-13.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 307 KiB

After

Width:  |  Height:  |  Size: 307 KiB

Before After
Before After

0
src/pictures/web-14.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Before After
Before After

0
src/pictures/web-17.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Before After
Before After

0
src/pictures/web-18.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

Before After
Before After

0
src/pictures/web-19.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 321 KiB

Before After
Before After

0
src/pictures/web-2-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 413 KiB

After

Width:  |  Height:  |  Size: 413 KiB

Before After
Before After

0
src/pictures/web-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 353 KiB

Before After
Before After

0
src/pictures/web-20.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

Before After
Before After

0
src/pictures/web-22.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 381 KiB

After

Width:  |  Height:  |  Size: 381 KiB

Before After
Before After

0
src/pictures/web-23.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 356 KiB

After

Width:  |  Height:  |  Size: 356 KiB

Before After
Before After

0
src/pictures/web-24.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Before After
Before After

0
src/pictures/web-25.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Before After
Before After

0
src/pictures/web-26.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 297 KiB

After

Width:  |  Height:  |  Size: 297 KiB

Before After
Before After

0
src/pictures/web-3-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 313 KiB

After

Width:  |  Height:  |  Size: 313 KiB

Before After
Before After

0
src/pictures/web-3.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB

Before After
Before After

0
src/pictures/web-4-2.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 369 KiB

After

Width:  |  Height:  |  Size: 369 KiB

Before After
Before After

0
src/pictures/web-42.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

0
src/pictures/web-5.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Before After
Before After

0
src/pictures/web-6.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 465 KiB

After

Width:  |  Height:  |  Size: 465 KiB

Before After
Before After

0
src/pictures/web-7.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 670 KiB

After

Width:  |  Height:  |  Size: 670 KiB

Before After
Before After

0
src/pictures/web-8.jpg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 810 KiB

After

Width:  |  Height:  |  Size: 810 KiB

Before After
Before After

0
tsconfig.json Normal file → Executable file
View file

0
webpack.config.js Normal file → Executable file
View file