<template>
  <div class="quote-card-new__container" @click="newQuote">
    <div class="quote-card-new__new">+</div>
  </div>
</template>

<script setup lang="ts">
import useEngine from '@/composables/useEngine'
const newQuote = () => useEngine().createQuote('something is going to happen')
</script>

<style lang="scss">
@import '~/assets/css/components';

.quote-card-new {
  &__container {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    height: 150px;
    margin: 32px;
    padding: 32px;
    background-color: $quote-new-background-color;
    border: $quote-new-border;
    border-radius: 0 16px 0 0;
    cursor: pointer;
  }

  &__new {
    width: 100%;
    font-size: 72px;
    color: $quote-new-text-color;
    text-align: center;
  }
}
</style>
