Add custom content on fullpic component

This commit is contained in:
Dita Aji Pratama 2025-06-04 18:05:50 +07:00
parent bf206acad8
commit 71344fa144
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class main:
Template(params["mako"]["website"]['fullpic']).render(
title="Hello World",
message="Welcome to CostaPy",
content="",
image="https://picsum.photos/1600/900",
height="calc(100vh - 56px)", # navbar height = 56px
navbar=True

View File

@ -2,5 +2,6 @@
<div class="text-center">
<h1 class="text-white h1 fw-bolder">${title}</h1>
<p class="text-white-50 mb-0">${message}</p>
${content}
</div>
</header>