update: download page style

mack-mac
mackt 8 months ago
parent 2e278e2ead
commit afa2c7bfb1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 678 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

@ -0,0 +1,3 @@
<svg width="7" height="21" viewBox="0 0 7 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.76644 0.808153L1.58244 20.8722H0.238438L5.47044 0.808153H6.76644Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 195 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,22 @@
/* w-[136px] h-[136px] rounded-[9px] bg-[#fff] :before:content-[''] :before:bg-[#fff] */
.qrcodeContainer {
position: relative;
width: 130px;
height: 130px;
margin-top: 14px;
border-radius: 9px;
background-color: #fff;
}
.qrcodeContainer:before {
position: absolute;
top: -6px;
left: 62px;
content: '';
display: block;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #fff;
}

@ -1,22 +1,34 @@
import Image from 'next/image'; import Image from 'next/image';
export default function Footer({ platform, iconUrl, qrCode }: DownloadQrcodeCard) { import styles from './download-card.module.css';
console.log({ platform, iconUrl, qrCode });
export default function Footer({ platform, iconUrl, qrCode }: DownloadQrcodeCard) {
return ( return (
<div> <div className="flex flex-col items-center">
{/* 卡片 */} {/* 卡片 */}
<div className="flex flex-col w-[200px] h-[72px] bg-[#000] mx-[22px]"> <div className="flex flex-row w-[200px] h-[72px] p-[12px] rounded-[9px] bg-[#000] mx-[22px]">
<Image className="" width={48} height={48} src={iconUrl} alt={`${platform}-icon`} /> <Image className="mr-[12px]" width={48} height={48} src={iconUrl} alt={`${platform}-icon`} />
<div> <div>
<p></p> <p className="my-[2px] mr-[14px] text-[13px] leading-[18px] text-[rgba(255,255,255,0.7)] text-thin">
<p>{platform}</p>
</p>
<p className="text-[16px] font-bold leading-[22px]">{platform}</p>
</div> </div>
</div> </div>
{/* 二维码 */} {/* 二维码 */}
<div> <div className={styles.qrcodeContainer}>
{/* {qrCode && <Image className="" width={48} height={48} src={qrCode} alt={`${platform}-qrCode`} />} */} {qrCode ? (
<Image
className="w-[122px] h-[122px] m-[4px]"
width={48}
height={48}
src={qrCode}
alt={`${platform}-qrCode`}
/>
) : (
<p className="text-[12px] text-[rgba(0,0,0,0.6)] text-center leading-[130px]"></p>
)}
</div> </div>
</div> </div>
); );

@ -23,9 +23,11 @@ export default function Download() {
{/* 首屏 */} {/* 首屏 */}
<div className="relative w-full h-min-[1000px] h-screen flex flex-col items-center pt-[30vh] bg-[url(/img/download/background_1.png)] bg-center bg-cover bg-no-repeat text-[#fff]"> <div className="relative w-full h-min-[1000px] h-screen flex flex-col items-center pt-[30vh] bg-[url(/img/download/background_1.png)] bg-center bg-cover bg-no-repeat text-[#fff]">
{/* slogan */} {/* slogan */}
<h2 className="h-[70px] text-center text-[50px] font-bold leading-[70px]"></h2> <div className="flex flex-col items-center mb-[35px]">
<h2 className="h-[44px] text-center text-[24px] font-thin leading-[28px] my-[10px 34px] mt-[10px]">/</h2> <Image width={410} height={50} src="/img/download/slogan_line1.svg" alt="为独立音乐,雀跃" />
<h2 className="h-[44px] text-center text-[24px] leading-[28px]"> </h2> <Image className="mt-[26px] mb-[18px]" width={9} height={24} src="/img/download/slogan_line2.svg" alt="/" />
<Image width={143} height={24} src="/img/download/slogan_line3.svg" alt="独立 不独于世" />
</div>
{/* APP二维码 */} {/* APP二维码 */}
<div className="flex flex-row"> <div className="flex flex-row">
@ -36,12 +38,12 @@ export default function Download() {
</div> </div>
{/* 第二屏 */} {/* 第二屏 */}
<div className="relative w-full h-[1000px] h-screen flex flex-col items-center pt-[166px] bg-[url(/img/download/background_2.png)] bg-center bg-cover bg-no-repeat"> <div className="relative w-full h-[1000px] h-screen pl-[45.7vw] flex flex-col bg-[url(/img/download/background_2.png)] bg-center bg-cover bg-no-repeat">
{/* 花体字-“我们回来了” */} {/* 花体字-“我们回来了” */}
<Image className="mb-[50px]" width={306} height={86} src="/img/download/back.svg" alt="back" /> <Image className="mt-[16.67vh] mb-[50px]" width={306} height={86} src="/img/download/back.svg" alt="back" />
{/* 诗歌 */} {/* 诗歌 */}
<p className="text-center text-[#000] text-[15px] text-left leading-[28px]"> <p className="pl-[15px] text-[#000] text-[15px] leading-[28px] text-left">
<br /> <br />

@ -1,14 +1,31 @@
export default function Footer() { export default function Footer() {
const agreementList = [
{
name: '服务条款',
url: '/',
},
{
name: '版权声明',
url: '/',
},
{
name: '许可协议',
url: '/',
},
];
return ( return (
<footer className="absolute bottom-0 flex flex-col items-center w-full justify-center text-center text-[12px] leading-[12.6px]"> <footer className="absolute bottom-[40px] flex flex-col items-center w-full justify-center text-center text-[12px] leading-[16.8px]">
<p className="absolute bottom-[69px] text-[rgba(0,0,0,0.4)]"> <p className="mt-[18px] mb-[12px] text-[rgba(0,0,0,0.4)]">
ICP2024190175-1 Shenzhen QueYue Culture Technology Co., Ltd. ICP2024190175-1 Shenzhen QueYue Culture Technology Co., Ltd.
</p> </p>
<p className="absolute bottom-[40px] text-[rgba(0,0,0,0.7)]"> <p className="text-[rgba(0,0,0,0.7)]">
<a href=""></a> {agreementList.map(({ name, url }) => (
<a href=""></a> <a className="mx-[4px]" href={url} key={name}>
<a href=""></a> {name}
</a>
))}
</p> </p>
</footer> </footer>
); );

Loading…
Cancel
Save