superfix
This commit is contained in:
parent
3a532a3669
commit
46852f1a7e
2 changed files with 13 additions and 3 deletions
|
|
@ -21,9 +21,9 @@ function App() {
|
||||||
console.log('Furry sequence detected!');
|
console.log('Furry sequence detected!');
|
||||||
const random = Math.random();
|
const random = Math.random();
|
||||||
if (random < 0.1) {
|
if (random < 0.1) {
|
||||||
document.location.href = 'https://wh64.net?from=imnyang_root_page';
|
document.location.href = `https://wh64.net?from=imnyang_root_${(Math.random() + 1).toString(36).substring(7)}page`;
|
||||||
} else {
|
} else {
|
||||||
document.location.href = 'https://ny64.kr?from=imnyang_root_page';
|
document.location.href = `https://ny64.kr?from=imnyang_root_${(Math.random() + 1).toString(36).substring(7)}page`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,22 @@ function Root() {
|
||||||
setImageSrc('https://f.imnyang.xyz/profile/imnyang.webp');
|
setImageSrc('https://f.imnyang.xyz/profile/imnyang.webp');
|
||||||
setGotoHref('/?kawaii');
|
setGotoHref('/?kawaii');
|
||||||
}
|
}
|
||||||
|
if (queryParams.has('no_hair') && queryParams.has("no_ear")) {
|
||||||
|
setImageSrc('https://f.imnyang.xyz/profile/no_ear_no_long_hair.png');
|
||||||
|
} else if (queryParams.has('no_ear')) {
|
||||||
|
setImageSrc('https://f.imnyang.xyz/profile/no_ear.png');
|
||||||
|
} else if (queryParams.has('no_hair')) {
|
||||||
|
setImageSrc('https://f.imnyang.xyz/profile/no_hair.avif');
|
||||||
|
}
|
||||||
|
|
||||||
}, [location.search]);
|
}, [location.search]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='App'>
|
<div className='App'>
|
||||||
<div className='container'>
|
<div className='container'>
|
||||||
<div className='left'>
|
<div className='left'>
|
||||||
|
<p style={{color: 'transparent'}}>/?no_hair</p>
|
||||||
|
{/* /?no_ear */}
|
||||||
<img src={imageSrc} width={256} className='profile' />
|
<img src={imageSrc} width={256} className='profile' />
|
||||||
<h1 style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}}>
|
<h1 style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}}>
|
||||||
<Link style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}} to={gotoHref}>imnyang</Link>
|
<Link style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}} to={gotoHref}>imnyang</Link>
|
||||||
|
|
@ -30,7 +40,7 @@ function Root() {
|
||||||
<p style={{textAlign: 'left'}}>
|
<p style={{textAlign: 'left'}}>
|
||||||
🖥️ Software Engineer
|
🖥️ Software Engineer
|
||||||
<br/>
|
<br/>
|
||||||
🎨 UI / UX Designer in <a href='https://sqlare.com'>Sqlare</a>
|
🎨 Team. <a href='https://sqlare.com'>Sqlare</a>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
📚 Middle School Student in South Korea
|
📚 Middle School Student in South Korea
|
||||||
<br/>
|
<br/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue