File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 import type { Campaign } from ' $lib/stores/campaigns' ;
1111 import { Typography , Layout , Avatar } from ' @appwrite.io/pink-svelte' ;
1212 import { getCampaignImageUrl } from ' $routes/(public)/card/helpers' ;
13+ import { isSmallViewport } from ' $lib/stores/viewport' ;
1314
1415 export const imgLight = LoginLight ;
1516 export const imgDark = LoginDark ;
4445
4546<main class =" grid-1-1 is-full-page" id =" main" >
4647 <section
47- class ={` u-flex u-flex-vertical ${variation !== ' default' ? ' u-cross-center u-main-center u-height-100-percent u-width-full-line side-bg' : ' side-default' } ` }
48+ class ={` u-flex u-flex-vertical ${variation !== ' default' ? ' u-cross-center u-main-center u-height-100-percent u-width-full-line side-bg' : ! $isSmallViewport ? ' side-default' : ' ' } ` }
4849 style:--url ={variation !== ' default'
4950 ? ' '
5051 : ` url(${$app .themeInUse === ' dark' ? imgDark : imgLight }) ` }>
159160 <div class =" u-margin-block-start-24" >
160161 <slot />
161162 </div >
162-
163163 <ul
164164 class =" inline-links is-center is-with-sep u-margin-block-start-32"
165165 class:u-hide ={! $$slots ?.links }>
166166 <slot name =" links" />
167167 </ul >
168168 </div >
169169 <div
170- class =" logo u-flex u-gap-16 u-margin-inline-auto is-only-mobile u-margin-block-start-32" >
170+ class =" logo u-flex u-gap-16 u-margin-inline-auto is-only-mobile u-margin-block-start-32 mobile-logo " >
171171 <a href ={base }>
172172 {#if $app .themeInUse === ' dark' }
173173 <img
174174 src ={AppwriteLogoDark }
175- width =" 93 "
175+ width =" 120 "
176176 class =" u-block u-only-dark"
177177 alt =" Appwrite Logo" />
178178 {:else }
179179 <img
180180 src ={AppwriteLogoLight }
181- width =" 93 "
181+ width =" 120 "
182182 class =" u-block u-only-light"
183183 alt =" Appwrite Logo" />
184184 {/if }
359359 padding-block-start : 5rem ;
360360 }
361361 }
362+
363+ .mobile-logo {
364+ position : absolute ;
365+ bottom : 20px ;
366+ left : 50% ;
367+ transform : translate (-50% , -50% );
368+ max-width : 100% ;
369+ margin-block-start : 0 !important ;
370+ }
362371 </style >
Original file line number Diff line number Diff line change 11<script >
22 import { base } from ' $app/paths' ;
3- import { page } from ' $app/state' ;
4- import { Button } from ' $lib/elements/forms' ;
53 import { Unauthenticated } from ' $lib/layout' ;
6- import { Typography } from ' @appwrite.io/pink-svelte' ;
4+ import { Button } from ' $lib/elements/forms' ;
5+ import { Badge , Typography , Layout } from ' @appwrite.io/pink-svelte' ;
76 </script >
87
98<Unauthenticated >
10- <Typography .Title size =" xl"
11- >{' status' in page .error
12- ? page .error .status || ' Invalid Argument'
13- : ' Invalid Argument' }</Typography .Title >
14- <Typography .Title >{page .error .message }</Typography .Title >
15- <Button href ={base }>Back to the console</Button >
9+ <Layout .Stack gap =" l" alignItems =" center" >
10+ <Badge variant =" secondary" content =" 404 Page not found" />
11+ <Typography .Title size =" l" align =" center" >
12+ The page you're looking for doesn't exist.
13+ </Typography .Title >
14+ <Button href ={base }>Back to console</Button >
15+ </Layout .Stack >
1616</Unauthenticated >
Original file line number Diff line number Diff line change 3838 visibility : hidden;
3939 position : absolute;
4040 max-width : 100% ;
41- bottom : 60 px ;
41+ bottom : 20 px ;
4242 left : 50% ;
4343 transform : translate (-50% , -50% );
4444}
You can’t perform that action at this time.
0 commit comments