File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
src/app/member/profile/_components/Banner Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ import { style } from "@vanilla-extract/css" ;
2+
3+ import { colors , semantic } from "@/styles" ;
4+
5+ export const wrapper = style ( {
6+ backgroundColor : colors . redOrange [ 90 ] ,
7+ padding : "1.4rem 2.4rem" ,
8+ } ) ;
9+
10+ export const linkWrapper = style ( {
11+ display : "flex" ,
12+ alignItems : "center" ,
13+ gap : "0.4rem" ,
14+ } ) ;
15+
16+ export const icon = style ( {
17+ color : semantic . icon . black ,
18+ } ) ;
Original file line number Diff line number Diff line change 1+ "use client" ;
2+
3+ import Image from "next/image" ;
4+ import Link from "next/link" ;
5+
6+ import RightArrowIcon from "@/assets/right-arrow.svg" ;
7+ import { Bleed } from "@/components/ui/Bleed" ;
8+ import { HStack , VStack } from "@/components/ui/Stack" ;
9+ import { Text } from "@/components/ui/Text" ;
10+
11+ import * as styles from "./Banner.css" ;
12+
13+ export const Banner = ( ) => {
14+ return (
15+ < Bleed inline = { 20 } className = { styles . wrapper } >
16+ < HStack align = 'center' gap = { 8 } >
17+ < Image
18+ src = '/images/store.png'
19+ alt = '가게 이미지'
20+ width = { 55 }
21+ height = { 55 }
22+ />
23+ < VStack gap = { 4 } justify = 'center' >
24+ < Text typo = 'body1Sb' color = 'neutral.10' >
25+ 당신의 소중한 가게를 소개해주세요
26+ </ Text >
27+ { /* TODO: [가게 등록하기] url로 변경 */ }
28+ < Link href = '/' className = { styles . linkWrapper } >
29+ < Text typo = 'label2' color = 'neutral.10' >
30+ 가게 등록하기
31+ </ Text >
32+ < RightArrowIcon width = { 16 } height = { 16 } className = { styles . icon } />
33+ </ Link >
34+ </ VStack >
35+ </ HStack >
36+ </ Bleed >
37+ ) ;
38+ } ;
Original file line number Diff line number Diff line change 1+ export { Banner } from "./Banner" ;
You can’t perform that action at this time.
0 commit comments