feat: 更新 eslint 配置

This commit is contained in:
hzm
2026-02-19 18:21:56 +08:00
parent 623c41acf6
commit b645c7d034
9 changed files with 5459 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
'use client';
import { motion } from 'framer-motion';
import Image from 'next/image';
import { CloseIcon } from './Icons';
import weChatGroupImg from '../assets/weChatGroup.jpg';
@@ -34,7 +35,12 @@ export default function WeChatModal({ onClose }) {
</button>
</div>
<div style={{ display: 'flex', justifyContent: 'center' }}>
<img src={weChatGroupImg.src} alt="WeChat Group" style={{ maxWidth: '100%', borderRadius: '8px' }} />
<Image
src={weChatGroupImg}
alt="WeChat Group"
sizes="(max-width: 360px) 100vw, 360px"
style={{ width: '100%', height: 'auto', borderRadius: '8px' }}
/>
</div>
<p className="muted" style={{ textAlign: 'center', marginTop: 16, fontSize: '14px' }}>
扫码加入群聊获取最新更新与交流