This commit is contained in:
Xeltica 2020-07-24 22:37:50 +09:00
parent 9cc01202e4
commit 92e8472b26
5 changed files with 721 additions and 33 deletions

View File

@ -9,9 +9,17 @@ It is suitable if you are using a legacy computer, or you are not prefer to enab
## build
```
# ???????????
yarn install
# ????????
yarn build
# ???????
yarn start
# watch ????????????????????
yarn watch
```
## LICENSE

View File

@ -1,6 +1,6 @@
{
"name": "simpkey",
"version": "1.0.0",
"version": "1.0.0-beta.1",
"description": "server-side misskey client",
"main": "built/app.js",
"author": "Xeltica",
@ -26,6 +26,7 @@
"koa-router": "^9.1.0",
"koa-session": "^6.0.0",
"koa-views": "^6.3.0",
"mfmf": "^4.1.0",
"pug": "^3.0.0",
"typescript": "^3.9.7"
},

View File

@ -1,5 +1,5 @@
export default {
version: '1.0.0',
version: '1.0.0-beta.1',
changelog: [
'initial release'
],

View File

@ -66,7 +66,7 @@ mixin note(note)
if canRenote && canRenote(note)
|[
a(href="/renote/" + note.id) リノート !{note.renoteCount}
|]
|]
if canReact && canReact(note)
if !note.myReaction
| [
@ -75,7 +75,7 @@ mixin note(note)
else
form(action="action/unreact", method="post" style="display: inline")
input(type="hidden", name="noteId", value=note.id)
button(type="submit") リアクション解除
button(type="submit") リアクション解除
mixin post-form(url, placeholder, buttonText)
form(action=url, method="post")
@ -90,13 +90,13 @@ mixin post-form(url, placeholder, buttonText)
mixin nav()
div
|[
a(href="/") ホーム
a(href="/") ホーム
|] [
a(href="/ltl") ローカル
a(href="/ltl") ローカル
|] [
a(href="/stl") ソーシャル
a(href="/stl") ソーシャル
|] [
a(href="/gtl") グローバル
a(href="/gtl") グローバル
|] [
a(href="/notifications") 通知
|] [
@ -116,6 +116,9 @@ mixin user-header(user, detail = false)
.name: b=getUserName(user)
|  
span(style="color: gray")= getAcct(user)
if user.isFollowed
span.is-followed フォローされています
if user.isLocked
span.lock
if user.isAdmin
@ -145,9 +148,11 @@ mixin user-header(user, detail = false)
.count
a.notes(href="/" + getAcct(user)) !{user.notesCount} ノート
|
a.following(href="/" + getAcct(user) + "/following") !{user.followingCount} フォロー
//- a.following(href="/" + getAcct(user) + "/following")
| !{user.followingCount} フォロー
|
a.followers(href="/" + getAcct(user) + "/followers") !{user.followersCount} フォロワー
//- a.followers(href="/" + getAcct(user) + "/followers")
| !{user.followersCount} フォロワー
mixin timeline(notes)
each note in notes

720
yarn.lock

File diff suppressed because it is too large Load Diff