Skip to content

Commit

Permalink
added stars to repositorydisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcn99 committed Jul 2, 2024
1 parent bbd8ee9 commit d4e9f6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions GPVBlazor/GPVBlazor/Components/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="bulma.css" />
<link rel="stylesheet" href="github-markdown-dark.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<HeadOutlet />
</head>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
}
<a href="@repository.HtmlUrl" class="button is-small is-link is-inverted">GitHub</a>
<a href="@repository.CloneUrl" class="button is-small is-link is-inverted">Clone URL</a>
<button class="button is-small is-link is-inverted is-column-gap-1">
@repository.StargazersCount
<span class="icon">
<i class="fas fa-star"></i>
</span>
</button>
@if (repository?.Readme?.Content is not null)
{
<button class="button is-small is-link is-inverted" @onclick="() => ShowModal = true">Readme</button>
Expand Down
4 changes: 1 addition & 3 deletions GPVBlazor/GPVBlazor/wwwroot/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,4 @@ h1:focus {

.darker-border-checkbox.form-check-input {
border-color: #929292;
}


}

0 comments on commit d4e9f6d

Please # to comment.