修改静态资源路径
This commit is contained in:
parent
7113a8688d
commit
e2f5dcde80
|
@ -73,6 +73,19 @@ export default function RootLayout({ children }) {
|
|||
name="apple-mobile-web-app-status-bar-style"
|
||||
content="black-translucent"
|
||||
/>
|
||||
{/* <!-- apple-touch-startup-image用来配置启动动画 --> */}
|
||||
{/* <!-- 这里要注意,这里图片的尺寸要和设备的静态图片显示尺寸完全对应,差一个像素都会导致启动动画无法显示 --> */}
|
||||
{/* <!-- 下面列举了iPhone的所有尺寸(ps:为了方便大家就全部贴出来了!!) --> */}
|
||||
{/* <!-- iPhone 678 startup image @2x--> */}
|
||||
<link href={process.env.NEXT_PUBLIC_WEB_ASSETS_URL+"/images/splash.png"} media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"/>
|
||||
{/* <!-- iPhone 678p startup image @3x--> */}
|
||||
<link href={process.env.NEXT_PUBLIC_WEB_ASSETS_URL+"/images/splash.png"} media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image"/>
|
||||
{/* <!-- iPhone X Xs startup image @3x--> */}
|
||||
<link href={process.env.NEXT_PUBLIC_WEB_ASSETS_URL+"/images/splash.png"} media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image"/>
|
||||
{/* <!-- iPhone XR startup image @2X --> */}
|
||||
<link href={process.env.NEXT_PUBLIC_WEB_ASSETS_URL+"/images/splash.png"} media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"/>
|
||||
{/* <!-- iPhone XR Max startup image @3x--> */}
|
||||
<link href={process.env.NEXT_PUBLIC_WEB_ASSETS_URL+"/images/splash.png"} media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image"/>
|
||||
</head>
|
||||
<body className={`${inter.className} h-full`}>
|
||||
<main className={`w-full bg-deepBg h-full`}>
|
||||
|
|
|
@ -208,7 +208,7 @@ function Login({ handleLogin }) {
|
|||
<div className="lg:flex flex-col items-center ">
|
||||
<div className={`lg:max-w-[450px] overflow-hidden pt-20 flex flex-col items-center `}>
|
||||
<Image
|
||||
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/images/slogan.png"}
|
||||
src={process.env.NEXT_PUBLIC_WEB_ASSETS_URL + "/images/slogan.png"}
|
||||
alt=""
|
||||
className="w-[90%]"
|
||||
/>
|
||||
|
|
|
@ -6,7 +6,7 @@ export default function NotFound() {
|
|||
<section className="flex flex-col container items-center">
|
||||
<img
|
||||
className="w-full max-w-2xl mt-24"
|
||||
src={process.env.NEXT_PUBLIC_CDN_URL + "/public/svgs/illustatus.svg"}
|
||||
src={process.env.NEXT_PUBLIC_WEB_ASSETS_URL + "/svgs/illustatus.svg"}
|
||||
alt=""
|
||||
/>
|
||||
<p className="text-2xl text-white font-semibold">404 当前页面不存在</p>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue