Skip to content

Commit

Permalink
Update GitHub links in MainLayout, DragHandles, MultipleLists, and Si…
Browse files Browse the repository at this point in the history
…ngleList
  • Loading branch information
Your Name committed Dec 26, 2023
1 parent b5f3e7a commit 5f717f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
6 changes: 6 additions & 0 deletions MainLayout.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
@inherits LayoutComponentBase

<main>
<a class="button is-dark is-pulled-right mr-4" href="https://github.com/the-urlist/blazorsortable" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>View on GitHub</span>
</a>
<div class="columns m-5">
<div class="column is-narrow">
<aside class="menu">
Expand Down
10 changes: 1 addition & 9 deletions Pages/DragHandles.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

<div class="container">
<h1 class="title is-size-1 has-text-centered">Drag Handles</h1>
<div class="buttons is-centered">
<a class="button is-dark" href="https://github.com/your-repo" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>View on GitHub</span>
</a>
</div>
<div class="columns">
<div class="column has-background-primary-light">
<SortableList Id="sortable" Handle=".drag-handle" Items="items" OnUpdate="@SortList" Context="item">
Expand All @@ -34,7 +26,7 @@
<p>List&lt;Item&gt; items = [</p>
@foreach (var item in items)
{
<p class="m-4">{ Id: @item.Id, Name: "@item.Name" },</p>
<p class="m-4">{ Id: @item.Id, Name: "@item.Name" },</p>
}
<p>]</p>
</code>
Expand Down
8 changes: 0 additions & 8 deletions Pages/MultipleLists.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

<div class="container">
<h1 class="title is-size-1 has-text-centered">Multiple Lists</h1>
<div class="buttons is-centered">
<a class="button is-dark" href="https://github.com/your-repo" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>View on GitHub</span>
</a>
</div>
<div class="columns">
<div class="column has-background-light">
<SortableList Group="groupName" Items="items1" Context="item" OnRemove="ListOneRemove">
Expand Down
10 changes: 1 addition & 9 deletions Pages/SingleList.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

<div class="container">
<h1 class="title is-size-1 has-text-centered">Single List</h1>
<div class="buttons is-centered">
<a class="button is-dark" href="https://github.com/your-repo" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>View on GitHub</span>
</a>
</div>
<div class="columns">
<div class="column has-background-primary-light">
<SortableList Id="sortable" Items="items" OnUpdate="@SortList" Context="item">
Expand All @@ -24,7 +16,7 @@
<p>List&lt;Item&gt; items = [</p>
@foreach (var item in items)
{
<p class="m-4">{ Id: @item.Id, Name: "@item.Name" },</p>
<p class="m-4">{ Id: @item.Id, Name: "@item.Name" },</p>
}
<p>]</p>
</code>
Expand Down

0 comments on commit 5f717f2

Please sign in to comment.