Skip to content

Commit 65e9c49

Browse files
authored
[Design] 방송 목록 CSS 수정 & 배너 애니메이션 추가
[Design] 방송 목록 CSS 수정 & 배너 애니메이션 추가
2 parents 94dbf3e + aa09c25 commit 65e9c49

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

apps/client/src/pages/Home/Banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function Banner() {
77
<div className="flex flex-row justify-between w-full h-96 p-5">
88
<div className="font-bold text-4xl text-text-strong flex flex-row items-center ml-16 gap-12">
99
<MoveCharacter />
10-
<div className="flex flex-col gap-3">
10+
<div className="flex flex-col gap-3 animate-fade-in">
1111
<p>출석부 관리부터, 소통까지!</p>
1212
<p>
1313
부담 없이 함께하는 <span className="text-text-point">네부캠 전용</span> 온라인 캠퍼스

apps/client/src/pages/Home/LiveList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function LiveList() {
5959
}, []);
6060

6161
return (
62-
<div className="flex flex-col w-full flex-1 p-10 justify-center">
62+
<div className="flex flex-col w-full flex-1 p-10 justify-start items-center">
6363
<div className="h-14 w-full flex justify-between items-center my-5 px-5">
6464
<FieldFilter onClickFilterButton={hanldeFilterField} />
6565
<Search onSearch={handleSearch} />

apps/client/src/pages/Home/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Banner from './Banner';
33

44
export default function Home() {
55
return (
6-
<div className="flex flex-col justify-between w-full min-h-[calc(100vh-74px)]">
6+
<div className="flex flex-col justify-start w-full min-h-[calc(100vh-74px)]">
77
<Banner />
88
<LiveList />
99
</div>

apps/client/tailwind.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ export default {
8989
md: 'calc(var(--radius) - 2px)',
9090
sm: 'calc(var(--radius) - 4px)',
9191
},
92+
keyframes: {
93+
'fade-in': {
94+
'0%': { opacity: '0', transform: 'translateY(-20px)' },
95+
'100%': { opacity: '1', transform: 'translate-y-0' },
96+
},
97+
},
98+
animation: {
99+
'fade-in': 'fade-in 0.7s ease-in-out',
100+
},
92101
},
93102
},
94103
plugins: [require('tailwindcss-animate')],

0 commit comments

Comments
 (0)