From 2c463543b7da1fea9068d62d430cb2b05beaabfa Mon Sep 17 00:00:00 2001 From: Kamil Niemczycki Date: Sun, 30 Jul 2023 13:33:56 +0200 Subject: [PATCH] - Update project * - update port for developmnet mode * - fix style for source code * - remove default import - defineProps * - add robots.txt * - update vite config * - prepared .env files - production, development * - update pages * - fix development port * - update skills * - update body style * - update links * - update index header --- .env.development | 4 ++ .env.example | 1 + .env.deployment => .env.production | 0 index.html | 8 ++- public/robots.txt | 2 + src/App.vue | 11 +++- src/components/Body.vue | 16 ++--- src/components/Header.vue | 19 +++++- src/components/Header/ContactList.vue | 2 +- src/components/Header/Mission.vue | 2 - src/components/Side/Skills.vue | 4 +- src/composables/Links.js | 7 +++ src/composables/Skills.js | 37 ++++++------ src/router.js | 16 ++++- src/style.css | 1 - src/views/Home.vue | 79 +----------------------- src/views/NotFound.vue | 14 +++++ src/views/Show.vue | 87 +++++++++++++++++++++++++++ vite.config.js | 24 ++++---- 19 files changed, 205 insertions(+), 129 deletions(-) create mode 100644 .env.development rename .env.deployment => .env.production (100%) create mode 100644 public/robots.txt create mode 100644 src/views/NotFound.vue create mode 100644 src/views/Show.vue diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..4797e4b --- /dev/null +++ b/.env.development @@ -0,0 +1,4 @@ +VITE_APP_NAME="Kamil Niemczycki CV" +VITE_CV_URL="http://localhost:5173" +VITE_API_URL="http://localhost" +VITE_SOURCE_CODE="https://github.com/kamilniemczycki/kamilcraft-cv" diff --git a/.env.example b/.env.example index 2fea494..fbe18e0 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ VITE_APP_NAME="Kamil Niemczycki CV" VITE_CV_URL="http://localhost:5173" +VITE_PORT=5173 VITE_API_URL="http://localhost" VITE_SOURCE_CODE="https://github.com/kamilniemczycki" diff --git a/.env.deployment b/.env.production similarity index 100% rename from .env.deployment rename to .env.production diff --git a/index.html b/index.html index e00107b..ca12e81 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,14 @@ Kamil Niemczycki CV + + + + + + - +
diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / diff --git a/src/App.vue b/src/App.vue index 019d790..f3be424 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,4 +1,11 @@