From 3bfb59f3025b9ec133ceb5a438a7433378d34f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Eggert=20Lundsteen=20Olsen?= Date: Thu, 1 Oct 2026 13:22:55 +0200 Subject: [PATCH] Community site: links back to seosoft.dk A thin bar above the header ("Tilbage til seosoft.dk") and footer links lead back to the vendor's site. CompanyUrl is configurable. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/SQLInsight.Community/CommunityOptions.cs | 3 +++ .../Components/Layout/SiteLayout.razor | 6 +++++- src/SQLInsight.Community/wwwroot/site.css | 6 ++++++ tests/SQLInsight.Community.Tests/SiteTests.cs | 11 +++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/SQLInsight.Community/CommunityOptions.cs b/src/SQLInsight.Community/CommunityOptions.cs index ba577e1..d43728a 100644 --- a/src/SQLInsight.Community/CommunityOptions.cs +++ b/src/SQLInsight.Community/CommunityOptions.cs @@ -29,6 +29,9 @@ public sealed class CommunityOptions public Uri SourceUrl { get; set; } = new("https://git.seosoft.dk/seo/sqlinsight-pro"); + /// The vendor's own site, linked from the header and footer so visitors can get back to it. + public Uri CompanyUrl { get; set; } = new("https://seosoft.dk/"); + /// Where Professional and Enterprise enquiries go. public string ContactEmail { get; set; } = "salg@example.com"; diff --git a/src/SQLInsight.Community/Components/Layout/SiteLayout.razor b/src/SQLInsight.Community/Components/Layout/SiteLayout.razor index b1a8c3c..3a05c7d 100644 --- a/src/SQLInsight.Community/Components/Layout/SiteLayout.razor +++ b/src/SQLInsight.Community/Components/Layout/SiteLayout.razor @@ -1,6 +1,9 @@ @inherits LayoutComponentBase @inject IOptions Options +