From ad5018de1660ca29aa163218f30bf62ec190e850 Mon Sep 17 00:00:00 2001 From: CorneilleEdi Date: Sat, 13 Jan 2024 23:13:22 +0100 Subject: [PATCH] feat: update profile enable dates, again --- assets/data/techs.json | 20 +++++++++---------- components/MeetsList.vue | 8 ++++++-- components/PostItem.vue | 12 +++++------ .../bluebook-search/1-introduction.md | 2 +- .../posts/projects/bluebook-search/2-api.md | 2 +- .../projects/bluebook-search/3-meilisearch.md | 2 +- .../projects/bluebook-search/4-events.md | 2 +- .../projects/bluebook-search/5-conclusion.md | 2 +- pages/about.vue | 3 +++ utils/date.util.js | 2 +- 10 files changed, 31 insertions(+), 24 deletions(-) diff --git a/assets/data/techs.json b/assets/data/techs.json index b3c33f2..48ca1cb 100755 --- a/assets/data/techs.json +++ b/assets/data/techs.json @@ -16,6 +16,11 @@ "name": "AWS", "image": "aws.svg", "description": "Amazon Web Services" + }, + { + "name": "Azure", + "image": "azure.svg", + "description": "Microsoft Azure" } ] }, @@ -82,11 +87,6 @@ { "title": "Backend", "techs": [ - { - "name": "RabbitMQ", - "image": "rabbitmq.svg", - "description": "Message Queue" - }, { "name": "Network", "image": "network.svg", @@ -172,6 +172,11 @@ { "title": "Language de programmation ", "techs": [ + { + "name": "Python", + "image": "python.svg", + "description": "Langage de programmation et de scripting" + }, { "name": "Java", "image": "java.svg", @@ -186,11 +191,6 @@ "name": "Typescript", "image": "typescript.svg", "description": "JavaScript typé à toutes échelles" - }, - { - "name": "Python", - "image": "python.svg", - "description": "Langage de programmation et de scripting" } ] }, diff --git a/components/MeetsList.vue b/components/MeetsList.vue index a19ecbd..5b09e8f 100644 --- a/components/MeetsList.vue +++ b/components/MeetsList.vue @@ -22,7 +22,7 @@ detailsdetails @@ -40,7 +40,11 @@ export default { name: 'MeetsList', data() { - return { meets: meets.reverse() } + return { + meets: meets.sort(function (a, b) { + return b.number - a.number ; + }) + } }, } diff --git a/components/PostItem.vue b/components/PostItem.vue index 37fe45f..be9605e 100644 --- a/components/PostItem.vue +++ b/components/PostItem.vue @@ -27,12 +27,12 @@

- - - - - - +

+ {{ fDate(post.date) }} +

diff --git a/content/posts/projects/bluebook-search/1-introduction.md b/content/posts/projects/bluebook-search/1-introduction.md index 22f47a7..8178e26 100644 --- a/content/posts/projects/bluebook-search/1-introduction.md +++ b/content/posts/projects/bluebook-search/1-introduction.md @@ -1,7 +1,7 @@ --- title: Recherche plain texte sur Cloud Firestore à l'aide de MeiliSearch 1 - Introduction description: Comment ajouter une capacité de recherche plain texte ultra-rapide à Cloud Firestore à l'aide de MeiliSearch -tags: [gcp, javascript, nodejs, cloud-functions,vm, meilisearch, firestore] +tags: [gcp, nodejs, cloud-functions,vm, meilisearch, firestore] topics: [gcp, nodejs] date: 2022-01-19 slug: recherche-plain-texte-sur-cloud-firestore-a-laide-de-meilisearch-1-introduction diff --git a/content/posts/projects/bluebook-search/2-api.md b/content/posts/projects/bluebook-search/2-api.md index 3df972b..2cb8175 100644 --- a/content/posts/projects/bluebook-search/2-api.md +++ b/content/posts/projects/bluebook-search/2-api.md @@ -1,7 +1,7 @@ --- title: Recherche plain texte sur Cloud Firestore à l'aide de MeiliSearch 2 - api description: Créer une API avec Cloud Firestore et Cloud Functions -tags: [gcp, javascript, nodejs, cloud-functions,vm, meilisearch, firestore] +tags: [gcp, nodejs, cloud-functions,vm, meilisearch, firestore] topics: [gcp, nodejs] date: 2022-01-20 slug: recherche-plain-texte-sur-cloud-firestore-a-laide-de-meilisearch-2-api diff --git a/content/posts/projects/bluebook-search/3-meilisearch.md b/content/posts/projects/bluebook-search/3-meilisearch.md index a64b06e..d75dca0 100644 --- a/content/posts/projects/bluebook-search/3-meilisearch.md +++ b/content/posts/projects/bluebook-search/3-meilisearch.md @@ -1,7 +1,7 @@ --- title: Recherche plain texte sur Cloud Firestore à l'aide de MeiliSearch 3 - MeiliSearch description: Déployer et configurer MeiliSearch dans une machine virtuelle sur Google Compute Engine -tags: [gcp, javascript, nodejs, cloud-functions,vm, meilisearch, firestore] +tags: [gcp, nodejs, cloud-functions,vm, meilisearch, firestore] topics: [gcp, nodejs] date: 2022-01-21 slug: recherche-plain-texte-sur-cloud-firestore-a-laide-de-meilisearch-3-meilisearch diff --git a/content/posts/projects/bluebook-search/4-events.md b/content/posts/projects/bluebook-search/4-events.md index aafa3b9..24cbdeb 100644 --- a/content/posts/projects/bluebook-search/4-events.md +++ b/content/posts/projects/bluebook-search/4-events.md @@ -1,7 +1,7 @@ --- title: Recherche plain texte sur Cloud Firestore à l'aide de MeiliSearch 4 - Événements description: Configuration et connexion de l'API à l'instance MeiliSearch -tags: [gcp, javascript, nodejs, cloud-functions,vm, meilisearch, firestore] +tags: [gcp, nodejs, cloud-functions,vm, meilisearch, firestore] topics: [gcp, nodejs] date: 2022-01-22 slug: recherche-plain-texte-sur-cloud-firestore-a-laide-de-meilisearch-4-evenements diff --git a/content/posts/projects/bluebook-search/5-conclusion.md b/content/posts/projects/bluebook-search/5-conclusion.md index cd616ef..9a0a931 100644 --- a/content/posts/projects/bluebook-search/5-conclusion.md +++ b/content/posts/projects/bluebook-search/5-conclusion.md @@ -1,7 +1,7 @@ --- title: Recherche plain texte sur Cloud Firestore à l'aide de MeiliSearch 5 - Problèmes description: Points d'échec et comment les surmonter -tags: [gcp, javascript, nodejs, cloud-functions,vm, meilisearch, firestore] +tags: [gcp, nodejs, cloud-functions,vm, meilisearch, firestore] topics: [gcp, nodejs] date: 2022-01-23 slug: recherche-plain-texte-sur-cloud-firestore-a-laide-de-meilisearch-5-problemes diff --git a/pages/about.vue b/pages/about.vue index 1f34693..296cef0 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -64,6 +64,9 @@
  • Apprenti Ingénieur Public Cloud chez Worldline
  • +
  • Ingénieur Système & Cloud chez Worldline
  • diff --git a/utils/date.util.js b/utils/date.util.js index 184def4..054f247 100644 --- a/utils/date.util.js +++ b/utils/date.util.js @@ -5,5 +5,5 @@ require('dayjs/locale/fr') export const formatDate = (date) => { dayjs.locale('fr') const f = dayjs(date) - return f.isValid() ? f.format('DD MMM YYYY').toString() : '' + return f.isValid() ? f.format('DD-MM-YYYY').toString() : '' }