feat(Docs) Added FrontMatter and Git edit links

This commit is contained in:
2022-04-11 23:31:23 -04:00
parent ddb6318186
commit 1939bbe70a
31 changed files with 254 additions and 299 deletions
+28
View File
@@ -0,0 +1,28 @@
<a href="@Href" class="editLinkButton">
Edit on GitHub
</a>
<style>
.editLinkButton {
color: white;
background-color: var(--info);
border: 1px solid var(--info-border);
padding: 16px;
border-radius: 3px;
display: block;
width: 180px;
text-align: center;
}
.editLinkButton:hover {
color: white;
background-color: var(--info-hover);
border: 2px solid var(--info-border-hover);
}
</style>
@code {
[Parameter]
public string Href { get; set; } = "";
}
-7
View File
@@ -1,7 +0,0 @@
namespace Components.Utils;
public static class Interval {
public static string ToTime(int interval) {
return TimeSpan.FromSeconds(interval).ToString(@"mm\:ss");
}
}