mirror of
				https://github.com/imezx/Warp.git
				synced 2025-11-04 03:49:17 +00:00 
			
		
		
		
	
		
			
	
	
		
			28 lines
		
	
	
	
		
			498 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
		
		
			
		
	
	
			28 lines
		
	
	
	
		
			498 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| 
								 | 
							
								<script lang="ts" setup>
							 | 
						||
| 
								 | 
							
								import type { DefaultTheme } from 'vitepress/theme'
							 | 
						||
| 
								 | 
							
								import VPSocialLink from './VPSocialLink.vue'
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								defineProps<{
							 | 
						||
| 
								 | 
							
								  links: DefaultTheme.SocialLink[]
							 | 
						||
| 
								 | 
							
								}>()
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<template>
							 | 
						||
| 
								 | 
							
								  <div class="VPSocialLinks">
							 | 
						||
| 
								 | 
							
								    <VPSocialLink
							 | 
						||
| 
								 | 
							
								      v-for="{ link, icon, ariaLabel } in links"
							 | 
						||
| 
								 | 
							
								      :key="link"
							 | 
						||
| 
								 | 
							
								      :icon="icon"
							 | 
						||
| 
								 | 
							
								      :link="link"
							 | 
						||
| 
								 | 
							
								      :ariaLabel="ariaLabel"
							 | 
						||
| 
								 | 
							
								    />
							 | 
						||
| 
								 | 
							
								  </div>
							 | 
						||
| 
								 | 
							
								</template>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<style scoped>
							 | 
						||
| 
								 | 
							
								.VPSocialLinks {
							 | 
						||
| 
								 | 
							
								  display: flex;
							 | 
						||
| 
								 | 
							
								  justify-content: center;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								</style>
							 |