revert ios暂时不展示安装按钮
This commit is contained in:
yezian 2024-08-12 19:41:00 +08:00
parent 8887192c79
commit 194eaf2a0e
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ export default function Home() {
)} )}
</div> </div>
<div className="flex flex-col items-center gap-2"> <div className="flex flex-col items-center gap-2">
{deviceType === "Android" && ( {deviceType !== "pc" && (
<div <div
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14" className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
onClick={() => { onClick={() => {
@ -175,7 +175,7 @@ export default function Home() {
)} )}
{deviceType === "ios" && ( {deviceType === "ios" && (
<div <div
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14" className="btn bg-[#FFFFFF1A] rounded-full text-white text-lg font-medium w-64 h-14"
onClick={() => { onClick={() => {
const inviter = getCookie("inviter"); const inviter = getCookie("inviter");
const url = `https://app.tiefen.fun?inviter=${inviter}`; const url = `https://app.tiefen.fun?inviter=${inviter}`;