mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Renders themed pages as swappable sections with path-mirrored template scopes and a Razor fallback
This commit is contained in:
1 parent
f17e685239
commit
e37bb3ecc6
24 files changed
+351
-187
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for the rendered sections of a themed page, served through the shared themed view.
|
||||
/// </summary>
|
||||
/// <param name="Content">The rendered HTML content of the page section.</param>
|
||||
/// <param name="Script">The rendered script element of the page section, when the template defines one.</param>
|
||||
/// <param name="AssetBase">The base URL of the theme assets, used to load the theme stylesheet of the page.</param>
|
||||
[DebuggerDisplay("Content length: {Content.Length}, Script length: {Script.Length}")]
|
||||
public sealed record ThemeViewDto(
|
||||
string Content,
|
||||
string Script,
|
||||
string AssetBase
|
||||
);
|
||||
Reference in new issue
Block a user