-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support to customize welcome page
- Loading branch information
1 parent
a8ba3e3
commit 08a5f79
Showing
7 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.entry { | ||
align-items: center; | ||
background-color: var(--panel-background); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
text-align: center; | ||
width: 100%; | ||
|
||
* { | ||
font-family: monospace; | ||
} | ||
|
||
dl { | ||
border-collapse: separate; | ||
border-spacing: 13px 17px; | ||
color: hsla(0, 0%, 100%, 0.6); | ||
cursor: default; | ||
display: table-row; | ||
font-size: 13px; | ||
margin: 0; | ||
|
||
dt { | ||
display: table-cell; | ||
letter-spacing: 0.04em; | ||
text-align: right; | ||
} | ||
|
||
dd { | ||
display: table-cell; | ||
margin-left: 12px; | ||
text-align: left; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react'; | ||
import './entry.scss'; | ||
|
||
export const Entry = () => { | ||
return ( | ||
<div className="entry"> | ||
<h1>molecule</h1> | ||
<dl> | ||
<dt>显示所有命令</dt> | ||
<dd> command + b</dd> | ||
</dl> | ||
<dl> | ||
<dt>打开文件或文件夹</dt> | ||
<dd> command + b</dd> | ||
</dl> | ||
<dl> | ||
<dt>打开最近文件</dt> | ||
<dd> command + b</dd> | ||
</dl> | ||
<dl> | ||
<dt>新的无标题文件</dt> | ||
<dd> command + b</dd> | ||
</dl> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters