* installed tailwind * updated menu - tailwind * removed old style * updated container size for navigation * updated footer style - tailwind * updated header style - tailwind * updated colors * updated about section - tailwind * updated experiences style - tailwind * WIP * improved responsiveness * updated favorite projects * updated buttons * updated projects view * updated footer style * updated about view * updated project view * updated style for contact form * updated mail contact * final style update * fixed buttons * fix scroll button * added autoscroll for contact form * updated paths in project * empty line added * unnecessary comment removed
34 lines
444 B
Vue
34 lines
444 B
Vue
<template>
|
|
<button class="btn">
|
|
<font-awesome-icon
|
|
v-if="hasIcon && icon"
|
|
class="icon"
|
|
:icon="icon"
|
|
/>
|
|
<slot />
|
|
</button>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { defineProps } from 'vue'
|
|
|
|
defineProps({
|
|
hasIcon: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
icon: {
|
|
type: String,
|
|
default: ''
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import 'scss/btn';
|
|
|
|
.btn {
|
|
@include ghost-button();
|
|
}
|
|
</style>
|