mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 12:10:11 +09:00
Compare commits
5 Commits
e2db2de68b
...
cd574f0cc9
Author | SHA1 | Date | |
---|---|---|---|
cd574f0cc9 | |||
a787f8d805 | |||
b65e165ac4 | |||
ad8fa9d69d | |||
44493605fd |
@ -16,7 +16,6 @@ const App = () => {
|
||||
}, []);
|
||||
|
||||
const yes_playing = t('yes_playing', {playing: playing})
|
||||
const no_playing = t('no_playing')
|
||||
if (playing){
|
||||
return <p>{yes_playing}</p>
|
||||
}else{
|
||||
|
@ -28,7 +28,7 @@ const Dropdown = ({ color }) => {
|
||||
return (
|
||||
<>
|
||||
|
||||
<div className="text-left mr-2 my-3 float-right">
|
||||
<div className="text-left mr-2 ml-2 my-3 float-right">
|
||||
<button type="button" className="inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" id="options-menu" aria-haspopup="true" aria-expanded="true"
|
||||
style={{ transition: "all .15s ease" }}
|
||||
ref={btnDropdownRef}
|
||||
|
@ -24,7 +24,7 @@ const Layout = (props) => {
|
||||
</Head>
|
||||
<main>
|
||||
<Navbar />
|
||||
<div className="page-main">
|
||||
<div className="md:mx-9 mx-1">
|
||||
{children}
|
||||
</div>
|
||||
<Footer />
|
||||
|
@ -8,13 +8,13 @@ const Navbar = () => {
|
||||
<>
|
||||
<nav className='flex items-center flex-wrap p-3'>
|
||||
<Link href='/'>
|
||||
<a className='inline-flex items-center p-2 mr-4'>
|
||||
<a className='inline-flex items-center p-2'>
|
||||
<span className='text-xl text-black font-bold tracking-wide dark:text-white font-mono animate-heartbeat'>
|
||||
yude.jp
|
||||
</span>
|
||||
</a>
|
||||
</Link>
|
||||
<div className="origin-top-right absolute right-0">
|
||||
<div className="absolute right-0">
|
||||
<ThemeSelector />
|
||||
<LangSelector />
|
||||
</div>
|
||||
|
@ -23,7 +23,7 @@ const Layout = (props) => {
|
||||
}
|
||||
};
|
||||
return (
|
||||
<button className="my-4 mx-3 text-2xl" onClick={switchTheme}>
|
||||
<button className="my-4 text-2xl" onClick={switchTheme}>
|
||||
{theme === 'light' ? (
|
||||
<span>🌙</span>
|
||||
) : (
|
||||
|
@ -10,7 +10,7 @@ export default function About(props) {
|
||||
|
||||
return (
|
||||
<Layout title={house}>
|
||||
<div className="mx-9">
|
||||
<div>
|
||||
<p className="my-2 text-3xl text-center">{house}</p>
|
||||
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/4mVIU29WCRVZgHUxQPzWsfXo953uxiAegbjDb83hTQ7szesCunwdpVkBIzhnLc9i?period=1d" frameborder="0" scrolling="no"></iframe>
|
||||
</div>
|
||||
|
@ -34,12 +34,12 @@ export default function About(props) {
|
||||
return (
|
||||
|
||||
<Layout title={about}>
|
||||
<div className="my-9 mx-8 text-center">
|
||||
<div className="text-center">
|
||||
|
||||
{
|
||||
// Heading
|
||||
}
|
||||
<div className="mb-5 flex justify-center">
|
||||
<div className="flex justify-center">
|
||||
<div>
|
||||
<div className="z-50 transform translate-x-40 translate-y-48">
|
||||
<DiscordStatus />
|
||||
@ -53,7 +53,7 @@ export default function About(props) {
|
||||
unoptimized = {true}
|
||||
/>
|
||||
|
||||
<p className="text-center text-4xl subpixel-antialiased">yude</p>
|
||||
<p className="text-4xl subpixel-antialiased">yude</p>
|
||||
<DiscordPlaying />
|
||||
</div>
|
||||
</div>
|
||||
@ -61,7 +61,7 @@ export default function About(props) {
|
||||
{
|
||||
// Description
|
||||
}
|
||||
<div className="container mx-auto max-w-3xl">
|
||||
<div>
|
||||
<div className="text-left">
|
||||
<p className="text-2xl"><FontAwesomeIcon icon={faInfo} className="w-5 h-5 inline"/> {desc}</p>
|
||||
</div>
|
||||
@ -160,7 +160,7 @@ export default function About(props) {
|
||||
}
|
||||
<div className="text-left my-6">
|
||||
<p className="text-2xl"><FontAwesomeIcon icon={faKey} className="w-5 h-5 inline"/> {keys}</p>
|
||||
<ul className="list-disc mx-5 my-2">
|
||||
<ul className="list-disc my-2">
|
||||
<li>
|
||||
<span className="font-bold">GPG </span>
|
||||
<Link href="/static/yudejp.gpg">
|
||||
@ -170,8 +170,8 @@ export default function About(props) {
|
||||
</a>
|
||||
</Link>
|
||||
<p>{fingerprint}:</p>
|
||||
<div className="w-full overflow-x-auto ...">
|
||||
<div className="whitespace-nowrap ...">
|
||||
<div className="overflow-x-auto">
|
||||
<div className="whitespace-nowrap">
|
||||
3745 F270 DB4E 8975 6B07 62BE EB0F E5D9 25C4 A968
|
||||
</div>
|
||||
</div>
|
||||
@ -185,8 +185,8 @@ export default function About(props) {
|
||||
</a>
|
||||
</Link>
|
||||
<p>{fingerprint}:</p>
|
||||
<div className="w-full overflow-x-auto ...">
|
||||
<div className="whitespace-nowrap ...">
|
||||
<div className="overflow-x-auto">
|
||||
<div className="whitespace-nowrap">
|
||||
2048 SHA256:xwSL4DORWmroWdC6P0GU1m1yZl/cXqjo9rCCWqqO+Dc
|
||||
</div>
|
||||
</div>
|
||||
@ -199,9 +199,9 @@ export default function About(props) {
|
||||
</div>
|
||||
</div>
|
||||
<Link href="https://scrapbox.io/yude/%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88">
|
||||
<button className="border border-transparent rounded-md shadow-sm text-sm font-medium mt-3 text-white bg-indigo-800 hover:bg-indigo-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 p-3 w-60">{more}</button>
|
||||
<button className="border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-800 hover:bg-indigo-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 p-3 w-60">{more}</button>
|
||||
</Link>
|
||||
<p className="mt-3 text-sm font-bold mb-2 text-gray-900 dark:text-gray-400">{icon_1}<Link href="https://twitter.com/xmnts"><a className="hover:underline">Minkasy {icon_2}</a></Link></p>
|
||||
<p className="mt-3 text-sm font-bold text-gray-900 dark:text-gray-400">{icon_1}<Link href="https://twitter.com/xmnts"><a className="hover:underline">Minkasy {icon_2}</a></Link></p>
|
||||
</div>
|
||||
</Layout>
|
||||
)
|
||||
|
@ -16,7 +16,7 @@ export default function About(props) {
|
||||
return (
|
||||
|
||||
<Layout title={status}>
|
||||
<div className="my-9 mx-9 text-center">
|
||||
<div className="my-9 text-center">
|
||||
{
|
||||
// Heading
|
||||
}
|
||||
@ -33,7 +33,7 @@ export default function About(props) {
|
||||
<div className="flex-1"><p className="font-bold">OS </p>Arch Linux</div>
|
||||
<div className="flex-1"><p className="font-bold">{location} </p>{hiroshima}</div>
|
||||
</div>
|
||||
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/heHnGhDanoIDlf7jjxUe9yPVrsG3deeH5ptD8suErrq5w46crWEIYdLfzLoukzfF?period=24h" height="400" className="w-2/3" frameBorder="0" scrolling="no"></iframe>
|
||||
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/heHnGhDanoIDlf7jjxUe9yPVrsG3deeH5ptD8suErrq5w46crWEIYdLfzLoukzfF?period=24h" height="400" frameBorder="0" scrolling="no"></iframe>
|
||||
|
||||
{
|
||||
// raspberry Mackerel
|
||||
@ -45,7 +45,7 @@ export default function About(props) {
|
||||
<div className="flex-1"><p className="font-bold">OS </p>Raspbian GNU/Linux 10 (buster)</div>
|
||||
<div className="flex-1"><p className="font-bold">{location} </p>{tottori}</div>
|
||||
</div>
|
||||
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/5HVbQiwuxrMithyrGjmmQCCOVgJ6Ptf94SDA2qWSTsh2rtz7pjePihYzaW5QEml4?period=24h" height="400" className="w-2/3" frameBorder="0" scrolling="no"></iframe>
|
||||
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/5HVbQiwuxrMithyrGjmmQCCOVgJ6Ptf94SDA2qWSTsh2rtz7pjePihYzaW5QEml4?period=24h" height="400" frameBorder="0" scrolling="no"></iframe>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -13,7 +13,7 @@ export default function Tos(props) {
|
||||
const tos = t('tos')
|
||||
return(
|
||||
<Layout title={tos}>
|
||||
<div className="mx-9">
|
||||
<div>
|
||||
<ReactMarkdown plugins={[gfm]} children={input} />
|
||||
</div>
|
||||
</Layout>
|
||||
|
Loading…
Reference in New Issue
Block a user