@model BCards.Web.Models.UserPage @{ var seo = ViewBag.SeoSettings as BCards.Web.Models.SeoSettings; var category = ViewBag.Category as BCards.Web.Models.Category; var isPreview = ViewBag.IsPreview as bool? ?? false; ViewData["Title"] = seo?.Title ?? $"{Model.DisplayName} - {category?.Name}"; Layout = isPreview ? "_Layout" : "_UserPageLayout"; } @if (!isPreview) { @section Styles { } }
@if (!string.IsNullOrEmpty(Model.ProfileImage)) { @Model.DisplayName } else {
👤
}

@Model.DisplayName

@if (!string.IsNullOrEmpty(Model.Bio)) {

@Model.Bio

}
@if (isPreview) {
MODO PREVIEW - Esta é uma prévia da sua página
} @section Scripts { }