|
|
|
@ -9,6 +9,8 @@ |
|
|
|
@using EventHub.Web.Theme.Themes.EventHub.Components.Footer |
|
|
|
@using EventHub.Web.Theme.Themes.EventHub.Components.MainNavbar |
|
|
|
@using EventHub.Web.Theme.Themes.EventHub.Components.PageAlerts |
|
|
|
@using EventHub.Web |
|
|
|
@using Microsoft.AspNetCore.Http.Extensions |
|
|
|
@inject IBrandingProvider BrandingProvider |
|
|
|
@inject IPageLayout PageLayout |
|
|
|
@{ |
|
|
|
@ -39,6 +41,18 @@ |
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
|
|
|
|
|
|
|
<title>@pageTitle</title> |
|
|
|
@* TODO(berkansasmaz): Get SEO content from the marketing team *@ |
|
|
|
<meta name="description" content="@(!string.IsNullOrEmpty(ViewBag.Description) ? ViewBag.Description : "EventHub Description")"/> |
|
|
|
<meta property="og:title" content="@(!string.IsNullOrWhiteSpace(ViewBag.OgTitle) ? ViewBag.OgTitle : "EventHub Title")"/> |
|
|
|
<meta property="og:url" content="@Context.Request.GetDisplayUrl()"/> |
|
|
|
<meta property="og:type" content="@(!string.IsNullOrWhiteSpace(ViewBag.OgType) ? ViewBag.OgType : "website")"/> |
|
|
|
<meta property="og:description" content="@(!string.IsNullOrWhiteSpace(ViewBag.OgDescription) ? ViewBag.OgDescription : "EventHub Description")"/> |
|
|
|
<meta property="og:image" content="@(!string.IsNullOrWhiteSpace(ViewBag.OgImage) ? ViewBag.OgImage : EventHubExternalUrls.EhWww + "/assets/slide.jpg")"/> |
|
|
|
<meta property="twitter:card" content="summary_large_image"/> |
|
|
|
<meta property="twitter:site" content="@Html.Raw("@openeventhub")"/> |
|
|
|
<meta property="twitter:title" content="@(!string.IsNullOrWhiteSpace(ViewBag.TwitterTitle) ? ViewBag.TwitterTitle : "EventHub")"/> |
|
|
|
<meta property="twitter:description" content="@(!string.IsNullOrWhiteSpace(ViewBag.TwitterDescription) ? ViewBag.TwitterDescription : "EventHub Description")"/> |
|
|
|
<meta property="twitter:image" content="@(!string.IsNullOrWhiteSpace(ViewBag.TwitterImage) ? ViewBag.TwitterImage : EventHubExternalUrls.EhWww + "/assets/slide.jpg")"/> |
|
|
|
|
|
|
|
<!-- TODO: Include into the solution and use as packages! --> |
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com"> |
|
|
|
@ -46,7 +60,7 @@ |
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous"/> |
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css" integrity="sha512-OTcub78R3msOCtY3Tc6FzeDJ8N9qvQn1Ph49ou13xgA9VsH9+LRxoFU6EqLhW4+PKRfU+/HReXmSZXHEkpYoOA==" crossorigin="anonymous"/> |
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flag-icon-css@3.5.0/css/flag-icon.min.css"/> |
|
|
|
|
|
|
|
|
|
|
|
<abp-style-bundle name="@EventHubThemeBundles.Styles.Global"/> |
|
|
|
|
|
|
|
@await Component.InvokeAsync(typeof(WidgetStylesViewComponent)) |
|
|
|
@ -56,19 +70,19 @@ |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.Head.Last, StandardLayouts.Application) |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout @rtl"> |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.Body.First, StandardLayouts.Application) |
|
|
|
@(await Component.InvokeAsync<MainNavbarViewComponent>()) |
|
|
|
@(await Component.InvokeAsync<PageAlertsViewComponent>()) |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.PageContent.First, StandardLayouts.Application) |
|
|
|
@RenderBody() |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.PageContent.Last, StandardLayouts.Application) |
|
|
|
@(await Component.InvokeAsync<FooterViewComponent>()) |
|
|
|
<abp-script-bundle name="@EventHubThemeBundles.Scripts.Global"/> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous"></script> |
|
|
|
<script src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script src="~/Abp/ServiceProxyScript"></script> |
|
|
|
@await Component.InvokeAsync(typeof(WidgetScriptsViewComponent)) |
|
|
|
@await RenderSectionAsync("scripts", false) |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.Body.Last, StandardLayouts.Application) |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.Body.First, StandardLayouts.Application) |
|
|
|
@(await Component.InvokeAsync<MainNavbarViewComponent>()) |
|
|
|
@(await Component.InvokeAsync<PageAlertsViewComponent>()) |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.PageContent.First, StandardLayouts.Application) |
|
|
|
@RenderBody() |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.PageContent.Last, StandardLayouts.Application) |
|
|
|
@(await Component.InvokeAsync<FooterViewComponent>()) |
|
|
|
<abp-script-bundle name="@EventHubThemeBundles.Scripts.Global"/> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous"></script> |
|
|
|
<script src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script src="~/Abp/ServiceProxyScript"></script> |
|
|
|
@await Component.InvokeAsync(typeof(WidgetScriptsViewComponent)) |
|
|
|
@await RenderSectionAsync("scripts", false) |
|
|
|
@await Component.InvokeLayoutHookAsync(LayoutHooks.Body.Last, StandardLayouts.Application) |
|
|
|
</body> |
|
|
|
</html> |