.claude/settings.local.json
+2
-1
diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index b1016dc..83458b2 100644
@@ -4,7 +4,8 @@
"Bash(dotnet restore:*)",
"Bash(dotnet build:*)",
"Bash(dotnet run:*)",
"Bash(dir:*)"
"Bash(dir:*)",
"Bash(dotnet --version:*)"
],
"deny": [],
"ask": []
GitBrowser/Components/Layout/MainLayout.razor
+1
-1
diff --git a/GitBrowser/Components/Layout/MainLayout.razor b/GitBrowser/Components/Layout/MainLayout.razor
index bf9a36f..9309d04 100644
@@ -8,8 +8,8 @@
<path
d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z" />
</svg>
<span class="gh-title">GitBrowser</span>
</a>
<SectionOutlet SectionName="header-title" />
</div>
</header>
GitBrowser/Components/Layout/MainLayout.razor.css
+6
-1
diff --git a/GitBrowser/Components/Layout/MainLayout.razor.css b/GitBrowser/Components/Layout/MainLayout.razor.css
index e465e08..e4b5bdd 100644
@@ -41,10 +41,15 @@
flex-shrink: 0;
}
.gh-title {
.gh-header-content ::deep a.gh-title {
color: #ffffff;
font-size: 16px;
font-weight: 600;
&:hover {
text-decoration: none;
opacity: 0.8;
}
}
.gh-main {
GitBrowser/Components/Pages/Commit.razor
+4
-2
diff --git a/GitBrowser/Components/Pages/Commit.razor b/GitBrowser/Components/Pages/Commit.razor
index c835d96..0a23538 100644
@@ -3,9 +3,11 @@
<PageTitle>@RepoName - Commit @Hash</PageTitle>
<div class="container">
<h2 class="repo-title">@RepoName</h2>
<SectionContent SectionName="header-title">
<a class="gh-title" href="/@Uri.EscapeDataString(RepoName)">@RepoName</a>
</SectionContent>
<div class="container">
<div class="commit-header">
<div class="commit-hashes">
<div class="commit-hash">
GitBrowser/Components/Pages/Home.razor
+4
-7
diff --git a/GitBrowser/Components/Pages/Home.razor b/GitBrowser/Components/Pages/Home.razor
index 4ff82fe..d08df8b 100644
@@ -2,14 +2,11 @@
<PageTitle>Repositories</PageTitle>
<div class="container">
<div class="header">
<h2 class="title">
<span>Repositories</span>
<span class="repo-count">@repositories.Count @(repositories.Count == 1 ? "repository" : "repositories")</span>
</h2>
</div>
<SectionContent SectionName="header-title">
<a class="gh-title" href="/">GitBrowser</a>
</SectionContent>
<div class="container">
@if (!repositories.Any())
{
<div class="empty-state">
GitBrowser/Components/Pages/Repo.razor
+4
-2
diff --git a/GitBrowser/Components/Pages/Repo.razor b/GitBrowser/Components/Pages/Repo.razor
index 5eaace5..8549418 100644
@@ -4,9 +4,11 @@
<PageTitle>@RepoName</PageTitle>
<div class="container">
<h2 class="repo-title">@RepoName</h2>
<SectionContent SectionName="header-title">
<a class="gh-title" href="/@Uri.EscapeDataString(RepoName)">@RepoName</a>
</SectionContent>
<div class="container">
<nav class="breadcrumb">
<a href="/@Uri.EscapeDataString(RepoName)/tree/@Uri.EscapeDataString(currentBranch)"
class="branch-indicator">@currentBranch</a>
GitBrowser/Components/_Imports.razor
+1
-0
diff --git a/GitBrowser/Components/_Imports.razor b/GitBrowser/Components/_Imports.razor
index 1e582a0..bebc39d 100644
@@ -2,6 +2,7 @@
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Sections
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization