+ @foreach (var alertMessage in Model)
+ {
+
+ @if (alertMessage.Title != null)
+ {
+ @alertMessage.Title
+ }
+ @alertMessage.Text
+
+ }
+
+}
\ No newline at end of file
diff --git a/src/EventHub.Web.Theme/Themes/EventHub/Components/PageAlerts/PageAlertsViewComponent.cs b/src/EventHub.Web.Theme/Themes/EventHub/Components/PageAlerts/PageAlertsViewComponent.cs
new file mode 100644
index 0000000..542bceb
--- /dev/null
+++ b/src/EventHub.Web.Theme/Themes/EventHub/Components/PageAlerts/PageAlertsViewComponent.cs
@@ -0,0 +1,21 @@
+using Microsoft.AspNetCore.Mvc;
+using Volo.Abp.AspNetCore.Mvc;
+using Volo.Abp.AspNetCore.Mvc.UI.Alerts;
+
+namespace EventHub.Web.Theme.Themes.EventHub.Components.PageAlerts
+{
+ public class PageAlertsViewComponent : AbpViewComponent
+ {
+ private readonly IAlertManager _alertManager;
+
+ public PageAlertsViewComponent(IAlertManager alertManager)
+ {
+ _alertManager = alertManager;
+ }
+
+ public IViewComponentResult Invoke(string name)
+ {
+ return View("~/Themes/EventHub/Components/PageAlerts/Default.cshtml", _alertManager.Alerts);
+ }
+ }
+}
diff --git a/src/EventHub.Web.Theme/Themes/EventHub/Components/Toolbar/Default.cshtml b/src/EventHub.Web.Theme/Themes/EventHub/Components/Toolbar/Default.cshtml
new file mode 100644
index 0000000..f23bd11
--- /dev/null
+++ b/src/EventHub.Web.Theme/Themes/EventHub/Components/Toolbar/Default.cshtml
@@ -0,0 +1,6 @@
+@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Toolbars
+@model Toolbar
+@foreach (var toolbarItem in Model.Items.OrderBy(i => i.Order))
+{
+