From 086eefcefaa9e64c8bd0e6d346c5f6734ece1e9b Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Sun, 20 Jun 2021 13:07:49 +0200 Subject: [PATCH] Add /legal-notice and /contact; Improve styling --- .eslintrc.json | 7 +- index.html | 4 +- package.json | 4 +- pnpm-lock.yaml | 193 +++++++++++++++++++++++++++ public/_redirects | 4 +- public/impressum.txt | 12 -- src/App.vue | 65 ++++++++- src/components/BlurredBlobCanvas.vue | 4 +- src/components/NavigationMenu.vue | 60 +++++++-- src/main.css | 27 ++++ src/main.js | 18 ++- src/pages/contact.vue | 84 +++++++++++- src/pages/index.vue | 71 ++++++---- src/pages/legal-notice.vue | 61 +++++++++ src/pages/projects.vue | 11 -- src/pages/terms-and-conditions.vue | 29 ++++ src/{ => utils}/getListOfIndexes.js | 0 vite.config.js | 2 + 18 files changed, 576 insertions(+), 80 deletions(-) delete mode 100644 public/impressum.txt create mode 100644 src/main.css create mode 100644 src/pages/legal-notice.vue delete mode 100644 src/pages/projects.vue create mode 100644 src/pages/terms-and-conditions.vue rename src/{ => utils}/getListOfIndexes.js (100%) diff --git a/.eslintrc.json b/.eslintrc.json index 79442c5..8a76810 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,6 +2,11 @@ "root": true, "extends": "awzzm-vue/v3", "rules": { - "vue/no-static-inline-styles": "off" + "vue/no-static-inline-styles": "off", + "unicorn/prevent-abbreviations": ["warn", { + "replacements": { + "i": false + } + }] } } diff --git a/index.html b/index.html index 2cea873..fe3a826 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,8 @@ Moritz Ruth + + @@ -11,7 +13,7 @@ - +
diff --git a/src/components/BlurredBlobCanvas.vue b/src/components/BlurredBlobCanvas.vue index b15c755..1ec0930 100644 --- a/src/components/BlurredBlobCanvas.vue +++ b/src/components/BlurredBlobCanvas.vue @@ -1,5 +1,5 @@ + + en: + projects: Projects + contact: Contact + + de: + projects: Projekte + contact: Kontakt + + + + diff --git a/src/pages/index.vue b/src/pages/index.vue index 10d1ff4..7e115fb 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -1,8 +1,8 @@ + + en: + i_am: I’m + software_developer: software developer + designer: web and print designer + typography_enthusiast: typography enthusiast + contact_me: Drop me a message! + + de: + i_am: "" + software_developer: Software-Entwickler + designer: Web– und Print-Designer + typography_enthusiast: Typography-Enthusiast + contact_me: Schreib mir! + + diff --git a/src/pages/legal-notice.vue b/src/pages/legal-notice.vue new file mode 100644 index 0000000..bf4b494 --- /dev/null +++ b/src/pages/legal-notice.vue @@ -0,0 +1,61 @@ + + + + en: + heading: Legal Notice + + de: + heading: Impressum + + + diff --git a/src/pages/projects.vue b/src/pages/projects.vue deleted file mode 100644 index 41cecaa..0000000 --- a/src/pages/projects.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/pages/terms-and-conditions.vue b/src/pages/terms-and-conditions.vue new file mode 100644 index 0000000..1398f92 --- /dev/null +++ b/src/pages/terms-and-conditions.vue @@ -0,0 +1,29 @@ + + + + en: + message: Not yet available. + heading: Terms and Conditions + + de: + message: Noch nicht verfügbar. + heading: Allgemeine Geschäftsbedingungen + + + diff --git a/src/getListOfIndexes.js b/src/utils/getListOfIndexes.js similarity index 100% rename from src/getListOfIndexes.js rename to src/utils/getListOfIndexes.js diff --git a/vite.config.js b/vite.config.js index b6a9fb4..16f770c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,7 @@ import vuePlugin from "@vitejs/plugin-vue" import windicssPlugin from "vite-plugin-windicss" import pagesPlugin from "vite-plugin-pages" +import vueI18nPlugin from "@intlify/vite-plugin-vue-i18n" /** * https://vitejs.dev/config/ @@ -9,6 +10,7 @@ import pagesPlugin from "vite-plugin-pages" export default { plugins: [ vuePlugin(), + vueI18nPlugin(), pagesPlugin(), windicssPlugin() ]