File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed
apps/dashboard/src/app/team/[team_slug]/[project_slug]/components Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 1+ import type { Meta , StoryObj } from "@storybook/react" ;
2+ import { BadgeContainer , mobileViewport } from "stories/utils" ;
3+ import { EmptyState } from "./EmptyState" ;
4+
5+ const meta = {
6+ title : "project/Overview/EmptyState" ,
7+ component : Component ,
8+ parameters : {
9+ layout : "centered" ,
10+ } ,
11+ } satisfies Meta < typeof Component > ;
12+
13+ export default meta ;
14+ type Story = StoryObj < typeof meta > ;
15+
16+ export const Desktop : Story = {
17+ parameters : {
18+ nextjs : {
19+ appDirectory : true ,
20+ } ,
21+ } ,
22+ } ;
23+
24+ export const Mobile : Story = {
25+ parameters : {
26+ nextjs : {
27+ appDirectory : true ,
28+ } ,
29+ viewport : mobileViewport ( "iphone14" ) ,
30+ } ,
31+ } ;
32+
33+ function Component ( ) {
34+ return (
35+ < div className = "container max-w-[1150px] py-8" >
36+ < BadgeContainer label = "Base" >
37+ < EmptyState />
38+ </ BadgeContainer >
39+ </ div >
40+ ) ;
41+ }
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ export function EmptyState() {
2626 Project Overview is Coming Soon
2727 </ h3 >
2828 < p className = "text-muted-foreground text-base" >
29- Understand how usees are interacting with your project in a
30- glance.
29+ Understand how users are interacting with your project
3130 </ p >
3231 </ div >
3332 < div className = "flex flex-wrap gap-2 justify-center items-center" >
You can’t perform that action at this time.
0 commit comments