Skip to content

Commit

Permalink
♻️ self-closing components로 일괄 수정 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
padosum committed Feb 20, 2023
1 parent 797a2e4 commit 8af50f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
@@ -1,6 +1,6 @@
<template>
<div :class="themeClass">
<NavBar :sections="sections"></NavBar>
<NavBar :sections="sections" />
<a @click="topClick" class="scrolltop" id="scroll-top" ref="scrollTopBtn">
<i class="bx bx-chevron-up scrolltop__icon"></i>
</a>
Expand Down
5 changes: 2 additions & 3 deletions src/components/DailyLog.vue
Expand Up @@ -7,12 +7,11 @@
tooltip-unit="read"
@day-click="handleDayClick"
:range-color="heatmapRangeColor"
>
</CalendarHeatmap>
/>
<SelectedPostList
:selected-date="selectedDate"
:selected-list="postItemsByDate"
></SelectedPostList>
/>
</section>
</template>

Expand Down
7 changes: 3 additions & 4 deletions src/views/ArchivePage.vue
@@ -1,18 +1,17 @@
<template>
<article class="bd-container archive__container">
<h1 class="title">{{ title }}</h1>
<DailyLog v-if="home"></DailyLog>
<DailyLog v-if="home" />
<article class="section">
<ul class="post-list">
<PostListItem
v-for="postItem in visiblePostItems"
:key="postItem.id"
:postItem="postItem"
>
</PostListItem>
/>
</ul>
</article>
<PaginationList :post-items="postItems"></PaginationList>
<PaginationList :post-items="postItems" />
</article>
</template>
<script setup lang="ts">
Expand Down
2 changes: 1 addition & 1 deletion src/views/PostPage.vue
@@ -1,5 +1,5 @@
<template>
<PostView :postItem="{ title, link, tags, publishDate, postHtml }"></PostView>
<PostView :postItem="{ title, link, tags, publishDate, postHtml }" />
</template>

<script setup lang="ts">
Expand Down

0 comments on commit 8af50f2

Please sign in to comment.