File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- name : 简化版部署到阿里云 OSS
1+ name :
22
33on :
44 push :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ defineProps({
1313 </script >
1414<template >
1515 <div class =" home-components container mx-auto flex flex-col gap-8 py-12" >
16- <h1 class =" text-2xl! lg:text-4xl! leading-none font-bold! tracking-tight! text-gray -900 mt-10! mb-8! sm:mt-14! sm:mb-10!" >{{ title }} </h1 >
16+ <h1 class =" text-2xl! lg:text-4xl! leading-none font-bold! tracking-tight! dark: text-slate-300 text-slate -900 mt-10! mb-8! sm:mt-14! sm:mb-10!" >{{ title }} </h1 >
1717
1818 <div class =" grid grid-cols-4 gap-6 items-stretch justify-items-start" >
1919 <template v-for =" group in sidebar " :key =" group .text " class="flex w-full">
Original file line number Diff line number Diff line change 11<template >
22 <template v-if =" group .home " >
3- <div class =" rounded shadow bg-slate -100 p-6 flex flex-col" >
3+ <div class =" rounded shadow bg-neutral -100 dark:bg-neutral-800 p-6 flex flex-col" >
44 <h4 class =" mt-0! py-0 font-bold!" >{{ group.text }}</h4 >
55 <ul class =" flex-1 my-4! ml-3! space-y-2" >
66 <li v-for =" item in displayItems" :key =" item.text" class =" list-disc" >
7- <a :href =" item.link" class =" text-gray-700! hover:text-blue-600! hover:underline" >
7+ <a :href =" item.link" class =" text-gray-700! dark:text-gray-300! hover:text-blue-600! hover:underline" >
88 {{ item.text }}
99 </a >
1010 </li >
1111 </ul >
12- <div v-if =" hasMore" class =" mt-4 pt-4 border-t border-slate -200" >
13- <a :href =" group.link" class =" text-blue-600! hover:text-blue-800 text-sm font-medium" >
12+ <div v-if =" hasMore" class =" mt-4 pt-4 border-t border-neutral -200 dark:border-neutral-700 " >
13+ <a :href =" group.items[0]. link" class =" dark:text-gray-300 text-blue-600! hover:text-blue-800 text-sm font-medium" >
1414 {{ viewMoreLabel }} ({{ group.items.length }})
1515 </a >
1616 </div >
Original file line number Diff line number Diff line change 11@import "tailwindcss" ;
2+ @custom-variant dark (& : where (.dark , .dark * ));
You can’t perform that action at this time.
0 commit comments