added gh logo, added .svg-icon.inline

This commit is contained in:
booploops 2022-02-14 03:09:50 -08:00
parent 3fdd6c04c7
commit ffecde73da
2 changed files with 8 additions and 2 deletions

View file

@ -1222,6 +1222,10 @@
height: 18px;
width: 18px;
background: var(--color);
&.inline {
display: inline-block;
}
}
.sidebar-icon {

View file

@ -36,7 +36,9 @@
<div class="col nopadding flex-center">
<div>
<h3 class="repo-preview-name">{{ openRepo.description }}</h3>
<div><a class="repo-url" target="_blank" :href="openRepo.html_url">{{ openRepo.full_name
<div>
<div class="svg-icon inline" :style="{'--url': 'url(\'./assets/github.svg\')'}"></div>
<a class="repo-url" target="_blank" :href="openRepo.html_url">{{ openRepo.full_name
}}</a></div>
<div>⭐ {{ openRepo.stargazers_count }}</div>
</div>
@ -53,7 +55,7 @@
<div v-html="openRepo.readme" class="github-content"></div>
</div>
<div class="github-preview" v-else>
</div>
</transition>
</div>