From 929ea7401e0da7efcda41dee95e8c32a0fa958f8 Mon Sep 17 00:00:00 2001 From: Berkan Sasmaz Date: Wed, 28 Apr 2021 23:49:27 +0300 Subject: [PATCH] Edit header and footer --- .../Web/EventHubExternalUrls.cs | 17 + .../EventHub.Web.Theme.csproj | 4 + .../EventHub/Components/Footer/Default.cshtml | 31 +- .../Components/MainNavbar/Default.cshtml | 131 +++- src/EventHub.Web/EventHubWebModule.cs | 10 + src/EventHub.Web/Pages/Help.cshtml | 5 + src/EventHub.Web/Pages/Help.cshtml.cs | 12 + src/EventHub.Web/Pages/PrivacyPolicy.cshtml | 560 +++++++++++++++++ .../Pages/PrivacyPolicy.cshtml.cs | 14 + src/EventHub.Web/Pages/TermsService.cshtml | 591 ++++++++++++++++++ src/EventHub.Web/Pages/TermsService.cshtml.cs | 12 + 11 files changed, 1342 insertions(+), 45 deletions(-) create mode 100644 src/EventHub.Domain.Shared/Web/EventHubExternalUrls.cs create mode 100644 src/EventHub.Web/Pages/Help.cshtml create mode 100644 src/EventHub.Web/Pages/Help.cshtml.cs create mode 100644 src/EventHub.Web/Pages/PrivacyPolicy.cshtml create mode 100644 src/EventHub.Web/Pages/PrivacyPolicy.cshtml.cs create mode 100644 src/EventHub.Web/Pages/TermsService.cshtml create mode 100644 src/EventHub.Web/Pages/TermsService.cshtml.cs diff --git a/src/EventHub.Domain.Shared/Web/EventHubExternalUrls.cs b/src/EventHub.Domain.Shared/Web/EventHubExternalUrls.cs new file mode 100644 index 0000000..4df9730 --- /dev/null +++ b/src/EventHub.Domain.Shared/Web/EventHubExternalUrls.cs @@ -0,0 +1,17 @@ +namespace EventHub.Web +{ + public static class EventHubExternalUrls + { +#if DEBUG + public const string EhAccount = "https://localhost:44313"; + public const string EhApi = "https://localhost:44362"; + public const string EhAdmin = "https://localhost:44307"; + public const string EhWww = "https://localhost:44308"; +#else + public const string EhAccount = "https://localhost:44313"; + public const string EhApi = "https://localhost:44362"; + public const string EhAdmin = "https://localhost:44307"; + public const string EhWww = "https://localhost:44308"; +#endif + } +} \ No newline at end of file diff --git a/src/EventHub.Web.Theme/EventHub.Web.Theme.csproj b/src/EventHub.Web.Theme/EventHub.Web.Theme.csproj index ac59973..f9848a7 100644 --- a/src/EventHub.Web.Theme/EventHub.Web.Theme.csproj +++ b/src/EventHub.Web.Theme/EventHub.Web.Theme.csproj @@ -25,6 +25,10 @@ + + + + diff --git a/src/EventHub.Web.Theme/Themes/EventHub/Components/Footer/Default.cshtml b/src/EventHub.Web.Theme/Themes/EventHub/Components/Footer/Default.cshtml index 3cb0a7d..b3f1fa5 100644 --- a/src/EventHub.Web.Theme/Themes/EventHub/Components/Footer/Default.cshtml +++ b/src/EventHub.Web.Theme/Themes/EventHub/Components/Footer/Default.cshtml @@ -1,17 +1,25 @@ -