init 2
Build / Build-image (push) Failing after 5s

This commit is contained in:
2026-08-08 23:51:17 +02:00
parent bb7a17a874
commit 7bb26eeb43
21 changed files with 634 additions and 818 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ on: [push]
jobs:
Build-image:
env:
IMAGE_NAME: zartosztaly
IMAGE_NAME:
REGISTRY_NAME: gitea.sc0tt.org
GIT_TAG: 2.0.3
GIT_TAG: 0.1
runs-on: ubuntu-latest
steps:
- name: Checkout
+11
View File
@@ -0,0 +1,11 @@
FROM gitea.sc0tt.org/belupeti/laravel-franken:1.0
COPY . /app
WORKDIR /app
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --optimize-autoloader && \
npm install && \
npm run build && \
rm -rf node_modules
+37
View File
@@ -0,0 +1,37 @@
services:
web:
image: gitea.sc0tt.org/belupeti/laravel-franken:1.0
depends_on:
- db
ports:
- 8080:80
- "5173:5173"
volumes:
- .:/app
env_file:
- .env
restart: unless-stopped
db:
image: "mariadb:lts"
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "${DB_PASSWORD}"
MYSQL_ROOT_HOST: "%"
MYSQL_DATABASE: "${DB_DATABASE}"
MYSQL_USER: "${DB_USERNAME}"
MYSQL_PASSWORD: "${DB_PASSWORD}"
volumes:
- db:/var/lib/mysql
adminer:
image: adminer
depends_on:
- db
ports:
- 8000:8080
volumes:
db:
+533 -42
View File
@@ -1,11 +1,13 @@
{
"name": "tla",
"name": "app",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"vue": "^3.5.41"
"@vitejs/plugin-vue": "^6.0.8",
"vue": "^3.5.41",
"vue-router": "^5.2.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
@@ -15,6 +17,69 @@
"vite": "^8.0.0"
}
},
"node_modules/@babel/generator": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.0.tgz",
"integrity": "sha512-NT9NrVwJsbSV6Y2FSstWa71EETOnzrjkL5/wX3D2mYHtKM+qvqB1DvR4D0Setb/gDBsHzRICifwEWMO8CnTF6g==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^8.0.0",
"@babel/types": "^8.0.0",
"@jridgewell/gen-mapping": "^0.3.12",
"@jridgewell/trace-mapping": "^0.3.28",
"@types/jsesc": "^2.5.0",
"jsesc": "^3.0.2"
},
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/generator/node_modules/@babel/helper-string-parser": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.0.tgz",
"integrity": "sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==",
"license": "MIT",
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/generator/node_modules/@babel/helper-validator-identifier": {
"version": "8.0.4",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.4.tgz",
"integrity": "sha512-4wFaiLd0bVo4cIoTXI3zKI038NIWE/cr3jvBjejOVYVxV/m8Ltav1USiGzG1fmS5J2RhgEOgXNNK46cRPnRsrg==",
"license": "MIT",
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/generator/node_modules/@babel/parser": {
"version": "8.0.4",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.4.tgz",
"integrity": "sha512-srpptsAkEbbNIC/q8nT7o+m6CQe8CJUTV/t7MYc9NnWlgYVtHOb7JH6SorxMhN0kuRJjVqXbKClG6xSbPtzz+g==",
"license": "MIT",
"dependencies": {
"@babel/types": "^8.0.4"
},
"bin": {
"parser": "bin/babel-parser.js"
},
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/generator/node_modules/@babel/types": {
"version": "8.0.4",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.4.tgz",
"integrity": "sha512-eY+Yn3dCqTGmyiq2QRU66lA5FL8lqqqvecHt0fF3uHONIa7ToYsaCiWV8lOKqAs0Rb2SjixiKFROngnulPtt2g==",
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.0",
"@babel/helper-validator-identifier": "^8.0.4"
},
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/helper-string-parser": {
"version": "7.29.7",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
@@ -65,7 +130,6 @@
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.0",
@@ -76,7 +140,6 @@
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
"integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.5",
@@ -87,7 +150,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -103,7 +165,6 @@
"version": "0.3.31",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
@@ -114,7 +175,6 @@
"version": "0.143.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.143.0.tgz",
"integrity": "sha512-u6JZdLBTLotrNC9Vd6vPssINdzcCzleKAH6EJKImQb7GtYvX5keN2dxkoK44stCc4tffE6QQRtZTXVSzsLUlWA==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/Boshen"
@@ -127,7 +187,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -144,7 +203,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -161,7 +219,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -178,7 +235,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -195,7 +251,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -212,7 +267,6 @@
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
@@ -232,7 +286,6 @@
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"musl"
],
@@ -252,7 +305,6 @@
"cpu": [
"ppc64"
],
"dev": true,
"libc": [
"glibc"
],
@@ -272,7 +324,6 @@
"cpu": [
"s390x"
],
"dev": true,
"libc": [
"glibc"
],
@@ -292,7 +343,6 @@
"cpu": [
"x64"
],
"dev": true,
"libc": [
"glibc"
],
@@ -312,7 +362,6 @@
"cpu": [
"x64"
],
"dev": true,
"libc": [
"musl"
],
@@ -332,7 +381,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -349,7 +397,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -366,7 +413,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -380,7 +426,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",
"integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",
"dev": true,
"license": "MIT"
},
"node_modules/@tailwindcss/node": {
@@ -667,6 +712,55 @@
"vite": "^5.2.0 || ^6 || ^7 || ^8"
}
},
"node_modules/@types/jsesc": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/@types/jsesc/-/jsesc-2.5.1.tgz",
"integrity": "sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==",
"license": "MIT"
},
"node_modules/@vitejs/plugin-vue": {
"version": "6.0.8",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.8.tgz",
"integrity": "sha512-0ZjgOg7oO6farnNGup7yvoM/YXZV84OZxHAwtflItNa/6zzQyVb5LNxyea3FEKEX2XlagIKzrlH7wwxkKgtiew==",
"license": "MIT",
"dependencies": {
"@rolldown/pluginutils": "^1.0.1"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"vue": "^3.2.25"
}
},
"node_modules/@vue-macros/common": {
"version": "3.1.4",
"resolved": "https://registry.npmjs.org/@vue-macros/common/-/common-3.1.4.tgz",
"integrity": "sha512-/5Fv+6DgIcM9ajY05ZmKBv+LMX1M9A0X+IUwDRVdt67ciw8OV9bvG2r34p3RiEadlsQybjhKPRKNXDC8Bp23cw==",
"license": "MIT",
"dependencies": {
"@vue/compiler-sfc": "^3.5.22",
"ast-kit": "^2.1.2",
"local-pkg": "^1.1.2",
"magic-string-ast": "^1.0.2",
"unplugin-utils": "^0.3.0"
},
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/sponsors/vue-macros"
},
"peerDependencies": {
"vue": "^2.7.0 || ^3.2.25"
},
"peerDependenciesMeta": {
"vue": {
"optional": true
}
}
},
"node_modules/@vue/compiler-core": {
"version": "3.5.41",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.41.tgz",
@@ -717,6 +811,33 @@
"@vue/shared": "3.5.41"
}
},
"node_modules/@vue/devtools-api": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-8.2.1.tgz",
"integrity": "sha512-6u4vXBlIBAC1wMplIZgpyPn7uh/s4Bf6F5bMzvLv+EdJ0aHs/+4B7Ygv864EStQSjRbsRzTko/kUG1A1IejQ3A==",
"license": "MIT",
"dependencies": {
"@vue/devtools-kit": "^8.2.1"
}
},
"node_modules/@vue/devtools-kit": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-8.2.1.tgz",
"integrity": "sha512-FIGIuq3AWReEpbAHY/cRGeHDfI0qOb8OCQ3YjbEAX04uaxIDbGc9rhkbVcG7rnfHPXE3RsU5KrWOu9V/okd8AQ==",
"license": "MIT",
"dependencies": {
"@vue/devtools-shared": "^8.2.1",
"birpc": "^2.6.1",
"hookable": "^5.5.3",
"perfect-debounce": "^2.0.0"
}
},
"node_modules/@vue/devtools-shared": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-8.2.1.tgz",
"integrity": "sha512-Fkac7lUdGReh6pVOi3AYPRGe82LQqRmAfThW7RRligOAP0ZA/Z1z9XLHDM9dv34pV2HRc79DK8uKPeG2fLnA/g==",
"license": "MIT"
},
"node_modules/@vue/reactivity": {
"version": "3.5.41",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.41.tgz",
@@ -765,6 +886,18 @@
"integrity": "sha512-IOnwSCma8j+9xJT6b8H0dEYidC80NsYmNMlZxRsukYcSoGaDBohog5hDxzeUXdFeGWFA++vWvxqOmrr96VlqMA==",
"license": "MIT"
},
"node_modules/acorn": {
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",
"integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",
"license": "MIT",
"bin": {
"acorn": "bin/acorn"
},
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -791,6 +924,48 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/ast-kit": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/ast-kit/-/ast-kit-2.2.0.tgz",
"integrity": "sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.28.5",
"pathe": "^2.0.3"
},
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/sponsors/sxzz"
}
},
"node_modules/ast-walker-scope": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/ast-walker-scope/-/ast-walker-scope-0.9.0.tgz",
"integrity": "sha512-IJdzo2vLiElBxKzwS36VsCue/62d6IdWjnPB2v3nuPKeWGynp6FF/CYoLa5i/3jXH/z97ZDdsXz6abpgM6w07A==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.29.2",
"@babel/types": "^7.29.0",
"ast-kit": "^2.2.0"
},
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/sponsors/sxzz"
}
},
"node_modules/birpc": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/birpc/-/birpc-2.9.0.tgz",
"integrity": "sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -821,6 +996,21 @@
"node": ">=8"
}
},
"node_modules/chokidar": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz",
"integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==",
"license": "MIT",
"dependencies": {
"readdirp": "^5.0.0"
},
"engines": {
"node": ">= 20.19.0"
},
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/cliui": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
@@ -881,6 +1071,12 @@
"url": "https://github.com/open-cli-tools/concurrently?sponsor=1"
}
},
"node_modules/confbox": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.4.tgz",
"integrity": "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==",
"license": "MIT"
},
"node_modules/csstype": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
@@ -891,7 +1087,6 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8"
@@ -946,11 +1141,16 @@
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
"license": "MIT"
},
"node_modules/exsolve": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.1.1.tgz",
"integrity": "sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==",
"license": "MIT"
},
"node_modules/fdir": {
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=12.0.0"
@@ -968,7 +1168,6 @@
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
@@ -1006,6 +1205,12 @@
"node": ">=8"
}
},
"node_modules/hookable": {
"version": "5.5.3",
"resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz",
"integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==",
"license": "MIT"
},
"node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
@@ -1020,12 +1225,36 @@
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
"integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",
"dev": true,
"devOptional": true,
"license": "MIT",
"bin": {
"jiti": "lib/jiti-cli.mjs"
}
},
"node_modules/jsesc": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
"integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
"license": "MIT",
"bin": {
"jsesc": "bin/jsesc"
},
"engines": {
"node": ">=6"
}
},
"node_modules/json5": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"license": "MIT",
"bin": {
"json5": "lib/cli.js"
},
"engines": {
"node": ">=6"
}
},
"node_modules/laravel-vite-plugin": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-3.1.3.tgz",
@@ -1326,6 +1555,23 @@
"url": "https://opencollective.com/parcel"
}
},
"node_modules/local-pkg": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-1.2.1.tgz",
"integrity": "sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==",
"license": "MIT",
"dependencies": {
"mlly": "^1.7.4",
"pkg-types": "^2.3.0",
"quansync": "^0.2.11"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/magic-string": {
"version": "0.30.21",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
@@ -1335,6 +1581,56 @@
"@jridgewell/sourcemap-codec": "^1.5.5"
}
},
"node_modules/magic-string-ast": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/magic-string-ast/-/magic-string-ast-1.0.3.tgz",
"integrity": "sha512-CvkkH1i81zl7mmb94DsRiFeG9V2fR2JeuK8yDgS8oiZSFa++wWLEgZ5ufEOyLHbvSbD1gTRKv9NdX69Rnvr9JA==",
"license": "MIT",
"dependencies": {
"magic-string": "^0.30.19"
},
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/sponsors/sxzz"
}
},
"node_modules/mlly": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
"integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
"license": "MIT",
"dependencies": {
"acorn": "^8.16.0",
"pathe": "^2.0.3",
"pkg-types": "^1.3.1",
"ufo": "^1.6.3"
}
},
"node_modules/mlly/node_modules/confbox": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
"integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
"license": "MIT"
},
"node_modules/mlly/node_modules/pkg-types": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
"integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
"license": "MIT",
"dependencies": {
"confbox": "^0.1.8",
"mlly": "^1.7.4",
"pathe": "^2.0.1"
}
},
"node_modules/muggle-string": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz",
"integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==",
"license": "MIT"
},
"node_modules/nanoid": {
"version": "3.3.18",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",
@@ -1353,6 +1649,24 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
"node_modules/nostics": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/nostics/-/nostics-1.2.0.tgz",
"integrity": "sha512-FGqEfhQjrvo1lL8KFifdTQiNwwQHJxC1jtYE1Rc54qF/jxONUNL+kC9gS1krX8Q65PgrQ5fCqH/I4NhWBvdSqg==",
"license": "MIT"
},
"node_modules/pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
"integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
"license": "MIT"
},
"node_modules/perfect-debounce": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz",
"integrity": "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==",
"license": "MIT"
},
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -1363,7 +1677,6 @@
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
"integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -1372,6 +1685,17 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/pkg-types": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.1.tgz",
"integrity": "sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==",
"license": "MIT",
"dependencies": {
"confbox": "^0.2.4",
"exsolve": "^1.0.8",
"pathe": "^2.0.3"
}
},
"node_modules/postcss": {
"version": "8.5.26",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",
@@ -1400,6 +1724,35 @@
"node": "^10 || ^12 || >=14"
}
},
"node_modules/quansync": {
"version": "0.2.11",
"resolved": "https://registry.npmjs.org/quansync/-/quansync-0.2.11.tgz",
"integrity": "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/antfu"
},
{
"type": "individual",
"url": "https://github.com/sponsors/sxzz"
}
],
"license": "MIT"
},
"node_modules/readdirp": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz",
"integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==",
"license": "MIT",
"engines": {
"node": ">= 20.19.0"
},
"funding": {
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
@@ -1414,7 +1767,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.3.tgz",
"integrity": "sha512-rn9wpmxplLf7NLNyCk9FyWh3FM43DbY8jOzCdEPzH7uflhTftRbCEpqi6Ly2osgoU8OwObtmavMbWLaWy4LX7A==",
"dev": true,
"license": "MIT",
"dependencies": {
"@oxc-project/types": "=0.143.0",
@@ -1453,6 +1805,12 @@
"tslib": "^2.1.0"
}
},
"node_modules/scule": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/scule/-/scule-1.3.0.tgz",
"integrity": "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==",
"license": "MIT"
},
"node_modules/shell-quote": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.9.0.tgz",
@@ -1544,7 +1902,6 @@
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
"integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
"dev": true,
"license": "MIT",
"dependencies": {
"fdir": "^6.5.0",
@@ -1574,11 +1931,86 @@
"dev": true,
"license": "0BSD"
},
"node_modules/ufo": {
"version": "1.6.4",
"resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
"integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
"license": "MIT"
},
"node_modules/unplugin": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/unplugin/-/unplugin-3.3.0.tgz",
"integrity": "sha512-qa66K+crbfyE6JK10GjvbJeRrOsuC/JpbnHctfyp/i4oBTxWOzJfRZyDiOk1PtErMFRu8JhsU/wPvOdBNWe5Rg==",
"license": "MIT",
"dependencies": {
"@jridgewell/remapping": "^2.3.5",
"picomatch": "^4.0.4",
"webpack-virtual-modules": "^0.6.2"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"peerDependencies": {
"@farmfe/core": "*",
"@rspack/core": "*",
"bun-types-no-globals": "*",
"esbuild": "*",
"rolldown": "*",
"rollup": "*",
"unloader": "*",
"vite": "*",
"webpack": "*"
},
"peerDependenciesMeta": {
"@farmfe/core": {
"optional": true
},
"@rspack/core": {
"optional": true
},
"bun-types-no-globals": {
"optional": true
},
"esbuild": {
"optional": true
},
"rolldown": {
"optional": true
},
"rollup": {
"optional": true
},
"unloader": {
"optional": true
},
"vite": {
"optional": true
},
"webpack": {
"optional": true
}
}
},
"node_modules/unplugin-utils": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/unplugin-utils/-/unplugin-utils-0.3.2.tgz",
"integrity": "sha512-xVToRh2CTmLk2HnEG7ac4rl1MJTT3RFkpS8B++/SnB0kXvuaavD+n3m/vrzyWQOdJNSZQACnbz01pnppbwV5BA==",
"license": "MIT",
"dependencies": {
"pathe": "^2.0.3",
"picomatch": "^4.0.4"
},
"engines": {
"node": ">=20.19.0"
},
"funding": {
"url": "https://github.com/sponsors/sxzz"
}
},
"node_modules/vite": {
"version": "8.2.1",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.2.1.tgz",
"integrity": "sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
@@ -1680,7 +2112,6 @@
"version": "1.33.0",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",
"integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",
"dev": true,
"license": "MPL-2.0",
"dependencies": {
"detect-libc": "^2.0.3"
@@ -1713,7 +2144,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1734,7 +2164,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1755,7 +2184,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1776,7 +2204,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1797,7 +2224,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1818,7 +2244,6 @@
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
@@ -1842,7 +2267,6 @@
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"musl"
],
@@ -1866,7 +2290,6 @@
"cpu": [
"x64"
],
"dev": true,
"libc": [
"glibc"
],
@@ -1890,7 +2313,6 @@
"cpu": [
"x64"
],
"dev": true,
"libc": [
"musl"
],
@@ -1914,7 +2336,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1935,7 +2356,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -1970,6 +2390,62 @@
}
}
},
"node_modules/vue-router": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-5.2.0.tgz",
"integrity": "sha512-QAC5i0LEb1GLG0LXDQmHu8L7FX12j0KwU/JTKmLQUJMrn04gQdKP6Du+p0QwpHb3iy71vBlqnHQ8WAfOSAWhqw==",
"license": "MIT",
"dependencies": {
"@babel/generator": "^8.0.0",
"@vue-macros/common": "^3.1.3",
"@vue/devtools-api": "^8.1.5",
"ast-walker-scope": "^0.9.0",
"chokidar": "^5.0.0",
"json5": "^2.2.3",
"local-pkg": "^1.2.1",
"magic-string": "^0.30.21",
"mlly": "^1.8.2",
"muggle-string": "^0.4.1",
"nostics": "^1.1.4",
"pathe": "^2.0.3",
"picomatch": "^4.0.5",
"scule": "^1.3.0",
"tinyglobby": "^0.2.17",
"unplugin": "^3.3.0",
"unplugin-utils": "^0.3.2",
"yaml": "^2.9.0"
},
"funding": {
"url": "https://github.com/sponsors/posva"
},
"peerDependencies": {
"@pinia/colada": ">=0.21.2",
"@vue/compiler-sfc": "^3.5.34 || ^4.0.0",
"pinia": "^3.0.4 || ^4.0.2",
"vite": "^7.3.0 || ^8.0.0",
"vue": "^3.5.34 || ^4.0.0"
},
"peerDependenciesMeta": {
"@pinia/colada": {
"optional": true
},
"@vue/compiler-sfc": {
"optional": true
},
"pinia": {
"optional": true
},
"vite": {
"optional": true
}
}
},
"node_modules/webpack-virtual-modules": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz",
"integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==",
"license": "MIT"
},
"node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -1998,6 +2474,21 @@
"node": ">=10"
}
},
"node_modules/yaml": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
"license": "ISC",
"bin": {
"yaml": "bin.mjs"
},
"engines": {
"node": ">= 14.6"
},
"funding": {
"url": "https://github.com/sponsors/eemeli"
}
},
"node_modules/yargs": {
"version": "17.7.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+3 -1
View File
@@ -14,6 +14,8 @@
"vite": "^8.0.0"
},
"dependencies": {
"vue": "^3.5.41"
"@vitejs/plugin-vue": "^6.0.8",
"vue": "^3.5.41",
"vue-router": "^5.2.0"
}
}
+1 -2
View File
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { Card } from '@3ba/vue';
import Footer from "./components/Footer.vue";
import Footer from "./components/Footer.vue";
</script>
<template>
-1
View File
@@ -2,7 +2,6 @@ import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import '../css/app.css'
import "@3ba/styles";
createApp(App)
.use(router)
-34
View File
@@ -1,34 +0,0 @@
<script setup lang="ts">
import { computed } from "vue";
export type AlertTone = "info" | "success" | "warn" | "danger";
const ICON: Record<AlertTone, string> = { info: "i", success: "✓", warn: "!", danger: "✕" };
const props = withDefaults(defineProps<{ tone?: AlertTone; title?: string, timestamp: string}>(), { tone: "info", timestamp: "1" });
const icon = computed(() => ICON[props.tone]);
</script>
<template>
<div class="aero-alert" :class="`aero-alert-${tone}`">
<div style="width: 100%;">
<div style="display: flex; flex-direction: column; justify-content: space-between; width: 100%;">
<div v-if="title" style="display: flex; flex-direction: row; text-align: left; gap: 15px;" :style="{ fontWeight: 700, marginBottom: '2px' }" >
<div class="aero-alert-icon">{{ icon }}</div>
{{ title }}
</div>
<div v-if="timestamp" :style="{ fontWeight: 700, marginBottom: '2px' }" style="text-align: left; color: gray">{{ timestamp }}</div>
</div>
<div :style="{ opacity: 0.9 }" style="text-align: left;"><slot /></div>
</div>
</div>
</template>
<script lang="ts">
</script>
<style>
</style>
-63
View File
@@ -1,63 +0,0 @@
<template>
<div v-if="this.day">
<template v-if="tomorrow.length > 0">
<h1>Ide kell menni éjfélkor inni:</h1>
<ul>
<li v-for="item in tomorrow">{{ item }}</li>
</ul>
</template>
<h1 v-else>Nem kötelező senkinél sem inni éjfélkor (de ajánlott)</h1>
</div>
<div v-else>
<template v-if="today.length > 0">
<h2>Ma itt kell inni:</h2>
<ul >
<li v-for="item in today">{{ item }}</li>
</ul>
</template>
<h2 v-else>Ma nem kell senkinél inni (de ajánlott)</h2>
</div>
</template>
<script>
import axios from 'axios';
let interval;
export default {
data() {
return {
today: [],
tomorrow: [],
};
},
props: {
day: {
type: Boolean,
default: true, //true -> tomorrow
}
},
mounted() {
const call = () =>
{
axios
.get('/api/fetch_rooms')
.then(response => {
this.tomorrow = response.data.tomorrow;
this.today = response.data.today;
});
}
call();
interval = setInterval( call , 3000 );
},
unmounted() {
clearInterval(interval)
}
};
</script>
<style scoped>
li {
font-size: 1.75rem;
}
</style>
-118
View File
@@ -1,118 +0,0 @@
<template>
<ul class="vuejs-countdown">
<li>
<p class="digit">{{ hours }}</p>
<p class="text">H</p>
</li>
<li>
<p class="digit">{{ minutes }}</p>
<p class="text">M</p>
</li>
<li>
<p class="digit">{{ seconds }}</p>
<p class="text">S</p>
</li>
</ul>
</template>
<script>
let interval = null;
export default {
name: 'vuejsCountDown',
props: {
deadline: {
type: String
},
end: {
type: String
},
stop: {
type: Boolean
}
},
data() {
return {
now: new Date,
date: null,
diff: 0
}
},
created() {
interval = setInterval(() => {
this.now = new Date;
}, 500);
},
computed: {
twoDigits(value) {
if ( value.toString().length <= 1 ) {
return '0'+value.toString()
}
else
{
return value.toString()
}
},
seconds() {
let value = 60 - this.now.getSeconds() - 1
return value < 10 ? '0' + value.toString() : value.toString()
},
minutes() {
let value = 60 - this.now.getMinutes() - 1
return value < 10 ? '0' + value.toString() : value.toString()
},
hours() {
let value = 24 - this.now.getHours() - 1
return value < 10 ? '0' + value.toString() : value.toString()
}
},
destroyed() {
clearInterval(interval);
}
}
</script>
<style>
.vuejs-countdown {
padding: 0;
margin: 0;
}
.vuejs-countdown li {
display: inline-block;
margin: 0 8px;
text-align: center;
position: relative;
}
.vuejs-countdown li p {
margin: 0;
}
.vuejs-countdown li:after {
content: ":";
position: absolute;
top: 0;
right: -13px;
font-size: 1.75rem;
}
.vuejs-countdown li:first-of-type {
margin-left: 0;
}
.vuejs-countdown li:last-of-type {
margin-right: 0;
}
.vuejs-countdown li:last-of-type:after {
content: "";
}
.vuejs-countdown .digit {
font-size: 1.75rem;
font-weight: 600;
line-height: 1.4;
margin-bottom: 0;
}
.vuejs-countdown .text {
text-transform: uppercase;
margin-bottom: 0;
font-size: 1rem;
}
</style>
-38
View File
@@ -1,38 +0,0 @@
<script setup lang="ts">
withDefaults(
defineProps<{ brand?: string; hrefs?: string[], links?: string[]; active?: number }>(),
{ brand: "ZO", hrefs: () => ["/home", "/", "/hearsay", "/legacy"], links: () => ["Haza", "Szülinapok", "Hírek", "Legacy"], active: 0 },
);
const emit = defineEmits<{ navigate: [index: number] }>();
</script>
<template>
<nav
class="glass glass-static"
:style="{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', padding: '10px 18px 10px 14px', borderRadius: '999px', gap: '16px' }" >
<div :style="{ display: 'flex', gap: '24px', fontSize: '13px', fontWeight: 500 }">
<a
v-for="(l, i) in links"
:key="l"
:href="hrefs[i]"
class="aero-text-shadow"
:style="{
color: 'var(--t-text)',
textDecoration: 'none',
opacity: i === active ? 1 : 0.78,
borderBottom: i === active ? '2px solid var(--t-accent-2)' : '2px solid transparent',
paddingBottom: '2px',
}"
>{{ l }}</a
>
</div>
<div :style="{ display: 'flex', alignItems: 'center', gap: '12px' }">
<div class="aero-text-shadow" :style="{ fontSize: '20px', fontWeight: 300, letterSpacing: '0.28em' }">{{ brand }}</div>
</div>
</nav>
</template>
-70
View File
@@ -1,70 +0,0 @@
<script setup>
import { Card, Btn } from "@3ba/vue";
import Alert from "../components/Alert.vue"
</script>
<template>
<div style="display: flex; flex-direction: column; gap: 20px;">
<template v-for="hearsay in news">
<Alert style="display: flex; text-align: left;" :tone="info ? 'info' : 'warn'" :timestamp="hearsay.updated_at" :title="hearsay.title + ' (' + hearsay.author + ')'"
v-if="(hearsay.type==='important' && important) || (hearsay.type==='info' && info)">{{ hearsay.body }}</Alert>
</template>
<h2 v-if="!has_important && important">Nincs semmi halaszthatatlan hír</h2>
<h2 v-if="!has_info && info">Nincs semmi tájékoztató jellegű hír</h2>
</div>
</template>
<script>
import axios from 'axios';
let interval;
export default {
data() {
return {
news: [],
has_info: false,
has_important: false,
}
},
props: {
important: {
type: Boolean,
default: false,
},
info: {
type: Boolean,
default: false,
},
},
mounted() {
const call = () =>
{
axios
.get('/api/fetch_news')
.then(response => {
this.news = response.data;
for (const i of response.data) {
if (i.type=='info') this.has_info = true;
if (i.type=='important') this.has_important = true;
}
});
}
call();
interval = setInterval( call , 10000 );
},
unmounted() {
clearInterval(interval);
}
};
</script>
<style scoped>
div {
text-align: left !important;
}
</style>
-34
View File
@@ -1,34 +0,0 @@
<script setup lang="ts">
import "@3ba/styles";
import { AeroThemeProvider, AeroSky, Card, Btn } from "@3ba/vue";
import Navbar from "../components/Navbar.vue"
import Countdown from "../components/Countdown.vue";
import BirthdayAlert from "../components/BirthdayAlert.vue";
import Footer from "../components/Footer.vue";
</script>
<template>
<div :style="{ minHeight: '100vh', padding: '32px', }">
<div style="display: flex; flex-direction: column; gap: 20px;">
<Navbar :active="1"></Navbar>
<Card>
<BirthdayAlert></BirthdayAlert>
</Card>
<Card>
<BirthdayAlert :day="false"></BirthdayAlert>
</Card>
<Card>
<h1>Következő éjfélig hátralévő idő:</h1>
<Countdown></Countdown>
</Card>
</div>
</div>
</template>
<style>
</style>
+4 -75
View File
@@ -1,78 +1,7 @@
<script setup lang="ts">
import { AeroThemeProvider, AeroSky, Card, Btn } from "@3ba/vue";
import Navbar from "../components/Navbar.vue";
import "@3ba/styles";
import Footer from "../components/Footer.vue";
</script>
<template>
<div :style="{ minHeight: '100vh', padding: '32px', }">
<div style="display: flex; flex-direction: column; gap: 20px;">
<Navbar :active="0"></Navbar>
<Card>
<h2>Mi ez az oldal?</h2>
<div style="text-align: left;">
Ez az oldal megmondja melyik szobába kell menni éjfélkor szülinapot ünnepelni. Ha nem tudod melyik intézményről van szó, akkor valószínűleg rossz helyen jársz.
</div>
<h2>Miért ilyen ocsmány?</h2>
<div style="text-align: left;">
Azért, mert próbálkoztam a Vue frontend frameworkkel a vicc kedvéért és nagyon megkedveltem a <a href="https://frutigeraeroarchive.org/" target="_blank">Frutiger Aero</a> stílust.
</div>
<h2>Mi az a csúnya szó?</h2>
<div style="text-align: left;">
A Kréta forráskód szivárogtatásában talált, méltán híres <a href="https://github.com/HexadecimalHUN/DirtyWords/blob/main/DirtyWords.xml">dirtywords.xml</a>-ből random generált kifejezések
</div>
<h2>Credit?</h2>
<div style="text-align: left;">
A Vue komponensek nagy része <a href="https://github.com/3ba/aero">ezen a Github repo</a>-n alapszik, szóval nagy köszönet bárki is csinálta.
</div>
<h2>Licence?</h2>
<div style="text-align: left;">
This is a non-commercial website, with no plans to ever become one. That should cover my ass for the font and the background image(s) I think.
</div>
</Card>
<Card>
<h2>Elérhetőségek/contact</h2>
<ul style="text-align: left; font-size: 1.2rem;">
<li>- Élőben 734 (nyáron, remélem nem felejtem ezt el frissíteni)</li>
<li>- <a href="mailto:peter@sc0tt.org">peter@sc0tt.org</a></li>
</ul>
</Card>
<Card>
<div>
Csúnya szó: {{ DirtyWord }}
</div>
</Card>
</div>
</div>
</template>
<script lang="ts">
import axios from 'axios';
export default {
data() {
return {
DirtyWord: '',
};
},
mounted() {
axios
.get('https://scapi.sc0tt.org/dirtywords')
.then(response => {
this.DirtyWord = response.data.dirty;
});
},
};
import vue from '@vitejs/plugin-vue'
</script>
<style scoped>
a {
color: blue;
text-decoration: underline;
}
a.visited {
color: purple;
}
</style>
<template>
asdfsadfsadf
</template>
-24
View File
@@ -1,24 +0,0 @@
<script setup lang="ts">
import { AeroThemeProvider, AeroSky, Card, Btn } from "@3ba/vue";
import Navbar from "../components/Navbar.vue";
import "@3ba/styles";
import Footer from "../components/Footer.vue";
import News from "../components/News.vue";
</script>
<template>
<div :style="{ minHeight: '100vh', padding: '32px', }">
<div style="display: flex; flex-direction: column; gap: 20px;">
<Navbar :active="2"></Navbar>
<Card>
<News important></News>
</Card>
<Card>
<News info></News>
</Card>
</div>
</div>
</template>
-81
View File
@@ -1,81 +0,0 @@
<script setup lang="ts">
import { ref } from "vue";
import {
AeroThemeProvider,
AeroSky,
Navbar,
ThemeSwitcher,
Card,
Stat,
Btn,
Toggle,
Slider,
Select,
Badge,
Progress,
Tabs,
Alert,
Toast,
MediaPlayer,
Stack,
SectionLabel,
} from "@3ba/vue";
import type { AeroThemeSetting } from "@3ba/vue";
const theme = ref<AeroThemeSetting>("morning");
const bubbles = ref(true);
const volume = ref(64);
const tab = ref(0);
const scene = ref("Lagoon");
</script>
<template>
<AeroThemeProvider :theme="theme" :bubbles="bubbles">
<AeroSky :style="{ minHeight: '100vh', padding: '28px 22px', boxSizing: 'border-box' }">
<div :style="{ maxWidth: '980px', margin: '0 auto', display: 'grid', gap: '22px' }">
<Navbar />
<Stack row wrap justify="space-between" align="center" :gap="16">
<div>
<SectionLabel>Frutiger Aero · Vue</SectionLabel>
<h1 class="aero-text-shadow" :style="{ margin: '6px 0 0', fontWeight: 300, fontSize: '34px' }">A sky for every hour</h1>
</div>
<ThemeSwitcher v-model="theme" />
</Stack>
<Stack row wrap :gap="16">
<Stat label="Visitors" value="12.4k" delta="8%" glyph="☀" />
<Stat label="Signups" value="1,208" delta="3%" glyph="✦" />
<Stat label="Bounce" value="22%" delta="1%" :up="false" glyph="↯" />
</Stack>
<div :style="{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(300px, 1fr))', gap: '16px' }">
<Card title="Controls" subtitle="Everything recolors with the theme">
<Stack :gap="16">
<Toggle v-model="bubbles" label="Drifting bubbles" />
<Slider v-model="volume" label="Volume" show-value unit="%" />
<Select v-model="scene" :options="['Lagoon', 'Meadow', 'Aurora', 'Twilight']" />
<Stack row :gap="10" wrap>
<Btn variant="primary">Primary</Btn>
<Btn variant="positive">Positive</Btn>
<Btn variant="ghost">Ghost</Btn>
<Badge tone="accent" dot>Live</Badge>
</Stack>
</Stack>
</Card>
<Card title="Status" subtitle="Feedback surfaces">
<Stack :gap="14">
<Tabs v-model="tab" :items="['Overview', 'Activity', 'Alerts']" />
<Progress :value="volume" label="Sync" />
<Alert tone="success" title="All systems nominal">The sky is clear and the bubbles are rising.</Alert>
<Toast title="Saved to the cloud" body="Your changes are floating safely." action="Undo" />
</Stack>
</Card>
</div>
<MediaPlayer :at="volume" />
</div>
</AeroSky>
</AeroThemeProvider>
</template>
+1 -7
View File
@@ -1,18 +1,12 @@
import { createRouter, createWebHistory } from 'vue-router';
import App from '../App.vue';
import BirthdayView from '../pages/BirthdayView.vue';
import TestingView from '../pages/TestingView.vue';
import HomeView from '../pages/HomeView.vue';
import NewsView from '../pages/NewsView.vue';
const routes = [
{ path: '/',
children:
[
{ path: '', component: BirthdayView },
{ path: 'aero', component: TestingView },
{ path: 'home', component: HomeView },
{ path: 'hearsay', component: NewsView },
{ path: '', component: HomeView },
]
}
];
+21
View File
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Default favicon (fallback for unsupported browsers) -->
<link rel="icon" href="{{ asset('favicon.ico') }}" type="image/x-icon">
<!-- Light mode favicon -->
<link rel="icon" href="{{ asset('favicon-light.ico') }}" type="image/x-icon" media="(prefers-color-scheme: light)">
<!-- Dark mode favicon -->
<link rel="icon" href="{{ asset('favicon-dark.ico') }}" type="image/x-icon" media="(prefers-color-scheme: dark)">
<title>TLA</title>
@vite(['resources/js/app.js'])
</head>
<body>
<div id="app"></div>
</body>
</html>
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -2,6 +2,6 @@
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Route::any('{all}',function(){
return view('vue');
})->where(['all' => '.*'])->name("vue");
+18
View File
@@ -2,9 +2,15 @@ import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import { bunny } from 'laravel-vite-plugin/fonts';
import tailwindcss from '@tailwindcss/vite';
import vue from '@vitejs/plugin-vue';
const host = process.env.VITE_HMR_HOST || "localhost";
const clientPort = process.env.VITE_HMR_CLIENTPORT || 5173;
const protocol = process.env.VITE_HMR_PROTOCOL || "ws";
export default defineConfig({
plugins: [
vue(),
laravel({
input: ['resources/css/app.css', 'resources/js/app.js'],
refresh: true,
@@ -21,4 +27,16 @@ export default defineConfig({
ignored: ['**/storage/framework/views/**'],
},
},
server: {
host: '0.0.0.0',
headers: {
'Cross-Origin-Embedder-Policy': 'unsafe-none',
'Cross-Origin-Resource-Policy': 'cross-origin',
},
hmr: {
protocol: protocol,
host: host,
clientPort: clientPort
},
},
});