<template>
   <div class="content-wrap " >
    <div class="flex justify-center">
      <div>
        <div class="frame title-box">
          <div class="photo" >
            <img src="../../../resources/img/img143_75s.png" alt="">
          </div>
          <p class="title mt20" style="color: #fff;">2024.07.01 1단원 완료!</p>
          
        </div>
        <div class="btn-wrap flex justify-center mt40" style="gap: 40px;">
            <button class="login-btn" @click="goToPage('PhotoDesign')">
              <img src="../../../resources/img/btn07_s.png" alt="">
              <p>수정하기</p>
            </button>
  
            <button class="login-btn" type="submit" @click="goToPage('Dashboard')"><img
                src="../../../resources/img/btn07_s.png" alt="">
              <p>완료</p>
            </button>
          </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      items: [
        { imgSrc1: 'client/resources/img/btn20_75s_normal.png', imgSrc2: 'client/resources/img/btn20_75s_click.png', },
        { imgSrc1: 'client/resources/img/btn21_75s_normal.png', imgSrc2: 'client/resources/img/btn21_75s_click.png', },
      ],
      timer: '00',
      selectedIndex: 0,
    }
  },
  methods: {
    updateContent(index) {
         this.selectedIndex = index;
        //  this.currentCon = this.items[index].con;
      },
    goToPage(page) {
      this.$router.push({ name: page });
    },
    startTimer() {
      if (this.intervalId) {
        clearInterval(this.intervalId);
      }
      this.timer = 5;
      this.intervalId = setInterval(() => {
        if (this.timer > 0) {
          this.timer--;
        } else {
          clearInterval(this.intervalId);
        }
      }, 1000);
    }
  },
  watch: {

  },
  computed: {

  },
  components: {
  },
  mounted() {

  }
}
</script>
<style scoped>
.imgGroup {
  width: fit-content;
}

.imgGroup button {
  position: relative;
}

.imgGroup button p,
.textbox p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  height: fit-content;
  background: #ffffffb8;
  border-radius: 5px;
  padding: 10px;
  font-size: 48px;
  font-family: 'ONEMobilePOP';
}

.pickGroup button {
  position: relative;
  margin-right: 30px;
}

.pickGroup button p {
  font-size: 34px;
  color: #c6c6c6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pickGroup article img {
  object-fit: contain;
  width: -webkit-fill-available;
}

.pickGroup article>div>p {
  font-size: 64px;
}
.popTxt{width: 101px;}
</style>