diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 38ef380..6a42747 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -36,7 +36,9 @@ "sonarsource.sonarlint-vscode", "eamodio.gitlens", "kisstkondoros.vscode-gutter-preview", + "vue.volar", + "vue.vscode-typescript-vue-plugin", "mgmcdermott.vscode-language-babel" ] } diff --git a/.env.example b/.env.example deleted file mode 100644 index c1c190b..0000000 --- a/.env.example +++ /dev/null @@ -1,3 +0,0 @@ -DEVTOOLS= -API_FORM_URL= -RECAPTCHA_SITE_KEY= diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a2cf318..cff74da 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,13 +14,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version: "20" - # Create .env file before build project - - name: 'Create env file' - run: | - touch .env - echo RECAPTCHA_SITE_KEY=${{ secrets.RECAPTCHA_SITE_KEY }} >> .env - echo DEVTOOLS=${{ vars.DEVTOOLS }} >> .env - echo API_FORM_URL=${{ vars.API_FORM_URL }} >> .env # Pick your own package manager and build script - run: npm install - run: npx nuxt build --preset github_pages diff --git a/.gitignore b/.gitignore index 7c3f182..d0a6018 100644 --- a/.gitignore +++ b/.gitignore @@ -248,7 +248,4 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk -# Environment variables -.env - # End of https://www.toptal.com/developers/gitignore/api/windows,linux,webstorm,intellij,nuxtjs \ No newline at end of file diff --git a/app.vue b/app.vue index 71521f3..a632dfa 100644 --- a/app.vue +++ b/app.vue @@ -42,7 +42,6 @@ export default { }, mounted() { let lang = localStorage.getItem('lang'); - if(!lang){ let lang = 'mx' localStorage.setItem('lang', lang); diff --git a/components/ContactBlock.vue b/components/ContactBlock.vue index 9058007..0a65564 100644 --- a/components/ContactBlock.vue +++ b/components/ContactBlock.vue @@ -46,12 +46,12 @@