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!');
|
||||
const random = Math.random();
|
||||
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 {
|
||||
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');
|
||||
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]);
|
||||
|
||||
return (
|
||||
<div className='App'>
|
||||
<div className='container'>
|
||||
<div className='left'>
|
||||
<p style={{color: 'transparent'}}>/?no_hair</p>
|
||||
{/* /?no_ear */}
|
||||
<img src={imageSrc} width={256} className='profile' />
|
||||
<h1 style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}}>
|
||||
<Link style={{color: '#241f22', fontSize: 60, margin: 0, fontWeight: '700'}} to={gotoHref}>imnyang</Link>
|
||||
|
|
@ -30,7 +40,7 @@ function Root() {
|
|||
<p style={{textAlign: 'left'}}>
|
||||
🖥️ Software Engineer
|
||||
<br/>
|
||||
🎨 UI / UX Designer in <a href='https://sqlare.com'>Sqlare</a>
|
||||
🎨 Team. <a href='https://sqlare.com'>Sqlare</a>
|
||||
<br/><br/>
|
||||
📚 Middle School Student in South Korea
|
||||
<br/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue