Skip to content

Commit ba7b2a3

Browse files
authored
fix: space app default background (#8384)
1 parent eafa393 commit ba7b2a3

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

apps/space/app/error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function ErrorPage() {
77
};
88

99
return (
10-
<div className="grid h-screen place-items-center p-4">
10+
<div className="bg-surface-1 grid h-screen place-items-center p-4">
1111
<div className="space-y-8 text-center">
1212
<div className="space-y-2">
1313
<h3 className="text-16 font-semibold">Yikes! That doesn{"'"}t look good.</h3>

apps/space/app/issues/[anchor]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function IssuesLayout(props: Route.ComponentProps) {
114114

115115
if (!publishSettings && !error) {
116116
return (
117-
<div className="flex items-center justify-center h-screen w-full">
117+
<div className="bg-surface-1 flex items-center justify-center h-screen w-full">
118118
<LogoSpinner />
119119
</div>
120120
);

apps/space/app/not-found.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url";
33

44
function NotFound() {
55
return (
6-
<div className="h-screen w-screen grid place-items-center">
6+
<div className="h-screen w-screen grid place-items-center bg-surface-1">
77
<div className="text-center">
8-
<div className="mx-auto size-32 md:size-52 grid place-items-center rounded-full bg-layer-1">
8+
<div className="mx-auto size-32 md:size-52 grid place-items-center rounded-full">
99
<div className="size-16 md:size-32 grid place-items-center">
1010
<img src={SomethingWentWrongImage} alt="Something went wrong" width={128} height={128} />
1111
</div>

apps/space/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ const HomePage = observer(function HomePage() {
2929

3030
if (isInitializing)
3131
return (
32-
<div className="flex h-screen min-h-[500px] w-full justify-center items-center">
32+
<div className="bg-surface-1 flex h-screen min-h-[500px] w-full justify-center items-center">
3333
<LogoSpinner />
3434
</div>
3535
);
3636

3737
if (currentUser && isAuthenticated) {
3838
if (nextPath && isValidNextPath(nextPath)) {
3939
return (
40-
<div className="flex h-screen min-h-[500px] w-full justify-center items-center">
40+
<div className="bg-surface-1 flex h-screen min-h-[500px] w-full justify-center items-center">
4141
<LogoSpinner />
4242
</div>
4343
);

apps/space/app/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function Root() {
7272

7373
export function HydrateFallback() {
7474
return (
75-
<div className="relative flex h-screen w-full items-center justify-center">
75+
<div className="bg-surface-1 relative flex h-screen w-full items-center justify-center">
7676
<LogoSpinner />
7777
</div>
7878
);

apps/space/core/components/common/powered-by.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function PoweredBy(props: TPoweredBy) {
1515
return (
1616
<a
1717
href={WEBSITE_URL}
18-
className="fixed bottom-2.5 right-5 !z-[999999] flex items-center gap-1 rounded-sm border border-subtle bg-surface-1 px-2 py-1 shadow-raised-100"
18+
className="fixed bottom-2.5 right-5 !z-[999999] flex items-center gap-1 rounded-sm border border-subtle bg-layer-3 px-2 py-1 shadow-raised-100"
1919
target="_blank"
2020
rel="noreferrer noopener"
2121
>

apps/space/core/components/issues/issue-layouts/error.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url";
33

44
export function SomethingWentWrongError() {
55
return (
6-
<div className="grid min-h-screen w-full place-items-center p-6">
6+
<div className="bg-surface-1 grid min-h-screen w-full place-items-center p-6">
77
<div className="text-center">
8-
<div className="mx-auto grid h-52 w-52 place-items-center rounded-full bg-layer-1">
8+
<div className="mx-auto grid h-52 w-52 place-items-center rounded-full">
99
<div className="grid h-32 w-32 place-items-center">
1010
<img
1111
src={SomethingWentWrongImage}

apps/space/core/components/views/auth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { AuthHeader } from "./header";
66

77
export function AuthView() {
88
return (
9-
<div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">
9+
<div className="bg-surface-1 relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">
1010
<AuthHeader />
1111
<AuthRoot />
1212
<PoweredBy />

0 commit comments

Comments
 (0)