-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb2d0be
commit ed8a883
Showing
12 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const USER_LOCALSTORAGE_KEY = 'user' | ||
export const ARTICLES_VIEW_LOCALSTORAGE_KEY = 'articles_view' | ||
export const LOCAL_STORAGE_ITEM_KEY = 'theme' | ||
export const LOCAL_STORAGE_THEME_KEY = 'theme' | ||
export const LOCAL_STORAGE_LAST_DESIGN_THEME_KEY = 'old_design_theme' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { AppLoaderLayout } from './ui/AppLoaderLayout' |
3 changes: 3 additions & 0 deletions
3
src/shared/layouts/AppLoaderLayout/ui/AppLoaderLayout.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.header { | ||
padding: 16px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { memo } from 'react' | ||
|
||
import { MainLayout } from '../../MainLayout' | ||
import cls from './AppLoaderLayout.module.scss' | ||
|
||
import { HStack, VStack } from '@/shared/ui/redesigned/Stack' | ||
import { Skeleton } from '@/shared/ui/redesigned/Skeleton' | ||
|
||
export const AppLoaderLayout = memo(() => ( | ||
<MainLayout | ||
header={ | ||
<HStack className={cls.header}> | ||
<Skeleton width={40} height={40} border="50%" /> | ||
</HStack> | ||
} | ||
content={ | ||
<VStack gap="16" style={{ height: '100%' }}> | ||
<Skeleton width="70%" height={32} border="16px" /> | ||
<Skeleton width="40%" height={20} border="16px" /> | ||
<Skeleton width="50%" height={20} border="16px" /> | ||
<Skeleton width="30%" height={32} border="16px" /> | ||
<Skeleton width="80%" height="40%" border="16px" /> | ||
<Skeleton width="80%" height="40%" border="16px" /> | ||
</VStack> | ||
} | ||
sidebar={<Skeleton width={220} height="100%" border="32px" />} | ||
/> | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters