File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const HomeHero = ({ heroImg, className }: HomeHeroProps) => {
12
12
13
13
return (
14
14
< div className = { className } >
15
- < div className = "h-[300px] sm:h-[350px] md:h-[380px] lg:h-[440px ]" >
15
+ < div className = "h-[240px] md:h-[380px] lg:h-[480px ]" >
16
16
< TwImage
17
17
src = { heroImg }
18
18
alt = { t ( "page-index:page-index-hero-image-alt" ) }
@@ -22,7 +22,7 @@ const HomeHero = ({ heroImg, className }: HomeHeroProps) => {
22
22
priority
23
23
/>
24
24
</ div >
25
- < div className = "flex flex-col items-center border-t-[3px] border-primary-low-contrast px-4 py-12 text-center" >
25
+ < div className = "flex flex-col items-center border-t-[3px] border-primary-low-contrast px-4 py-10 text-center" >
26
26
< Morpher />
27
27
< div className = "flex flex-col items-center gap-y-5 lg:max-w-2xl" >
28
28
< h1 className = "font-black" > { t ( "page-index:page-index-title" ) } </ h1 >
Original file line number Diff line number Diff line change @@ -20,24 +20,25 @@ import { isValidDate } from "@/lib/utils/date"
20
20
import { isLangRightToLeft } from "@/lib/utils/translations"
21
21
22
22
import events from "@/data/community-events.json"
23
+ import CreateWalletContent from "@/data/CreateWallet"
23
24
24
25
import { GITHUB_REPO_URL } from "@/lib/constants"
25
26
26
- import CreateWalletContent from "!!raw-loader!@/data/CreateWallet.js"
27
27
import SimpleDomainRegistryContent from "!!raw-loader!@/data/SimpleDomainRegistry.sol"
28
28
import SimpleTokenContent from "!!raw-loader!@/data/SimpleToken.sol"
29
29
import SimpleWalletContent from "!!raw-loader!@/data/SimpleWallet.sol"
30
30
31
31
export const useHome = ( ) => {
32
32
const { t } = useTranslation ( [ "common" , "page-index" ] )
33
33
const { locale, asPath } = useRouter ( )
34
- const dir = isLangRightToLeft ( locale as Lang ) ? "rtl" : "ltr"
35
34
36
35
const [ isModalOpen , setModalOpen ] = useState ( false )
37
36
const [ activeCode , setActiveCode ] = useState ( 0 )
38
37
39
38
const bentoItems = useBentoBox ( )
40
39
40
+ const dir = isLangRightToLeft ( locale as Lang ) ? "rtl" : "ltr"
41
+
41
42
const toggleCodeExample = ( id : number ) : void => {
42
43
setActiveCode ( id )
43
44
setModalOpen ( true )
You can’t perform that action at this time.
0 commit comments