diff --git a/.storybook/preview.js b/.storybook/preview.jsx
similarity index 52%
rename from .storybook/preview.js
rename to .storybook/preview.jsx
index 1f1fcd68..14fb4db0 100644
--- a/.storybook/preview.js
+++ b/.storybook/preview.jsx
@@ -1,3 +1,9 @@
+import React from 'react';
+import { Global } from '@emotion/react';
+import { globalStyle } from '../packages/ui/src/styles/GlobalStyles';
+import { ThemeProvider } from '@emotion/react';
+import { theme } from '../packages/ui/src/styles/theme';
+
/** @type { import('@storybook/react').Preview } */
const preview = {
parameters: {
@@ -17,6 +23,14 @@ const preview = {
],
},
},
+ decorators: [
+ (Story) => (
+
+
+
+
+ ),
+ ],
};
export default preview;
diff --git a/apps/salon/src/pages/Home.tsx b/apps/salon/src/pages/Home.tsx
index c64c8bb4..3b252445 100644
--- a/apps/salon/src/pages/Home.tsx
+++ b/apps/salon/src/pages/Home.tsx
@@ -1,16 +1,69 @@
-import { DuriNavbar, MobileLayout } from '@duri-fe/ui';
+import { DuriNavbar, Flex, Header, HeightFitFlex, MobileLayout, Pencil, Text, theme } from '@duri-fe/ui';
+import styled from '@emotion/styled';
const Home = () => {
return (
- <>
-
- Home
- Home
- Home
-
-
- >
+
+
+
+
+
+
+ 댕댕샵
+
+
+ 경기도 성남시
+
+
+
+
+ 댕댕샵 점주님 안녕하세용용용용용용용용
+
+
+
+
+
+
);
};
+const HomeHeaderContainer = styled(Flex)`
+ position: relative;
+ background-size: cover;
+ background-position: center;
+
+ &::before {
+ content: '';
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 70%;
+ background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, #111 100%);
+ }
+`;
+
+const TextContainer = styled(Flex)`
+ height: fit-content;
+ width: fit-content;
+ z-index: 2;
+`;
+
+const ShopNotice = styled(HeightFitFlex)`
+ width: calc(100% - 40px);
+ border-radius: 0 12px 12px 12px;
+ position: absolute;
+ bottom: -25px;
+ left: 20px;
+ overflow: hidden;
+`;
+
+const ShopNoticeText = styled(Text)`
+ width: 100%;
+ justify-content: start;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+`;
+
export default Home;
diff --git a/packages/ui/src/assets/Doori.tsx b/packages/ui/src/assets/Doori.tsx
index 7879a326..2b56ab63 100644
--- a/packages/ui/src/assets/Doori.tsx
+++ b/packages/ui/src/assets/Doori.tsx
@@ -2,14 +2,13 @@ import * as React from 'react';
const SvgDoori = (props: React.SVGProps) => (
);
diff --git a/packages/ui/src/assets/Magnifier.tsx b/packages/ui/src/assets/Magnifier.tsx
index 640835c3..d2fed3a5 100644
--- a/packages/ui/src/assets/Magnifier.tsx
+++ b/packages/ui/src/assets/Magnifier.tsx
@@ -2,13 +2,13 @@ import * as React from 'react';
const SvgMagnifier = (props: React.SVGProps) => (