updated _GithubSource.tsx
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Struchkov Mark 2024-09-05 03:11:28 +03:00
parent 58ac6e8153
commit 99ad1dfc9f
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
2 changed files with 6 additions and 15 deletions

View File

@ -23,7 +23,6 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
}: QuartzComponentProps) => { }: QuartzComponentProps) => {
return ( return (
<div class={classNames(displayClass, "github-source")}> <div class={classNames(displayClass, "github-source")}>
<h3>Инструменты</h3>
<ul> <ul>
<li> <li>
<a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} <a href={`${options?.repoLink}/blob/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}
@ -36,20 +35,6 @@ export default ((opts?: Partial<GithubSourceOptions>) => {
className="external"> className="external">
🕒 История изменений 🕒 История изменений
</a> </a>
<svg
class="external-icon"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
x="0px"
y="0px"
fill="currentColor"
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"
/>
</svg>
</li> </li>
<li> <li>
<a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`} <a href={`${options?.repoLink}/blame/${options?.branch}/${fileData.filePath!.replace(/^content\//, "")}`}

View File

@ -25,4 +25,10 @@ a.internal {
.backlinks>ul { .backlinks>ul {
list-style: disc; list-style: disc;
}
.github-source {
a {
border-bottom: 0;
}
} }