0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Compare commits

..

3 Commits

Author SHA1 Message Date
f0cf3729a0
Merge branch 'master' of https://github.com/yudejp/yude.jp 2021-12-26 07:35:50 +09:00
ec530601b4
Add services/ 2021-12-26 07:35:41 +09:00
30547e3b81
Fix i18n tag 2021-12-26 06:58:15 +09:00
7 changed files with 102 additions and 5 deletions

23
docs/services/en.md Normal file
View File

@ -0,0 +1,23 @@
# Available services on yude.jp
## Softwares
* [AutoMuteUs](https://github.com/denverquane/automuteus)\
Among Us helper; API: [`galactus.yude.jp`](https://galactus.yude.jp)
* [Nextcloud](https://nc.yude.jp)
* [Mastodon](https://mstdn.yude.jp)
* [Misskey](https://misskey.yude.jp)
* [Pleroma](https//pleroma.yude.jp)
* [TeamSpeak 3](ts3server://yude.jp)
* [Gitea](https://git.yude.jp)
* [h5ai](https://files.yude.jp)
* [JMusicBot (forked)](https://discord.com/oauth2/authorize?client_id=429638220456656896&scope=bot&permissions=338963472)
* [Owncast](https://live.yude.jp)
* [Minecraft Server](https://yude.jp/minecraft)
## 秘匿化ネットワーク
### Tor
* Relay: [yudejp]
* Hidden Service: [yude3mzscyufx5u3zup72ium7tgecy3bd67p7t6vqhaywvr7e2gqpcqd.onion](yude3mzscyufx5u3zup72ium7tgecy3bd67p7t6vqhaywvr7e2gqpcqd.onion)
### I2P
* Hidden Service: [yudejp.i2p/?i2paddresshelper=55ivoba6mo3mqlwvw5lqz7lchxqew2kh77kwkn5shefrj2dp3coq.b32.i2p](yudejp.i2p/?i2paddresshelper=55ivoba6mo3mqlwvw5lqz7lchxqew2kh77kwkn5shefrj2dp3coq.b32.i2p)

23
docs/services/ja.md Normal file
View File

@ -0,0 +1,23 @@
# yude.jp で運用中のサービス
## ソフトウェア
* [AutoMuteUs](https://github.com/denverquane/automuteus)\
Among Us の自動ミュートボット; API: [`galactus.yude.jp`](https://galactus.yude.jp)
* [Nextcloud](https://nc.yude.jp)
* [Mastodon](https://mstdn.yude.jp)
* [Misskey](https://misskey.yude.jp)
* [Pleroma](https//pleroma.yude.jp)
* [TeamSpeak 3](ts3server://yude.jp)
* [Gitea](https://git.yude.jp)
* [h5ai](https://files.yude.jp)
* [JMusicBot (フォーク)](https://discord.com/oauth2/authorize?client_id=429638220456656896&scope=bot&permissions=338963472)
* [Owncast](https://live.yude.jp)
* [Minecraft サーバー](https://yude.jp/minecraft)
## 秘匿化ネットワーク
### Tor
* リレー: [yudejp]
* Hidden Service: [yude3mzscyufx5u3zup72ium7tgecy3bd67p7t6vqhaywvr7e2gqpcqd.onion](yude3mzscyufx5u3zup72ium7tgecy3bd67p7t6vqhaywvr7e2gqpcqd.onion)
### I2P
* Hidden Service: [yudejp.i2p/?i2paddresshelper=55ivoba6mo3mqlwvw5lqz7lchxqew2kh77kwkn5shefrj2dp3coq.b32.i2p](yudejp.i2p/?i2paddresshelper=55ivoba6mo3mqlwvw5lqz7lchxqew2kh77kwkn5shefrj2dp3coq.b32.i2p)

View File

@ -60,5 +60,6 @@
"service": "Service", "service": "Service",
"shape": "Shape", "shape": "Shape",
"tos": "yude.jp Terms of Service", "tos": "yude.jp Terms of Service",
"input": "en" "input": "en",
"services": "Services"
} }

View File

@ -60,5 +60,6 @@
"service": "サービス", "service": "サービス",
"shape": "シェイプ", "shape": "シェイプ",
"tos": "yude.jp サービス利用規約", "tos": "yude.jp サービス利用規約",
"input": "ja" "input": "ja",
"services": "サービス"
} }

View File

@ -18,7 +18,7 @@ import MinecraftMenu from "./components/Menu/MinecraftMenu"
// Font Awesome // Font Awesome
import { faDiscord, faGit, faGithub } from '@fortawesome/free-brands-svg-icons' import { faDiscord, faGit, faGithub } from '@fortawesome/free-brands-svg-icons'
import { faBook, faUser, faServer, faHouseUser, faHeart } from '@fortawesome/free-solid-svg-icons' import { faBook, faUser, faServer, faScrewdriver, faHeart } from '@fortawesome/free-solid-svg-icons'
export default function Index(props) { export default function Index(props) {
const { t } = useTranslation(); const { t } = useTranslation();
@ -45,7 +45,7 @@ export default function Index(props) {
<div className="grid grid-cols-3 gap-10"> <div className="grid grid-cols-3 gap-10">
<FAMenu dest="/profile" query={query} icon={faUser} /> <FAMenu dest="/profile" query={query} icon={faUser} />
<FAMenu dest="/server" query={query} icon={faServer} /> <FAMenu dest="/server" query={query} icon={faServer} />
<FAMenu dest="/house" query={query} icon={faHouseUser} /> <FAMenu dest="/services" query={query} icon={faScrewdriver} />
<FAMenu dest="https://scrapbox.io/yude" query={query} icon={faBook} /> <FAMenu dest="https://scrapbox.io/yude" query={query} icon={faBook} />
<FAMenu dest="https://discord.gg/X6srY7X" query={query} icon={faDiscord} /> <FAMenu dest="https://discord.gg/X6srY7X" query={query} icon={faDiscord} />
<FAMenu dest="https://github.com/yudejp" query={query} icon={faGithub} /> <FAMenu dest="https://github.com/yudejp" query={query} icon={faGithub} />

View File

@ -30,7 +30,7 @@ export default function Tos(props) {
title="相互リンク" title="相互リンク"
description="yude.jp と相互にリンクを貼っている Web サイトの一覧" description="yude.jp と相互にリンクを貼っている Web サイトの一覧"
/> />
<Layout title={t('common:mutual')}> <Layout title={t('mutual')}>
<div> <div>
{query["lang"] === 'ja' ? ( {query["lang"] === 'ja' ? (
<ReactMarkdown plugins={[gfm]}> <ReactMarkdown plugins={[gfm]}>

49
pages/services.js Normal file
View File

@ -0,0 +1,49 @@
// Base layout
import Layout from "./components/Layout"
// i18n
import { useTranslation, useLanguageQuery, LanguageSwitcher } from 'next-export-i18n';
// React Router etc.
import { useRouter } from 'next/router'
import React from "react"
// React Markdown
import ReactMarkdown from "react-markdown"
import gfm from 'remark-gfm';
import ja from '../docs/services/ja.md'
import en from '../docs/services/en.md'
// next-seo
import { NextSeo } from 'next-seo';
export default function Tos(props) {
const { t } = useTranslation();
const [query] = useLanguageQuery();
if (!query) {
return <p>Loading...</p>
} else {
return(
<>
<NextSeo
title="サービス"
description="yude.jp で運用中のサービス"
/>
<Layout title={t('services')}>
<div>
{query["lang"] === 'ja' ? (
<ReactMarkdown plugins={[gfm]}>
{ja}
</ReactMarkdown>
) : (
<ReactMarkdown plugins={[gfm]}>
{en}
</ReactMarkdown>
)}
</div>
</Layout>
</>
)
}
}