Files
neru.rip/src/app/page.tsx
T

85 lines
2.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
'use client';
import { useState } from 'react';
import './page.css';
const TWITTER_LINK = "https://x.com/neruu444"
const DISCORD_USER = "neru444"
const DISCORD_ID = "1104474057916809226"
const STEAM_LINK = "https://steamcommunity.com/profiles/76561198440714757/"
function Content() {
const [isOpen, setIsOpen] = useState(false);
const toggleModal = () => setIsOpen(!isOpen);
return (
<>
<div className="main-frame">
<header>
<h1>neru</h1>
<p className="motto">˚ 𓂋 ˚</p>
</header>
<nav className="social-links">
<a href={TWITTER_LINK}>twitter</a>
<a onClick={toggleModal}>discord</a>
<a href={STEAM_LINK} style={{ cursor: 'pointer' }}>steam</a>
<a href="https://git.neru.rip/neru">projects</a>
</nav>
<section className="content-box">
<h2 className="title"> luma </h2>
<p style={{ fontSize: '0.9rem' }}>a rly barebones TTS discord bot that sometimes works</p>
<a href="https://discord.com/api/oauth2/authorize?client_id=1459513087278186567&scope=applications.commands+bot&permissions=70643692457024" className="invite-btn">
[ add to server ]
</a>
</section>
<section className="content-box">
<h2 className="title"> sites </h2>
<ul className="directory">
<li><a href="https://git.neru.rip">gitea</a></li>
<li><a href="https://zl.neru.rip">zipline</a></li>
<li><a href="https://files.neru.rip">files</a></li>
</ul>
</section>
<section className="content-box">
<h2 className="title"> dumb stuff </h2>
<ul className="directory">
<li><a href="discord://-/apps">break discord</a></li>
<li><a href="discord://-/channels/@me/">fix discord</a></li>
</ul>
</section>
<footer>
<div className="marquee">
<span> ˵ ˵ ^^ 𝗓 𐰁 /. .\ /. ̫ .\ ^^ ˄·͈·͈˄ /. .\ 𓏲ּ ֶָ / .. \ </span>
</div>
{/* <p style={{ fontSize: '0.65rem', opacity: 0.5 }}>✼  ҉  ✼  ҉  ✼  ҉  ✼</p> */}
</footer>
{isOpen && (
<div className="modal-overlay" onClick={toggleModal}>
<div className="modal-content" onClick={(e) => e.stopPropagation()}>
<div className="modal-header"> discord info </div>
<div className="modal-body">
<p><strong>User:</strong> {DISCORD_USER}</p>
<p><strong>ID:</strong> {DISCORD_ID}</p>
</div>
<button className="modal-close-btn" onClick={toggleModal}>[ close ]</button>
</div>
</div>
)}
</div>
</>
);
}
export default function Home() {
return (
<Content />
)
}