Commit 5401d0a6 authored by okhin's avatar okhin 🚴

Creating the campaign page

parent c1510fd1
Pipeline #850 passed with stage
in 1 second
......@@ -115,6 +115,9 @@ class Main extends Controller {
}
function campaign($f3, $args) {
$arguments = Api::get_arguments();
$f3->set('arguments', $arguments);
$f3->set('block_content', 'campaign.html');
}
......
<div class="row">
<div class="container">
<h1 class="header center-on-smal-only">{{ _("Arguments") }}</h1>
<p class="light center-on-small-only">
{{ _("Those are arguments to help you during a call to a representative.") }}
<h1 class="header center">{{ _("Arguments") }}</h1>
<p class="light">
{{ _("Those are the arguments to help during a call to a erpresentative") }}
</p>
<ul class="collapsible popout" data-collapsible="accordions">
<repeat group="{{ @arguments }}" value="{{ @argument }}" counter="{{ @key }}">
......
<div class="section blue accent-4">
<div class="container">
<h1 class="blue-grey-text text-darken-4 bold center">{{ @organization.name }}</h1>
<p class="white-text">{{ @organization.description }}</p>
</div>
</div>
<div class="section blue accent-2">
<div class="container">
<h1 class="blue-grey-text text-darken-4 center bold">{{ @campaign.title }}</h1>
<p class="white-text">{{ @campaign.description }}</p>
</div>
</div>
<div class="section white">
<div class="container">
<include href="argumentation.html">
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment