Skip to content

Commit

Permalink
Merge pull request #85 from Minn-Choi/feature/#6
Browse files Browse the repository at this point in the history
Feature/#6
  • Loading branch information
Minn-Choi authored Dec 5, 2024
2 parents 8710c4a + c0c70a6 commit ad4f892
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 18 deletions.
15 changes: 12 additions & 3 deletions src/views/feed/AkoStampFollow.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="min-h-screen bg-[#FFF9F2] font-pretendard flex justify-center">
<div class="w-[395px] min-w-[340px] bg-[#FAE8DA] min-h-screen relative overflow-y-auto">
<div class="w-[395px] min-w-[340px] min-h-screen relative overflow-y-auto">
<div class="back">
<header class="bg-white shadow-sm py-3 px-4 fixed top-0 left-1/2 transform -translate-x-1/2 w-[395px] min-w-[340px] z-10">
<div class="flex items-center justify-between">
<img src="@/assets/images/Akoming.svg" alt="๋กœ๊ณ " class="h-8" />
Expand All @@ -21,7 +22,7 @@
ํŒ”๋กœ์›Œ {{ followerCount }}
</div>
<div class="followerline" :style="{ width: '100%', height: '2px', background: showFollowers ? '#FF7F00' : '#B3B3B3', marginBottom: '15px' }"></div>
<ul v-show="showFollowers && followers.length > 0" style="margin-left: 155px; padding: 20; width: 150%; z-index: 200;">
<ul v-show="showFollowers && followers.length > 0" style="margin-left: 170px; padding: 20; width: 150%; z-index: 200;">
<li v-for="follower in followers" :key="follower.followingId" class="flex justify-between items-center mb-4">
<span class='font-NaR'>{{ follower.nickname }}</span>
<button @click="blockFollower(follower.followingId)" class="followerDelete-btn">์‚ญ์ œ</button>
Expand All @@ -34,7 +35,7 @@
ํŒ”๋กœ์ž‰ {{ followingCount }}
</div>
<div class="followingline" :style="{ width: '100%', height: '2px', background: showFollowings ? '#FF7F00' : '#B3B3B3', marginBottom: '15px' }"></div>
<ul v-show="showFollowings && followings.length > 0" style="padding-right: 110%; width: 260%;">
<ul v-show="showFollowings && followings.length > 0" style="padding-right: 100%; width: 250%;">
<li v-for="following in followings" :key="following.followingId" class="flex justify-between items-center mb-4">
<span class='font-NaR'>{{ following.nickname }}</span>
<button @click="unfollow(following.followingId)" class="unfollow-button">ํŒ”๋กœ์šฐ ์ทจ์†Œ</button>
Expand All @@ -44,6 +45,7 @@
</div>
</main>
<Footer />
</div>
</div>
</div>
</template>
Expand Down Expand Up @@ -172,3 +174,10 @@ const goBack = () => {
window.history.back();
};
</script>

<style scoped>
.back{
background-color:#FAE8DA;
height: 100%;
}
</style>
12 changes: 11 additions & 1 deletion src/views/feed/AkoStampWriteView.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<template>
<div class="min-h-screen bg-[#FFF9F2] font-pretendard flex justify-center">
<div
class="w-[395px] min-w-[340px] bg-[#FAE8DA] min-h-screen relative overflow-y-auto"
class="w-[395px] min-w-[340px] min-h-screen relative overflow-y-auto"
>
<div class='back'>
<header
class="bg-white shadow-sm py-3 px-4 fixed top-0 left-1/2 transform -translate-x-1/2 w-[395px] min-w-[340px] z-10"
>
Expand Down Expand Up @@ -67,6 +68,7 @@
</main>
<Footer />
</div>
</div>
</div>
</template>

Expand Down Expand Up @@ -154,3 +156,11 @@ onMounted(() => {
fetchUserData()
})
</script>

<style scoped>
.back{
background-color:#FAE8DA;
height: 100%;
}
</style>
35 changes: 21 additions & 14 deletions src/views/feed/MainFeedPage.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<template>
<div class="min-h-screen bg-[#FFF9F2] font-pretendard flex justify-center">
<div class="w-[395px] min-w-[340px] bg-[#FAE8DA] min-h-screen relative overflow-y-auto">
<div class="feed-page">
<MainHeader />
<SearchBar class="component-spacing1" style="margin-top: 100px" />
<FollowStats class="component-spacing2" />
<MyGoal class="component-spacing" />
<FriendGoal class="component-spacing3" />

<div class="Btn" v-if="!hasMineGoal">
<router-link to="/feed/ako-stamp-write" class="plusMentBtn">
<img src="@/assets/images/92.svg" alt="ํ”Œ๋Ÿฌ์Šค๋ฒ„ํŠผ" />
</router-link>
</div>
<div class="w-[395px] min-w-[340px] min-h-screen relative overflow-y-auto">
<div class="back">
<div class="feed-page">
<MainHeader />
<SearchBar class="component-spacing1" style="margin-top: 100px" />
<FollowStats class="component-spacing2" />
<MyGoal class="component-spacing" />
<FriendGoal class="component-spacing3" />

<div class="Btn" v-if="!hasMineGoal">
<router-link to="/feed/ako-stamp-write" class="plusMentBtn">
<img src="@/assets/images/92.svg" alt="ํ”Œ๋Ÿฌ์Šค๋ฒ„ํŠผ" />
</router-link>
</div>

<MainFooter />
<MainFooter />
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -100,4 +102,9 @@ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.back{
background-color:#FAE8DA;
height: 100%;
}
</style>

0 comments on commit ad4f892

Please sign in to comment.