Skip to content

Commit

Permalink
add 链接
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzeyu91 committed Aug 15, 2024
1 parent e0499f9 commit 8ad2117
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions src/GraphRag.Net.Web/Components/GlobalHeader/RightContent.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
@namespace GraphRag.Net.Web.Components
@inherits AntDomComponentBase

<Space Class="@ClassMapper.Class" Size="@("26")">
<button class="github_btn" onclick="window.open('https://github.com/AIDotNet/GraphRag.Net')"></button>

</Space>


<style>
.github_btn {
cursor: pointer;
border: none;
background-image: url('http://img.shields.io/github/stars/aidotnet/graphrag.net?style=social');
width: 88px;
height: 20px;
}
</style>
6 changes: 3 additions & 3 deletions src/GraphRag.Net.Web/Layouts/BasicLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
{
new LinkItem
{
Key = "GraphRag.Net.Web",
Title = "GraphRag.Net.Web",
Href = "https://github.com/xuzeyu91/GraphRag.Net.Web",
Key = "GraphRag.Net",
Title = "GraphRag.Net",
Href = "https://github.com/xuzeyu91/GraphRag.Net",
BlankTarget = true,
}
};
Expand Down
6 changes: 3 additions & 3 deletions src/GraphRag.Net.Web/Layouts/UserLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
{
new LinkItem
{
Key = "GraphRag.Net.Web",
Title = "GraphRag.Net.Web",
Href = "https://github.com/xuzeyu91/GraphRag.Net.Web",
Key = "GraphRag.Net",
Title = "GraphRag.Net",
Href = "https://github.com/xuzeyu91/GraphRag.Net",
BlankTarget = true,
}
};
Expand Down

0 comments on commit 8ad2117

Please sign in to comment.