Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kitsukey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kio!
Kitsukey
Commits
e476647a
Commit
e476647a
authored
6 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
🎨
parent
eb23be97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/title-dark.svg
+0
-0
0 additions, 0 deletions
assets/title-dark.svg
src/client/app/desktop/views/pages/welcome.vue
+27
-7
27 additions, 7 deletions
src/client/app/desktop/views/pages/welcome.vue
with
27 additions
and
7 deletions
assets/title-dark.svg
0 → 100644
NaN GiB (NaN%)
View file @
e476647a
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
src/client/app/desktop/views/pages/welcome.vue
+
27
−
7
View file @
e476647a
<
template
>
<div
class=
"mk-welcome"
>
<button
@
click=
"dark"
>
<template
v-if=
"_darkmode_"
>
%fa:moon%
</
template
>
<
template
v-else
>
%fa:R moon%
</
template
>
</button>
<main>
<img
src=
"
assets/title.svg
"
alt=
"Misskey"
>
<img
:
src=
"
_darkmode_ ? 'assets/title-dark.svg' : 'assets/title.svg'
"
alt=
"Misskey"
>
<p><button
class=
"signup"
@
click=
"signup"
>
%i18n:@signup-button%
</button><button
class=
"signin"
@
click=
"signin"
>
%i18n:@signin-button%
</button></p>
<div
class=
"tl"
>
...
...
@@ -44,6 +48,9 @@ export default Vue.extend({
},
signin
()
{
this
.
$modal
.
show
(
'
signin
'
);
},
dark
()
{
(
this
as
any
).
_updateDarkmode_
(
!
(
this
as
any
).
_darkmode_
);
}
}
});
...
...
@@ -59,18 +66,25 @@ export default Vue.extend({
<
style
lang=
"stylus"
scoped
>
@import '~const.styl'
@import url('https://fonts.googleapis.com/css?family=Sarpanch:700')
.mk-welcome
root(isDark)
display flex
flex-direction column
flex 1
> button
position absolute
z-index 1
top 0
left 0
padding 16px
font-size 18px
color isDark ? #fff : #555
> main
flex 1
padding 64px 0 0 0
text-align center
color #555
color
isDark ? #9aa4b3 :
#555
> img
width 350px
...
...
@@ -102,7 +116,7 @@ export default Vue.extend({
.signin
&:hover
color #000
color
isDark ? #fff :
#000
> .tl
margin 32px auto 0 auto
...
...
@@ -149,7 +163,7 @@ export default Vue.extend({
> footer
font-size 12px
color
#949ea5
color
isDark ? #949ea5 : #737c82
> div
margin 0 auto
...
...
@@ -161,6 +175,12 @@ export default Vue.extend({
font-size 10px
opacity 0.7
.mk-welcome[data-darkmode]
root(true)
.mk-welcome:not([data-darkmode])
root(false)
</
style
>
<
style
lang=
"stylus"
module
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment