From 0a4abde23dc5b700335b0bb43219f99021f53c56 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Sun, 14 Mar 2021 23:37:57 +0100 Subject: [PATCH] feat: added memo base --- components/FileUploader.vue | 308 +++++++++++++++------ components/Memo.vue | 103 +++++++ components/Tool.vue | 3 +- components/ToolHeader.vue | 44 +++ components/ToolWrapper.vue | 43 +-- nuxt.config.js | 8 +- package-lock.json | 64 ++++- package.json | 1 + pages/index.vue | 7 +- pages/tools/Web/file-to-base64.vue | 32 +-- pages/tools/crypto/cypher-uncyfer-text.vue | 2 +- pages/tools/crypto/hash-text.vue | 3 +- pages/tools/crypto/token-generator.vue | 2 +- pages/tools/crypto/uuid-generator.vue | 2 +- pages/tools/memos/git-memo.vue | 63 +++++ tsconfig.json | 3 +- 16 files changed, 537 insertions(+), 151 deletions(-) create mode 100644 components/Memo.vue create mode 100644 components/ToolHeader.vue create mode 100644 pages/tools/memos/git-memo.vue diff --git a/components/FileUploader.vue b/components/FileUploader.vue index 1c6b7955..a59cbc2a 100644 --- a/components/FileUploader.vue +++ b/components/FileUploader.vue @@ -13,132 +13,121 @@

Drag & drop a file here

-

- or -

- - select a file - +

or

+ select a file
-

- or -

+

or

- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/Memo.vue b/components/Memo.vue new file mode 100644 index 00000000..b8c8b074 --- /dev/null +++ b/components/Memo.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/components/Tool.vue b/components/Tool.vue index 6ac089b4..c48974df 100644 --- a/components/Tool.vue +++ b/components/Tool.vue @@ -1,8 +1,7 @@ + + diff --git a/components/ToolWrapper.vue b/components/ToolWrapper.vue index aa3a6816..464296b8 100644 --- a/components/ToolWrapper.vue +++ b/components/ToolWrapper.vue @@ -2,24 +2,18 @@
-
-

{{ config.title }}

-
-
- {{ config.description }} -
-
+ + -
@@ -27,9 +21,9 @@ + + +en: + memo: + - section: Titre de la section 1 + items: + - text: Tip n°1 + - text: Tip n°2 (avec sous titre + subtitle: Un super sous titre + - text: Tip n°3 (avec du code !) + code: rm -rf / --no-preserve-root + - text: Tip n°4 (avec du code et un sous titre !) + code: rm -rf / --no-preserve-root + subtitle: Un super sous titre, yeah + + - section: Titre de la section 2 + items: + - text: Tip n°1 + - text: Tip n°2 + - text: Tip n°3 (avec du code !) + code: rm -rf / --no-preserve-root + - text: Tip n°4 + + - section: Titre de la section 3 + items: + - text: Tip n°1 + - text: Tip n°2 (avec sous titre + subtitle: Un super sous titre + - text: Tip n°3 (avec du code !) + code: rm -rf / --no-preserve-root + - text: Tip n°4 (avec du code et un sous titre !) + code: rm -rf / --no-preserve-root + subtitle: Un super sous titre, yeah + + + - section: Titre de la section 4 + items: + - text: Tip n°1 + - text: Tip n°2 (avec sous titre + subtitle: Un super sous titre + - text: Tip n°3 (avec du code !) + code: rm -rf / --no-preserve-root + - text: Tip n°4 (avec du code et un sous titre !) + code: rm -rf / --no-preserve-root + subtitle: Un super sous titre, yeah + diff --git a/tsconfig.json b/tsconfig.json index 0f134056..9a2251a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -29,7 +29,8 @@ "@nuxtjs/toast", "@nuxt/types", "~/types/custom.d.ts", - "vuetify" + "vuetify", + "nuxt-i18n" ] }, "exclude": [