Skip to content

Commit 961556e

Browse files
committed
feat: no data states
1 parent 4b56eeb commit 961556e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

apps/frontend/src/components/new-layout/layout.media.component.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { MediaBox } from '@gitroom/frontend/components/media/media.component';
44

55
export const MediaLayoutComponent = () => {
66
return (
7-
<MediaBox setMedia={() => {}} closeModal={() => {}} standalone={true} />
8-
)
9-
}
7+
<div className="bg-newBgColorInner p-[20px] flex flex-1 flex-col gap-[15px] transition-all">
8+
<MediaBox setMedia={() => {}} closeModal={() => {}} standalone={true} />
9+
</div>
10+
);
11+
};

apps/frontend/src/components/platform-analytics/platform.analytics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const PlatformAnalytics = () => {
127127
}
128128
if (!sortedIntegrations.length && !isLoading) {
129129
return (
130-
<div className="flex flex-col items-center mt-[100px] gap-[27px] text-center">
130+
<div className="bg-newBgColorInner p-[20px] flex flex-col gap-[15px] transition-all flex-1 justify-center items-center text-center">
131131
<div>
132132
<img src="/peoplemarketplace.svg" />
133133
</div>

apps/frontend/src/components/plugs/plugs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const Plugs = () => {
7575
}
7676
if (!sortedIntegrations.length && !isLoading) {
7777
return (
78-
<div className="flex flex-col items-center mt-[100px] gap-[27px] text-center">
78+
<div className="bg-newBgColorInner p-[20px] flex flex-1 flex-col gap-[15px] transition-all items-center justify-center">
7979
<div>
8080
<img src="/peoplemarketplace.svg" />
8181
</div>

0 commit comments

Comments
 (0)