File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -558,6 +558,7 @@ const Layout = styled.div`
558558 gap: 10px;
559559 padding: 20px 0px 0px 0px;
560560 position: relative;
561+ background-color: ${ theme . colors . bg } ;
561562
562563 ::-webkit-scrollbar {
563564 display: none;
@@ -668,7 +669,6 @@ const BottomWrapper = styled.div`
668669const LoaderContainer = styled . div `
669670 width: 100%;
670671 height: 100%;
671- min-height: 600px;
672672 display: flex;
673673 align-items: center;
674674 justify-content: center;
Original file line number Diff line number Diff line change 1- import React , { useState } from 'react' ;
1+ import React , { useEffect , useState } from 'react' ;
22import Image from 'next/image' ;
33import styled from 'styled-components' ;
44import Tag from './Tag' ;
55import Button from './Button' ;
66import { useRouter } from 'next/navigation' ;
77import ConfirmModal from './ConfirmModal' ;
88import { useRecoilState , useSetRecoilState } from 'recoil' ;
9- import { toastState } from '@/recoil/toastStore' ;
109import { deletePlanetLetter } from '@/api/planet/letter/spaceLetter' ;
1110import { droppedLetterState } from '@/recoil/letterStore' ;
1211import BlinkTag from './BlinkingTag' ;
1312import { useToast } from '@/hooks/useToast' ;
1413import { getCookie } from '@/utils/storage' ;
14+ import { PLANET_BLUR_DATA } from '@/constants/planetBlur' ;
1515
1616interface Orbit {
1717 letterId : string ;
@@ -131,6 +131,8 @@ const Planet = (props: PlanetProps) => {
131131 width = { 400 }
132132 height = { 400 }
133133 alt = "planet"
134+ placeholder = "blur"
135+ blurDataURL = { 'data:/image/png;base64,' + PLANET_BLUR_DATA [ planetType ] }
134136 priority
135137 onContextMenu = { handleContextMenu }
136138 />
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments