From 6a977915493fc01e245bdece881af1f953ceb35d Mon Sep 17 00:00:00 2001 From: Florent Delerue Date: Wed, 1 Mar 2023 16:21:02 +0100 Subject: [PATCH 1/2] refactor(community): update props --- docs/5.community/1.nuxt-community.md | 44 +++++++++++++--------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/docs/5.community/1.nuxt-community.md b/docs/5.community/1.nuxt-community.md index ffbae07f4abc..b8036feee470 100644 --- a/docs/5.community/1.nuxt-community.md +++ b/docs/5.community/1.nuxt-community.md @@ -43,13 +43,12 @@ The development of Nuxt and its ecosystem is led by an international team. Our c --- :::card-item --- - contentClass: '' - ringClass: '' gradientBorder: false titleClass: 'text-3xl font-semibold sm:text-5xl u-text-gray-900 mb-2 mt-2' descriptionClass: 'u-text-gray-500 text-lg font-medium' - bodyClass: 'p-2.5 sm:p-4' - backgroundClass: 'bg-transparent' + backgroundColor: 'bg-transparent' + border: false + contentClass: 'gap-y-0' --- #title 60M @@ -58,13 +57,12 @@ The development of Nuxt and its ecosystem is led by an international team. Our c ::: :::card-item --- - contentClass: '' - ringClass: '' gradientBorder: false titleClass: 'text-3xl font-semibold sm:text-5xl u-text-gray-900 mb-2 mt-2' descriptionClass: 'u-text-gray-500 text-lg font-medium' - bodyClass: 'p-2.5 sm:p-4' - backgroundClass: 'bg-transparent' + border: false + backgroundColor: 'bg-transparent' + contentClass: 'gap-y-0' --- #title 75K @@ -73,13 +71,12 @@ The development of Nuxt and its ecosystem is led by an international team. Our c ::: :::card-item --- - contentClass: '' - ringClass: '' gradientBorder: false titleClass: 'text-3xl font-semibold sm:text-5xl u-text-gray-900 mb-2 mt-2' descriptionClass: 'u-text-gray-500 text-lg font-medium' - bodyClass: 'p-2.5 sm:p-4' - backgroundClass: 'bg-transparent' + border: false + backgroundColor: 'bg-transparent' + contentClass: 'gap-y-0' --- #title 330 @@ -88,13 +85,12 @@ The development of Nuxt and its ecosystem is led by an international team. Our c ::: :::card-item --- - contentClass: '' - ringClass: '' gradientBorder: false titleClass: 'text-3xl font-semibold sm:text-5xl u-text-gray-900 mb-2 mt-2' descriptionClass: 'u-text-gray-500 text-lg font-medium' - bodyClass: 'p-2.5 sm:p-4' - backgroundClass: 'bg-transparent' + backgroundColor: 'bg-transparent' + border: false + contentClass: 'gap-y-0' --- #title 1K @@ -132,10 +128,10 @@ From user to contributor, these guides will help you get the best out of Nuxt. --- cardListClass: 'grid grid-cols-1 pt-6 gap-y-4 sm:gap-y-0 sm:grid-cols-2 border-gray-200 dark:border-gray-800 rounded-lg overflow-hidden' --- - ::card-item + ::card-item{ .border .sm:rounded-bl-none .sm:rounded-r-none .sm:rounded-br-none .sm:rounded-tl-lg } --- backgroundClass: 'border dark:border-gray-700' - roundedClass: 'sm:rounded-r-none sm:rounded-br-none sm:rounded-tl-lg' + border: false ringClass: 'ring-0' gradientBorder: false descriptionClass: 'w-full sm:w-2/3' @@ -152,10 +148,10 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description Nuxt is a community project - and so we love contributions of all kinds! ❤️ :: - ::card-item + ::card-item{ .border .sm:rounded-l-none .sm:rounded-br-none .sm:rounded-tr-lg } --- backgroundClass: 'border dark:border-gray-700' - roundedClass: 'sm:rounded-l-none sm:rounded-br-none sm:rounded-tr-lg' + border: false ringClass: 'ring-0' gradientBorder: false descriptionClass: 'w-full sm:w-2/3' @@ -172,11 +168,11 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description Nuxt is constantly evolving, with new features and modules being added all the time. :: - ::card-item + ::card-item{ .border .sm:rounded-tl-none .sm:rounded-r-none .sm:rounded-bl-lg } --- backgroundClass: 'border dark:border-gray-700' ringClass: 'ring-0' - roundedClass: 'sm:rounded-tl-none sm:rounded-r-none sm:rounded-bl-lg' + border: false gradientBorder: false descriptionClass: 'w-full sm:w-2/3' backgroundImageClass: 'hidden sm:block absolute bottom-0 right-0' @@ -192,11 +188,11 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description One of the most valuable roles in open source is taking the time to report bugs helpfully. :: - ::card-item + ::card-item{ .border .sm:rounded-l-none .sm:rounded-br-lg .sm:rounded-tr-none} --- backgroundClass: 'border dark:border-gray-700' ringClass: 'ring-0' - roundedClass: 'sm:rounded-l-none sm:rounded-br-lg sm:rounded-tr-none' + border: false gradientBorder: false descriptionClass: 'w-full sm:w-2/3' backgroundImageClass: 'hidden sm:block absolute bottom-0 right-0' From 61fb3304591b8c4173e4fffae5410380d993ea9e Mon Sep 17 00:00:00 2001 From: Florent Delerue Date: Wed, 1 Mar 2023 17:31:42 +0100 Subject: [PATCH 2/2] fix(community): journey cards border --- docs/5.community/1.nuxt-community.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/5.community/1.nuxt-community.md b/docs/5.community/1.nuxt-community.md index b8036feee470..a63868067dc0 100644 --- a/docs/5.community/1.nuxt-community.md +++ b/docs/5.community/1.nuxt-community.md @@ -128,10 +128,10 @@ From user to contributor, these guides will help you get the best out of Nuxt. --- cardListClass: 'grid grid-cols-1 pt-6 gap-y-4 sm:gap-y-0 sm:grid-cols-2 border-gray-200 dark:border-gray-800 rounded-lg overflow-hidden' --- - ::card-item{ .border .sm:rounded-bl-none .sm:rounded-r-none .sm:rounded-br-none .sm:rounded-tl-lg } + ::card-item{ .pl-1 .border .dark:bg-gray-900 .dark:border-gray-800 .sm:rounded-bl-none .sm:rounded-r-none .sm:rounded-br-none .sm:rounded-tl-lg } --- - backgroundClass: 'border dark:border-gray-700' border: false + rounded: 'sm' ringClass: 'ring-0' gradientBorder: false descriptionClass: 'w-full sm:w-2/3' @@ -148,9 +148,8 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description Nuxt is a community project - and so we love contributions of all kinds! ❤️ :: - ::card-item{ .border .sm:rounded-l-none .sm:rounded-br-none .sm:rounded-tr-lg } + ::card-item{ .rounded-md .dark:bg-gray-900 .border .dark:border-gray-800 .sm:rounded-l-none .sm:rounded-br-none .sm:rounded-tr-lg } --- - backgroundClass: 'border dark:border-gray-700' border: false ringClass: 'ring-0' gradientBorder: false @@ -168,11 +167,11 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description Nuxt is constantly evolving, with new features and modules being added all the time. :: - ::card-item{ .border .sm:rounded-tl-none .sm:rounded-r-none .sm:rounded-bl-lg } + ::card-item{ .pl-1 .dark:bg-gray-900 .border .dark:border-gray-800 .sm:rounded-tl-none .sm:rounded-r-none .sm:rounded-bl-lg } --- - backgroundClass: 'border dark:border-gray-700' ringClass: 'ring-0' border: false + rounded: 'sm' gradientBorder: false descriptionClass: 'w-full sm:w-2/3' backgroundImageClass: 'hidden sm:block absolute bottom-0 right-0' @@ -188,9 +187,8 @@ From user to contributor, these guides will help you get the best out of Nuxt. #description One of the most valuable roles in open source is taking the time to report bugs helpfully. :: - ::card-item{ .border .sm:rounded-l-none .sm:rounded-br-lg .sm:rounded-tr-none} + ::card-item{ .rounded-md .dark:bg-gray-900 .border .dark:border-gray-800 .sm:rounded-l-none .sm:rounded-br-lg .sm:rounded-tr-none} --- - backgroundClass: 'border dark:border-gray-700' ringClass: 'ring-0' border: false gradientBorder: false