<template>
  <el-skeleton
      class="sk"
      animated
  >
    <template #template>
      <el-skeleton-item
          variant="image"
          class="sk__image"
      />
      <el-skeleton-item
          variant="p"
          class="sk__name"
      />
    </template>
  </el-skeleton>
</template>

<script setup lang="ts">
const props = defineProps<{
  isList?: boolean;
}>();
</script>

<style lang="scss" scoped>
.sk {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.61);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid #e5e7eb;
  padding: 23px;

  &__image {
    width: 100%;
    height: 233px;
    border-radius: $default_border_radius;
  }

  &__name {
    width: 100%;
    height: 20px;
  }
}
</style>