change home model to lazy load

This commit is contained in:
DefectingCat
2023-08-17 17:05:33 +08:00
parent 9ec0e8fcee
commit 95faa960db
4 changed files with 56 additions and 44 deletions

View File

@ -1,9 +1,9 @@
import React, { memo } from 'react';
import clsx from 'clsx';
import { useTheme } from 'next-themes';
import Image from 'next/image';
import loadingImage from 'public/images/img/mona-loading-default.gif';
import loadingImageDimmed from 'public/images/img/mona-loading-dimmed.gif';
import Image from 'next/image';
import { useTheme } from 'next-themes';
import { memo } from 'react';
type Props = {
className?: string;