Kamil Niemczycki 7bee728518
Conversion of scss into tailwind (#2)
* 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
2022-08-02 17:01:32 +02:00

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>