ADD: Technologies
This commit is contained in:
parent
236aa01d6e
commit
1c86f3569e
19 changed files with 131 additions and 49 deletions
21
components/Technology/Technology.vue
Normal file
21
components/Technology/Technology.vue
Normal file
|
@ -0,0 +1,21 @@
|
|||
<style scoped src="./Technology.css"/>
|
||||
|
||||
<template>
|
||||
<a v-if="link" :href="link" target="_blank" rel="noopener noreferrer">
|
||||
<img class="Technology" :src="img" :alt="name" :class="[size]"/>
|
||||
</a>
|
||||
<img v-else class="Technology" :src="img" :alt="name" :class="[size]"/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
type Props = {
|
||||
img: string
|
||||
name: string
|
||||
link?: string
|
||||
size?: 'm' | 'l'
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
size: 'm'
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue