Skip to content

Commit eed653a

Browse files
design
1 parent a5302f3 commit eed653a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

components/Header.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Container,
66
Box,
77
IconButton,
8-
Skeleton,
8+
SkeletonText,
99
Spacer,
1010
Button,
1111
Avatar,
@@ -31,13 +31,13 @@ const Header: React.FC = () => {
3131
<Box>
3232
<Link href="/" passHref>
3333
<a>
34-
<Skeleton isLoaded={!loading}>
34+
<SkeletonText noOfLines={1} isLoaded={!loading}>
3535
<Image
3636
src="/assets/snipp-it.png"
3737
alt="Snipp-it"
3838
maxW="45%"
3939
/>
40-
</Skeleton>
40+
</SkeletonText>
4141
</a>
4242
</Link>
4343
</Box>

components/Post.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
HStack,
1515
Spacer
1616
} from '@chakra-ui/react';
17-
import { ChatIcon, DownloadIcon, AttachmentIcon } from '@chakra-ui/icons';
17+
import { ChatIcon, AttachmentIcon } from '@chakra-ui/icons';
1818

1919
export type PostProps = {
2020
id: number;
@@ -58,10 +58,10 @@ const Post: React.FC<{ post: PostProps }> = ({ post }) => {
5858
</Box>
5959
<Box>
6060
<Image
61-
src="/assets/carbon.png"
61+
src="/assets/example.png"
6262
alt="code"
63-
width={1750}
64-
height={768}
63+
width={1498}
64+
height={985}
6565
layout="responsive"
6666
/>
6767
</Box>

public/assets/example.png

107 KB
Loading

0 commit comments

Comments
 (0)