updated _GithubSource.tsx
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
eea2bb1465
commit
6c56d46980
@ -23,21 +23,18 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
|
|||||||
}: QuartzComponentProps) => {
|
}: QuartzComponentProps) => {
|
||||||
return (
|
return (
|
||||||
<div class={classNames(displayClass, "github-source")}>
|
<div class={classNames(displayClass, "github-source")}>
|
||||||
<h3>Исходники заметки</h3>
|
<h3>Инструменты</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} className="external">
|
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
|
||||||
Редактировать
|
className="external">
|
||||||
|
✏️ Редактировать
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
|
||||||
Blame
|
className="external">
|
||||||
</a>
|
🕒 История изменений
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
|
||||||
История изменений
|
|
||||||
</a>
|
</a>
|
||||||
<svg
|
<svg
|
||||||
class="external-icon"
|
class="external-icon"
|
||||||
@ -54,6 +51,12 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
|
|||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
|
||||||
|
className="external">
|
||||||
|
🧑💻 Авторы
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user