Skip to content

Commit a411220

Browse files
authored
Merge pull request #192 from CodeitFESI4-Team1/Fix/191/storybook-img
Fix/191/storybook img
2 parents b488fd6 + d56b48a commit a411220

24 files changed

+27
-37
lines changed

src/app/(crew)/crew/detail/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default async function CrewDetailPage({ params }: CrewDetailPageProps) {
1616
const id = Number(params.id);
1717

1818
return (
19-
<div className="mx-auto min-h-screen w-full max-w-full overflow-x-hidden">
19+
<div className="mx-auto w-full max-w-full overflow-x-hidden">
2020
{/* Detail Section */}
2121
<section className="mx-3 my-7 md:mx-7 md:my-11 lg:mx-11 lg:my-16">
2222
<article>

src/app/(crew)/layout.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ export default function RootLayout({
99
children: React.ReactNode;
1010
}>) {
1111
return (
12-
<>
12+
<div className="min-h-screen">
1313
<Header />
14-
<div className="flex min-h-screen flex-col items-center bg-gray-50">
15-
<main className="container flex min-h-screen max-w-pc flex-1 flex-col md:shadow-bg">
16-
{children}
17-
</main>
14+
<div className="flex flex-col items-center bg-gray-50">
15+
<main className="container flex max-w-pc flex-1 flex-col md:shadow-bg">{children}</main>
1816
</div>
19-
</>
17+
</div>
2018
);
2119
}

src/app/(crew)/my-page/layout.tsx

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

44
export default function MyPage({ children }: { children: React.ReactNode }) {
55
return (
6-
<div className="container mx-auto my-0 min-h-screen max-w-pc bg-gray-50 px-3 py-11 md:px-8 lg:px-11">
6+
<div className="container mx-auto my-0 max-w-pc bg-gray-50 px-3 py-11 md:px-8 lg:px-11">
77
<div className="lg:gap-4.5 flex flex-col gap-3 md:gap-4">
88
<ProfileCardContainer />
99
</div>

src/stories/Configure.mdx

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
import Image from 'next/image';
22
import { Meta } from '@storybook/blocks';
3-
import Accessibility from './assets/accessibility.png';
4-
import AddonLibrary from './assets/addon-library.png';
5-
import Assets from './assets/assets.png';
6-
import Context from './assets/context.png';
3+
import FindCrew from './assets/1-find-crew.png';
4+
import Login from './assets/2-login.png';
5+
import Crew from './assets/3-crew.png';
6+
import Gathering from './assets/4-gathering.png';
7+
import MyCrew from './assets/5-my-crew.png';
8+
import MyPage from './assets/6-my-page.png';
79
import Cbd from './assets/development-cbd.png';
810
import Pattern from './assets/development-pattern.png';
9-
import Discord from './assets/discord.svg';
10-
import Docs from './assets/docs.png';
11-
import FigmaPlugin from './assets/figma-plugin.png';
1211
import Github from './assets/github.svg';
13-
import Share from './assets/share.png';
14-
import Styling from './assets/styling.png';
15-
import Testing from './assets/testing.png';
16-
import Theming from './assets/theming.png';
17-
import Tutorials from './assets/tutorials.svg';
1812
import Youtube from './assets/youtube.svg';
1913

2014
export const RightArrow = () => (
@@ -88,8 +82,8 @@ export const RightArrow = () => (
8882
<Image
8983
width={0}
9084
height={0}
91-
style={{ width: '100%', height: 'auto' }}
92-
src={Docs}
85+
style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
86+
src={FindCrew}
9387
alt="A screenshot showing the autodocs tag being set, pointing a docs page being generated"
9488
/>
9589
<h4 className="sb-section-item-heading">크루 찾기</h4>
@@ -100,8 +94,8 @@ export const RightArrow = () => (
10094
<Image
10195
width={0}
10296
height={0}
103-
style={{ width: '100%', height: 'auto' }}
104-
src={Share}
97+
style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
98+
src={Login}
10599
alt="A browser window showing a Storybook being published to a chromatic.com URL"
106100
/>
107101
<h4 className="sb-section-item-heading">로그인/회원가입</h4>
@@ -112,8 +106,8 @@ export const RightArrow = () => (
112106
<Image
113107
width={0}
114108
height={0}
115-
style={{ width: '100%', height: 'auto' }}
116-
src={FigmaPlugin}
109+
style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
110+
src={Crew}
117111
alt="Windows showing the Storybook plugin in Figma"
118112
/>
119113
<h4 className="sb-section-item-heading">크루</h4>
@@ -124,8 +118,8 @@ export const RightArrow = () => (
124118
<Image
125119
width={0}
126120
height={0}
127-
style={{ width: '100%', height: 'auto' }}
128-
src={Testing}
121+
style={{ width: '100%', height: '250px', objectFit: 'contain', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
122+
src={Gathering}
129123
alt="Screenshot of tests passing and failing"
130124
/>
131125
<h4 className="sb-section-item-heading">약속</h4>
@@ -136,8 +130,8 @@ export const RightArrow = () => (
136130
<Image
137131
width={0}
138132
height={0}
139-
style={{ width: '100%', height: 'auto' }}
140-
src={Accessibility}
133+
style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
134+
src={MyCrew}
141135
alt="Screenshot of accessibility tests passing and failing"
142136
/>
143137
<h4 className="sb-section-item-heading">나의 크루/약속</h4>
@@ -148,8 +142,8 @@ export const RightArrow = () => (
148142
<Image
149143
width={0}
150144
height={0}
151-
style={{ width: '100%', height: 'auto' }}
152-
src={Theming}
145+
style={{ width: '100%', height: '250px', objectPosition: 'top', borderRadius: '5px', borderWidth: '2px', borderColor: '#DBEAFE'}}
146+
src={MyPage}
153147
alt="Screenshot of Storybook in light and dark mode"
154148
/>
155149
<h4 className="sb-section-item-heading">마이페이지</h4>
@@ -172,9 +166,11 @@ export const RightArrow = () => (
172166
<Image
173167
width={650}
174168
height={347}
175-
src={AddonLibrary}
169+
src={FindCrew}
176170
alt="Integrate your tools with Storybook to connect workflows."
171+
style={{ borderRadius: '10px', borderWidth: '2px', borderColor: '#DBEAFE'}}
177172
/>
173+
178174
</div>
179175
</div>
180176

@@ -311,7 +307,6 @@ export const RightArrow = () => (
311307
top: 0;
312308
height: 100%;
313309
width: 200%;
314-
overflow: hidden;
315310
}
316311
317312
.sb-addon-img img {

src/stories/assets/1-find-crew.png

2.03 MB
Loading

src/stories/assets/2-login.png

645 KB
Loading

src/stories/assets/3-crew.png

2.07 MB
Loading

src/stories/assets/4-gathering.png

872 KB
Loading

src/stories/assets/5-my-crew.png

1.06 MB
Loading

src/stories/assets/6-my-page.png

407 KB
Loading

0 commit comments

Comments
 (0)