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,25 +23,22 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
|
||||
}: QuartzComponentProps) => {
|
||||
return (
|
||||
<div class={classNames(displayClass, "github-source")}>
|
||||
<h3>Исходники заметки</h3>
|
||||
<h3>Инструменты</h3>
|
||||
<ul>
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
||||
Blame
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} class="external">
|
||||
История изменений
|
||||
<a href={`${options?.repoLink}/commits/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
|
||||
className="external">
|
||||
🕒 История изменений
|
||||
</a>
|
||||
<svg
|
||||
class="external-icon"
|
||||
viewBox= "0 0 512 512"
|
||||
viewBox="0 0 512 512"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlnsXlink="http://www.w3.org/1999/xlink"
|
||||
x="0px"
|
||||
@ -50,10 +47,16 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
|
||||
xmlSpace="preserve"
|
||||
>
|
||||
<path
|
||||
d= "M320 0H288V64h32 82.7L201.4 265.4 178.7 288 224 333.3l22.6-22.6L448 109.3V192v32h64V192 32 0H480 320zM32 32H0V64 480v32H32 456h32V480 352 320H424v32 96H64V96h96 32V32H160 32z"
|
||||
d="M320 0H288V64h32 82.7L201.4 265.4 178.7 288 224 333.3l22.6-22.6L448 109.3V192v32h64V192 32 0H480 320zM32 32H0V64 480v32H32 456h32V480 352 320H424v32 96H64V96h96 32V32H160 32z"
|
||||
/>
|
||||
</svg>
|
||||
</li>
|
||||
<li>
|
||||
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
|
||||
className="external">
|
||||
🧑💻 Авторы
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user