remove shared components.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { parseTime } from "utils/functions"
|
||||
import { useContestStore } from "oj/store/contest"
|
||||
import ContestType from "~/shared/ContestType.vue"
|
||||
import ContestType from "~/shared/components/ContestType.vue"
|
||||
|
||||
const contestStore = useContestStore()
|
||||
</script>
|
||||
|
||||
@@ -4,6 +4,7 @@ import { isDesktop } from "~/shared/composables/breakpoints"
|
||||
import { useContestStore } from "../store/contest"
|
||||
import ContestInfo from "./components/ContestInfo.vue"
|
||||
import ContestMenu from "./components/ContestMenu.vue"
|
||||
import Lock from "~/shared/icons/Lock.vue"
|
||||
|
||||
const props = defineProps<{
|
||||
contestID: string
|
||||
@@ -34,7 +35,7 @@ const passwordFormVisible = computed(
|
||||
<n-space align="center">
|
||||
<h2 class="contestTitle">{{ contestStore.contest.title }}</h2>
|
||||
<n-icon size="large" v-if="contestStore.isPrivate" class="lockIcon">
|
||||
<i-ep-lock />
|
||||
<Lock />
|
||||
</n-icon>
|
||||
<n-tag
|
||||
size="small"
|
||||
|
||||
@@ -4,8 +4,8 @@ import { getContestList } from "oj/api"
|
||||
import { filterEmptyValue, parseTime, duration } from "utils/functions"
|
||||
import { Contest } from "utils/types"
|
||||
import { ContestType, CONTEST_STATUS } from "~/utils/constants"
|
||||
import ContestTitle from "~/shared/ContestTitle.vue"
|
||||
import Pagination from "~/shared/Pagination.vue"
|
||||
import ContestTitle from "~/shared/components/ContestTitle.vue"
|
||||
import Pagination from "~/shared/components/Pagination.vue"
|
||||
import { useUserStore } from "~/shared/store/user"
|
||||
import { toggleLogin } from "~/shared/composables/modal"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { NButton, NIcon } from "naive-ui"
|
||||
import { GoldMedal } from "@element-plus/icons-vue"
|
||||
import Pagination from "~/shared/Pagination.vue"
|
||||
import Pagination from "~/shared/components/Pagination.vue"
|
||||
import AcAndSubmission from "../components/AcAndSubmission.vue"
|
||||
import { getContestProblems, getContestRank } from "oj/api"
|
||||
import { ContestRank, ProblemFiltered } from "~/utils/types"
|
||||
|
||||
Reference in New Issue
Block a user