Skip to content
Snippets Groups Projects
Commit 1b53318d authored by Raghav's avatar Raghav
Browse files

Intro card separated to calltoaction.php

parent 47dc23da
No related branches found
No related tags found
No related merge requests found
Pipeline #6829 canceled
<section class="py-5 text-center container">
<div class="row py-lg-5">
<div class="col-lg-6 col-md-8 mx-auto">
<h1 class="fw-light">Album example</h1>
<p class="lead text-body-secondary">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
<p>
<a href="#" class="btn btn-primary my-2">Main call to action</a>
<a href="#" class="btn btn-secondary my-2">Secondary action</a>
</p>
</div>
</div>
</section>
\ No newline at end of file
...@@ -182,18 +182,8 @@ include 'libs/load.php'; ...@@ -182,18 +182,8 @@ include 'libs/load.php';
<main> <main>
<section class="py-5 text-center container"> <!-- To load Welcome card (calltoaction.php) from template folder -->
<div class="row py-lg-5"> <?load_template('calltoaction');?>
<div class="col-lg-6 col-md-8 mx-auto">
<h1 class="fw-light">Album example</h1>
<p class="lead text-body-secondary">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
<p>
<a href="#" class="btn btn-primary my-2">Main call to action</a>
<a href="#" class="btn btn-secondary my-2">Secondary action</a>
</p>
</div>
</div>
</section>
<div class="album py-5 bg-body-tertiary"> <div class="album py-5 bg-body-tertiary">
<div class="container"> <div class="container">
......
<?php <?php
function load_template($name){ function load_template($name){
print("including ". __DIR__."../_templates/$name.php");
include __DIR__. "/../_templates/$name.php"; include __DIR__. "/../_templates/$name.php";
} }
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment