diff --git a/PancakesWeb/Components/Pages/Home.razor b/PancakesWeb/Components/Pages/Home.razor index c4731fc..e8bf596 100644 --- a/PancakesWeb/Components/Pages/Home.razor +++ b/PancakesWeb/Components/Pages/Home.razor @@ -107,4 +107,18 @@ } + +

Webrings

+

Adjacent websites

+ + \ No newline at end of file diff --git a/PancakesWeb/Data/Webring.cs b/PancakesWeb/Data/Webring.cs new file mode 100644 index 0000000..aeb255f --- /dev/null +++ b/PancakesWeb/Data/Webring.cs @@ -0,0 +1,23 @@ +namespace PancakesWeb.Data; + +public class Webring +{ + public required string Name { get; set; } + public required string MainUrl { get; set; } + public required string PrevUrl { get; set; } + public required string NextUrl { get; set; } +} + +public static class Webrings +{ + public static readonly List Rings = + [ + new Webring + { + Name = "Fediring", + MainUrl = "https://fediring.net/", + PrevUrl = "https://fediring.net/previous?host=pancakes.gay", + NextUrl = "https://fediring.net/next?host=pancakes.gay" + } + ]; +} \ No newline at end of file diff --git a/PancakesWeb/wwwroot/style.css b/PancakesWeb/wwwroot/style.css index bb6bdcf..d34fd5f 100644 --- a/PancakesWeb/wwwroot/style.css +++ b/PancakesWeb/wwwroot/style.css @@ -162,6 +162,10 @@ pre code:hover + .copy-code-button, .copy-code-button:hover { filter: invert() hue-rotate(180deg); } +.no-decorations { + text-decoration: none; +} + @keyframes title-fade-in { 0% { margin-top: 0;