<template>
  <div class="code-wrapper">
    <img :src="url" class="code-icon" alt="" />
  </div>
</template>

<script setup>
defineProps({
  url: String
})
</script>

<style lang="scss" scoped>
.code-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 15px;
  width: 180px;
  height: 220px;
  background: #fff;
  border-radius: 8px;
  .code-icon {
    width: 150px;
    height: 190px;
    object-fit: contain;
    object-position: center;
  }
}
</style>
