From dd31944bc5331120a3f50f177e4530f5a623d1e3 Mon Sep 17 00:00:00 2001 From: LJ5O <75009579+LJ5O@users.noreply.github.com> Date: Tue, 1 Apr 2025 17:51:40 +0200 Subject: [PATCH] Worked on the contact system --- src/assets/localization/en/localization.json | 25 +++++ src/components/contact/emails.vue | 98 ++++++++++++++++++++ src/components/home/intersection.vue | 6 +- src/router/index.js | 6 ++ src/views/ContactView.vue | 36 +++++++ src/views/HomeView.vue | 2 +- 6 files changed, 170 insertions(+), 3 deletions(-) create mode 100644 src/components/contact/emails.vue create mode 100644 src/views/ContactView.vue diff --git a/src/assets/localization/en/localization.json b/src/assets/localization/en/localization.json index 645be6c..5ebe32a 100644 --- a/src/assets/localization/en/localization.json +++ b/src/assets/localization/en/localization.json @@ -94,5 +94,30 @@ "desc": "When working with AI, creating a high-quality dataset for training is vital. Many operations and transformations need to be executed, which require a solid understanding of data management. Some infrasctructures also come with databases containing valuable information, that should be extracted and analysed to extract the best from it." } } + }, + "contact": { + "title": "Send me a message !", + "subtitle": "Thanks for your interest ! If you wish to contact me, the easiest way is by Email.", + "captcha":{ + "title": "Sorry, but could you check that you're an human ?", + "desc": "Some bots are exploring the web to collect email adresses and send spam. In order to avoid this, please fill the following :", + "question": "If we add {x} and {y} minus {z}, what would the result be ?", + "submit": "Submit", + "false": "Sorry, this doesn't seems right !" + }, + "emails": { + "work" :{ + "title": "Work", + "desc": "If your message is about a job opportunity, a company or some professional matter, please use {email}" + }, + "school" :{ + "title": "Academics and research", + "desc": "{email} is the best suited to talk about universities and research." + }, + "others" :{ + "title": "Other cases", + "desc": "In case the two previous emails don't suit your needs, you can also use {email}. This address is considered to be a general purposes one." + } + } } } \ No newline at end of file diff --git a/src/components/contact/emails.vue b/src/components/contact/emails.vue new file mode 100644 index 0000000..bfd9135 --- /dev/null +++ b/src/components/contact/emails.vue @@ -0,0 +1,98 @@ + + + + + \ No newline at end of file diff --git a/src/components/home/intersection.vue b/src/components/home/intersection.vue index 2722afe..4fa89ec 100644 --- a/src/components/home/intersection.vue +++ b/src/components/home/intersection.vue @@ -2,14 +2,16 @@

{{ props.text }}

-
+ + + \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 2ad4349..5cbf751 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -15,7 +15,7 @@ - +