Compare commits
No commits in common. "29701cc05855a3e64bfed764a0a5e943dbc5cc15" and "d93e1aa544d7c49d40117e72530bdeb7c6a434d0" have entirely different histories.
29701cc058
...
d93e1aa544
@ -25,15 +25,7 @@ class main:
|
|||||||
active_page = active_page
|
active_page = active_page
|
||||||
),
|
),
|
||||||
components = {
|
components = {
|
||||||
"before" : [
|
"before" : [],
|
||||||
Template(params["mako"]["website"]['fullpic']).render(
|
|
||||||
title="Hello World",
|
|
||||||
message="Welcome to CostaPy",
|
|
||||||
image="https://picsum.photos/1600/900",
|
|
||||||
height="calc(100vh - 56px)", # navbar height = 56px
|
|
||||||
navbar=True
|
|
||||||
)
|
|
||||||
],
|
|
||||||
"after" : []
|
"after" : []
|
||||||
},
|
},
|
||||||
footer = Template(params["mako"]["website"]['footer']).render(
|
footer = Template(params["mako"]["website"]['footer']).render(
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<header class="py-5 d-flex align-items-center justify-content-center" style="background-image: url('${image}'); height:${height}; margin-top:${'56px' if navbar else '0'}; ">
|
|
||||||
<div class="text-center">
|
|
||||||
<h1 class="text-white h1 fw-bolder">${title}</h1>
|
|
||||||
<p class="text-white-50 mb-0">${message}</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
@ -15,7 +15,6 @@ def main(dir, page):
|
|||||||
"index" : html_template [ "index.html" ],
|
"index" : html_template [ "index.html" ],
|
||||||
"navbar" : html_template [ "navbar.html" ],
|
"navbar" : html_template [ "navbar.html" ],
|
||||||
"footer" : html_template [ "footer.html" ],
|
"footer" : html_template [ "footer.html" ],
|
||||||
"fullpic" : html_components [ "fullpic.html" ],
|
|
||||||
"header" : html_components [ "header.html" ],
|
"header" : html_components [ "header.html" ],
|
||||||
"features" : html_components [ "features.html" ],
|
"features" : html_components [ "features.html" ],
|
||||||
"testimonial" : html_components [ "testimonial.html" ],
|
"testimonial" : html_components [ "testimonial.html" ],
|
||||||
|
Loading…
Reference in New Issue
Block a user