diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..63f43f8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# targo-frontend +FROM node:22 + +# Set working directory inside container +WORKDIR /app + +# Set environment variables +ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000" + +# Copy package.json & package-lock.json first (for caching) +COPY package*.json ./ + +# Install dependencies +RUN npm install + +# Copy the rest of the code +COPY . . + +# Expose Quasar dev port +EXPOSE 9000 + +# Default command +CMD ["quasar", "dev"] diff --git a/src/boot/axios.ts b/src/boot/axios.ts index 68f13dd..3ac8c4c 100644 --- a/src/boot/axios.ts +++ b/src/boot/axios.ts @@ -15,7 +15,7 @@ declare module 'vue' { // "export default () => {}" function below (which runs individually // for each client) const api = axios.create({ - baseURL: import.meta.env.VITE_TARGO_BACKEND_AUTH_URL, + baseURL: import.meta.env.VITE_TARGO_BACKEND_URL, withCredentials: true }); diff --git a/src/css/app.scss b/src/css/app.scss index 9fa20a5..45df8bc 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -1,5 +1,5 @@ // app global css in SCSS form -@each $size in (1, 2, 3, 4, 5, 10, 15, 20, 25, 50, 75, 100) { +@each $size in (1, 2, 3, 4, 5, 10, 15, 20, 25, 50, 75, 100, 200) { .rounded-#{$size} { border-radius: #{$size}px !important; } @@ -36,4 +36,9 @@ body.body--dark { .shift-highlight { background: #0195462a; +} + +.frosted-glass { + background-color: #FFFA !important; + backdrop-filter: blur(5px); } \ No newline at end of file diff --git a/src/css/quasar.variables.scss b/src/css/quasar.variables.scss index 5a114d6..f4316d0 100644 --- a/src/css/quasar.variables.scss +++ b/src/css/quasar.variables.scss @@ -27,6 +27,8 @@ $layout-shadow-dark : 0 0 10px 5px rgba($dark-shadow-color, 0.5); $input-text-color : #455A64; $input-autofill-color : #AAD5C4; +$field-dense-label-top : 5px !default; +$field-dense-label-font-size : 16px !default; $dark : #42444b; diff --git a/src/layouts/components/main-layout-left-drawer.vue b/src/layouts/components/main-layout-left-drawer.vue index da98d0d..4223f04 100644 --- a/src/layouts/components/main-layout-left-drawer.vue +++ b/src/layouts/components/main-layout-left-drawer.vue @@ -31,7 +31,7 @@