diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a3b8eb..6020c1f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,8 @@ on: push: - branches: [ "deploy/prod" ] + branches: ['deploy/prod'] pull_request: - branches: [ "deploy/prod" ] + branches: ['deploy/prod'] name: 🚀 Deploy website on push jobs: @@ -10,18 +10,18 @@ jobs: name: 🎉 Deploy runs-on: ubuntu-latest steps: - - name: 🚚 Get latest code - uses: actions/checkout@v3 - - - name: 🔨 Build Project - run: | - npm ci - npm run build - - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.3.2 - with: - server: 305244.w44.wedos.net - username: w305244_BOT007 - password: ${{ secrets.FTP_PASSWORD }} - local-dir: ./dist/ + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 🔨 Build Project + run: | + npm ci + npm run build + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@4.3.2 + with: + server: 305244.w44.wedos.net + username: w305244_BOT007 + password: ${{ secrets.FTP_PASSWORD }} + local-dir: ./dist/ diff --git a/package.json b/package.json index 4778b77..5d0396e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --host 0.0.0.0", "build": "vite build", "preview": "vite preview", "appwrite": "docker compose -f ./appwrite/docker-compose.yml up" diff --git a/src/__routes.svelte b/src/__routes.svelte index c18cc59..67c284e 100644 --- a/src/__routes.svelte +++ b/src/__routes.svelte @@ -40,8 +40,8 @@ component: () => import('$routes/profile/profile.svelte'), }, { - path: '/profile/payment_history', - component: () => import('$routes/profile/payment_history.svelte'), + path: '/profile/:function', + component: () => import('$routes/profile/profile-functions.svelte'), }, { path: '/legal/terms_of_service', diff --git a/src/lib/components/Inputs/Hidden_Input_type2.svelte b/src/lib/components/Inputs/Hidden_Input_type2.svelte new file mode 100644 index 0000000..0a9da7f --- /dev/null +++ b/src/lib/components/Inputs/Hidden_Input_type2.svelte @@ -0,0 +1,56 @@ + + +