替换所有simple-icons
This commit is contained in:
@@ -66,7 +66,7 @@ const handleLoginRegister = (type: "login" | "register") => {
|
||||
variant="ghost"
|
||||
to="https://github.com/estel-li"
|
||||
target="_blank"
|
||||
icon="i-simple-icons-github"
|
||||
icon="simple-icons-github"
|
||||
aria-label="GitHub"
|
||||
/>
|
||||
</UTooltip>
|
||||
|
@@ -2,13 +2,13 @@
|
||||
const providers = ref([
|
||||
{
|
||||
label: 'Google',
|
||||
icon: 'i-simple-icons-google',
|
||||
icon: 'simple-icons-google',
|
||||
color: 'neutral',
|
||||
variant: 'subtle'
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
icon: 'i-simple-icons-github',
|
||||
icon: 'simple-icons-github',
|
||||
color: 'neutral',
|
||||
variant: 'subtle'
|
||||
}
|
||||
|
@@ -2,13 +2,13 @@
|
||||
const providers = ref([
|
||||
{
|
||||
label: 'Google',
|
||||
icon: 'i-simple-icons-google',
|
||||
icon: 'simple-icons-google',
|
||||
color: 'neutral',
|
||||
variant: 'subtle'
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
icon: 'i-simple-icons-github',
|
||||
icon: 'simple-icons-github',
|
||||
color: 'neutral',
|
||||
variant: 'subtle'
|
||||
}
|
||||
|
@@ -96,11 +96,11 @@ const {
|
||||
|
||||
// 默认图标映射
|
||||
const defaultIcons = {
|
||||
vue: 'i-simple-icons-vuedotjs',
|
||||
ts: 'i-simple-icons-typescript',
|
||||
js: 'i-simple-icons-javascript',
|
||||
md: 'i-simple-icons-markdown',
|
||||
json: 'i-simple-icons-json',
|
||||
vue: 'simple-icons-vuedotjs',
|
||||
ts: 'simple-icons-typescript',
|
||||
js: 'simple-icons-javascript',
|
||||
md: 'simple-icons-markdown',
|
||||
json: 'simple-icons-json',
|
||||
folder: 'lucide-folder',
|
||||
file: 'lucide-file'
|
||||
};
|
||||
|
@@ -78,7 +78,7 @@ const items = ref<NavigationMenuItem[][]>([
|
||||
// [
|
||||
// {
|
||||
// label: 'GitHub',
|
||||
// icon: 'i-simple-icons-github',
|
||||
// icon: 'simple-icons-github',
|
||||
// badge: '3.8k',
|
||||
// to: 'https://github.com/nuxt/ui',
|
||||
// target: '_blank',
|
||||
|
@@ -23,19 +23,19 @@ const items = [
|
||||
},
|
||||
{
|
||||
label: 'View as Markdown',
|
||||
icon: 'i-simple-icons:markdown',
|
||||
icon: 'simple-icons:markdown',
|
||||
target: '_blank',
|
||||
to: markdownLink.value,
|
||||
},
|
||||
{
|
||||
label: 'Open in ChatGPT',
|
||||
icon: 'i-simple-icons:openai',
|
||||
icon: 'simple-icons:openai',
|
||||
target: '_blank',
|
||||
to: `https://chatgpt.com/?hints=search&q=${encodeURIComponent(`Read ${markdownLink.value} so I can ask questions about it.`)}`,
|
||||
},
|
||||
{
|
||||
label: 'Open in Claude',
|
||||
icon: 'i-simple-icons:anthropic',
|
||||
icon: 'simple-icons:anthropic',
|
||||
target: '_blank',
|
||||
to: `https://claude.ai/new?q=${encodeURIComponent(`Read ${markdownLink.value} so I can ask questions about it.`)}`,
|
||||
},
|
||||
|
Reference in New Issue
Block a user