From 24baa3c5c4f137fcca4bd7be0c02fc718b91e644 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 31 Aug 2022 15:19:07 +0200 Subject: [PATCH] feat: create the multiple banner/theme homepage --- src/App.vue | 11 +- src/assets/tick.svg | 5 + src/assets/wave.invert.1.svg | 8 +- src/assets/wave.invert.2.svg | 8 +- src/components/Banner.vue | 310 --------------------------------- src/components/Banner1.vue | 142 +++++++++++++++ src/components/Experiences.vue | 87 --------- src/components/Home.vue | 222 +++++++++++++++++++++++ src/components/Skills.vue | 4 +- src/model/experiences.ts | 16 -- src/model/themes.ts | 20 +++ 11 files changed, 403 insertions(+), 430 deletions(-) create mode 100644 src/assets/tick.svg delete mode 100644 src/components/Banner.vue create mode 100644 src/components/Banner1.vue delete mode 100644 src/components/Experiences.vue create mode 100644 src/components/Home.vue delete mode 100644 src/model/experiences.ts create mode 100644 src/model/themes.ts diff --git a/src/App.vue b/src/App.vue index 5404bfd..92dc111 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,22 +1,19 @@ - - - diff --git a/src/components/Banner1.vue b/src/components/Banner1.vue new file mode 100644 index 0000000..719e56a --- /dev/null +++ b/src/components/Banner1.vue @@ -0,0 +1,142 @@ + + + + + + diff --git a/src/components/Experiences.vue b/src/components/Experiences.vue deleted file mode 100644 index 020ecf1..0000000 --- a/src/components/Experiences.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/components/Home.vue b/src/components/Home.vue new file mode 100644 index 0000000..48a7d9c --- /dev/null +++ b/src/components/Home.vue @@ -0,0 +1,222 @@ + + + + + + diff --git a/src/components/Skills.vue b/src/components/Skills.vue index 0cbafa1..a49dac1 100644 --- a/src/components/Skills.vue +++ b/src/components/Skills.vue @@ -13,8 +13,8 @@
diff --git a/src/model/experiences.ts b/src/model/experiences.ts deleted file mode 100644 index b2bc6be..0000000 --- a/src/model/experiences.ts +++ /dev/null @@ -1,16 +0,0 @@ -export default [ - { - title: 'LogAuth', - link: `https://git.xdrm.io/logauth`, - when: [ '2014', '2018' ], - description: `Système de régulation évolutif pour système embarqués avec plateforme de gestion`, - tags: [ `php`, `js`, `python`, `raspberry`, `rest`, `electronics`, `systemd`, `linux` ], - }, - { - title: 'LogAuth 2', - link: `https://git.xdrm.io/logauth`, - when: [ '2015', '2018' ], - description: `Système de régulation évolutif pour système embarqués avec plateforme de gestion`, - tags: [ `php`, `js`, `python`, `raspberry`, `rest`, `electronics`, `systemd`, `linux` ], - }, -]; diff --git a/src/model/themes.ts b/src/model/themes.ts new file mode 100644 index 0000000..7b7c5cc --- /dev/null +++ b/src/model/themes.ts @@ -0,0 +1,20 @@ +export interface Theme { + name: string; + default: boolean; +} + +export const Themes: Theme[] = [ + { + name: 'black_white', + default: true, + }, { + name: 'blue', + default: false, + }, { + name: 'forest', + default: false, + }, { + name: 'glass', + default: false, + }, +];