Skip to content
Snippets Groups Projects
Commit 2105e496 authored by syuilo's avatar syuilo
Browse files

✌️

parent 8ed30d1f
No related branches found
Tags 0.0.5030
No related merge requests found
......@@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
desktop/views/components/ui.header.account.vue:
profile: "Your profile"
drive: "Drive"
favorites: "Favorites"
customize: "Customize"
settings: "Settings"
signout: "Sign out"
......
......@@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
desktop/views/components/ui.header.account.vue:
profile: "Votre profil"
drive: "Drive"
favorites: "Favorites"
customize: "Modifications"
settings: "Réglages"
signout: "Déconnexion"
......
......@@ -367,6 +367,7 @@ desktop/views/components/settings.profile.vue:
desktop/views/components/ui.header.account.vue:
profile: "プロフィール"
drive: "ドライブ"
favorites: "お気に入り"
customize: "カスタマイズ"
settings: "設定"
signout: "サインアウト"
......
......@@ -13,6 +13,9 @@
<li @click="drive">
<p>%fa:cloud%<span>%i18n:@drive%</span>%fa:angle-right%</p>
</li>
<li>
<router-link to="/i/favorites">%fa:star%<span>%i18n:@favorites%</span>%fa:angle-right%</router-link>
</li>
</ul>
<ul>
<li>
......@@ -24,7 +27,7 @@
</ul>
<ul>
<li @click="signout">
<p>%fa:power-off%<span>%i18n:@signout%</span></p>
<p class="signout">%fa:power-off%<span>%i18n:@signout%</span></p>
</li>
</ul>
<ul>
......@@ -209,7 +212,7 @@ root(isDark)
pointer-events none
> span:first-child
padding-left 16px
padding-left 22px
> [data-fa]:first-child
margin-right 6px
......@@ -233,6 +236,16 @@ root(isDark)
&:active
background darken($theme-color, 10%)
&.signout
$color = #e64137
&:hover, &:active
background $color
color #fff
&:active
background darken($color, 10%)
.zoom-in-top-enter-active,
.zoom-in-top-leave-active {
transform-origin: center -16px;
......
......@@ -2,6 +2,7 @@ import * as mongo from 'mongodb';
import db from '../db/mongodb';
const Favorite = db.get<IFavorite>('favorites');
Favorite.createIndex(['userId', 'noteId'], { unique: true });
export default Favorite;
export type IFavorite = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment