From 593270d10bba2dee98e9007ea8932ba7e87bf223 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Sat, 12 Oct 2024 04:22:03 +0530 Subject: [PATCH] feat: Add the locale card component (#10270) --- .../LocaleCard/LocaleCard.story.vue | 29 +++++ .../HelpCenter/LocaleCard/LocaleCard.vue | 103 ++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.story.vue create mode 100644 app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.vue diff --git a/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.story.vue b/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.story.vue new file mode 100644 index 000000000..2bc5facbb --- /dev/null +++ b/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.story.vue @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.vue b/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.vue new file mode 100644 index 000000000..1eba0616f --- /dev/null +++ b/app/javascript/dashboard/components-next/HelpCenter/LocaleCard/LocaleCard.vue @@ -0,0 +1,103 @@ + + + + + + + + + + + {{ locale }} + + + Default + + + + + + {{ articleCount }} articles + + + + {{ categoryCount }} categories + + + + + + + + + + + + +