From 56a6240bf700ac307342ed494d8bfbabe5c822dc Mon Sep 17 00:00:00 2001
From: 简律纯 <hsiangnianian@outlook.com>
Date: Wed, 19 Apr 2023 17:50:02 +0800
Subject: ✨docs init
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 docs/components/app/AppSocialIcons.vue | 58 ----------------------------------
 1 file changed, 58 deletions(-)
 delete mode 100644 docs/components/app/AppSocialIcons.vue

(limited to 'docs/components/app/AppSocialIcons.vue')

diff --git a/docs/components/app/AppSocialIcons.vue b/docs/components/app/AppSocialIcons.vue
deleted file mode 100644
index c30f513..0000000
--- a/docs/components/app/AppSocialIcons.vue
+++ /dev/null
@@ -1,58 +0,0 @@
-<script setup lang="ts">
-const socials = ['twitter', 'facebook', 'instagram', 'youtube', 'github', 'medium']
-
-const { config } = useDocus()
-
-const icons = computed<any>(() => {
-  return Object.entries(config.value.socials || {})
-    .map(([key, value]) => {
-      if (typeof value === 'object') {
-        return value
-      } else if (typeof value === 'string' && value && socials.includes(key)) {
-        return {
-          href: `https://${key}.com/${value}`,
-          icon: `fa-brands:${key}`,
-          label: value
-        }
-      } else {
-        return null
-      }
-    })
-    .filter(Boolean)
-})
-</script>
-
-<template>
-  <NuxtLink
-    v-for="icon in icons"
-    :key="icon.label"
-    rel="noopener noreferrer"
-    :title="icon.label"
-    :aria-label="icon.label"
-    :href="icon.href"
-    target="_blank"
-  >
-    <Icon v-if="icon.icon" :name="icon.icon" />
-  </NuxtLink>
-</template>
-
-<style lang="ts" scoped>
-css({
-  a: {
-    display: 'flex',
-    color: '{color.gray.500}',
-    padding: '{space.4}',
-
-    '@dark': {
-      color: '{color.gray.400}'
-    },
-
-    '&:hover': {
-      color: '{color.gray.700}',
-      '@dark': {
-        color: '{color.gray.200}',
-      }
-    },
-  }
-})
-</style>
-- 
cgit v1.2.3-70-g09d2

