Skip to content

Commit

Permalink
Add values information
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusKoppe committed Oct 7, 2019
1 parent e06f2ab commit 829c06d
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 12 deletions.
56 changes: 54 additions & 2 deletions App/Views/auth/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,60 @@
<?php endforeach; ?>
</ul>
<?php else: ?>
Nenhuma incrição confirmada até o momento. <br>
Por favor, contate o CA para efetuar o pagamento de sua inscrição.
<p> Nenhuma incrição confirmada até o momento. <br>
Por favor, contate o CA para efetuar o pagamento de sua inscrição.</p>
<div>
<div>
<p>Confira a tabela de preços da semana acâdemica!</p>
<table class="table table--lg table--bordered">
<tr class="bg-primary-light">
<th>Lote</th>
<?php if($user->isInternal()): ?>
<th>Estudante UFFS</th>
<?php else: ?>
<th>Visitante</th>
<?php endif; ?>
</tr>
<tr>
<td><b>1º lote</b></td>
<?php if($user->isInternal()): ?>
<td>R$ 5,00</td>
<?php else: ?>
<td>R$ 30,00</td>
<?php endif; ?>
</tr>
<tr>
<td><b>2º lote</b></td>
<?php if($user->isInternal()): ?>
<td>R$ 10,00</td>
<?php else: ?>
<td>R$ 35,00</td>
<?php endif; ?>
</tr>
<tr>
<td><b>No dia</b></td>
<?php if($user->isInternal()): ?>
<td>R$ 15,00</td>
<?php else: ?>
<td>R$ 40,00</td>
<?php endif; ?>
</tr>
</table>
</div>
</div>
<br>
<h2 class="title" scroll-sensitive="animate-top-down">Formas de pagamento</h2>
<div class="row">
<div class="col-lg-6">
<h3 class="title">Transferencia bancaria</h3>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Praesentium cum nulla laborum, sunt omnis temporibus nihil dolores</p>
</div>
<div class="col-lg-6">
<h3 class="title">Dinheiro</h3>
<p>Pagamento por dinheiro nas mãos de algum membro do CA. Para entrar com contato em o CA envie um e-mail para ... ou entre em contato pelas redes sociais:</p>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
Expand Down
58 changes: 51 additions & 7 deletions App/Views/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</div>
</section>

<section class="speakers section" id="speakers">
<!-- <section class="speakers section" id="speakers">
<div class="container">
<h2 class="speakers__title title" scroll-sensitive="animate-top-down">Palestrantes</h2>
<div class="spearkers__list">
Expand Down Expand Up @@ -113,13 +113,13 @@
</div>
</div>
</div>
</section>
</section> -->

<section class="programming section" id="programming">
<section class="programming section" id="programming">
<div class="container">
<h2 class="programming__title title" scroll-sensitive="animate-top-down">Programação</h2>
<h2 class="programming__title title" scroll-sensitive="animate-top-down">Programação</h2>

<?php foreach ($data['events'] as $event_per_day): ?>
<?php foreach ($data['events'] as $event_per_day): ?>
<?php $event_head = reset($event_per_day) ?>
<div class="programming-item">
<div class="row">
Expand Down Expand Up @@ -157,6 +157,50 @@
</div>

</div>
</div>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</section>

<section class="values section" id="values">
<div class="container">
<h2 class="values__title title" scroll-sensitive="animate-top-down">Valores</h2>
<div class="row justify-content-center">
<div class="col-lg-9">
<p>Confira a tabela de preços da semana acâdemica!</p>
<table class="table table--lg table--bordered">
<tr class="bg-primary-light">
<th>Lote</th>
<th>Estudante UFFS</th>
<th>Visitante</th>
</tr>
<tr>
<td><b>1º lote</b></td>
<td>R$ 5,00</td>
<td>R$ 30,00</td>
</tr>
<tr>
<td><b>2º lote</b></td>
<td>R$ 10,00</td>
<td>R$ 35,00</td>
</tr>
<tr>
<td><b>No dia</b></td>
<td>R$ 15,00</td>
<td>R$ 40,00</td>
</tr>
</table>
</div>
</div>
<h3 class="values__subtitle title" scroll-sensitive="animate-top-down">Formas de pagamento</h2>
<div class="row">
<div class="col-lg-6">
<h3 class="title text-center">Transferencia bancaria</h3>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Praesentium cum nulla laborum, sunt omnis temporibus nihil dolores</p>
</div>
<div class="col-lg-6">
<h3 class="title text-center">Dinheiro</h3>
<p>Pagamento por dinheiro nas mãos de algum membro do CA. Para entrar com contato em o CA envie um e-mail para ... ou entre em contato pelas redes sociais:</p>
</div>
</div>
</div>
</section>
7 changes: 5 additions & 2 deletions App/Views/layout/website/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/vendor/fontawesome/css/all.min.css") ?>">
<!-- index CSS -->
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/css/website/fonts.css") ?>">
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/css/website/table.css") ?>">
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/css/website/helpers.css") ?>">
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/css/website/index.css") ?>">
<link rel="stylesheet" href="<?= UtilsHelper::base_url("/css/website/card.css") ?>">
Expand Down Expand Up @@ -51,8 +52,9 @@
<div class="col-md-10 d-none d-md-block">
<nav class="navbar__menu">
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#about")?>">Sobre</a>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#speakers")?>">Palestrantes</a>
<!-- <a class="navbar__archor" href="<?= UtilsHelper::base_url("/#speakers")?>">Palestrantes</a> -->
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#programming")?>">Programação</a>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#values")?>">Valores</a>
<?php if ($_user): ?>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/perfil")?>">Perfil</a>
<?php else: ?>
Expand All @@ -71,8 +73,9 @@
<div class="menu-mobile">
<nav id="menu" class="menu-mobile__content">
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#about")?>">Sobre</a>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#speakers")?>">Palestrantes</a>
<!-- <a class="navbar__archor" href="<?= UtilsHelper::base_url("/#speakers")?>">Palestrantes</a> -->
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#programming")?>">Programação</a>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/#values")?>">Valores</a>
<?php if ($_user): ?>
<a class="navbar__archor" href="<?= UtilsHelper::base_url("/perfil")?>">Perfil</a>
<?php else: ?>
Expand Down
4 changes: 4 additions & 0 deletions public/css/website/helpers.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
color: #00693E !important;
}

.bg-primary-light {
background-color: rgba(0, 155, 62, .1);
}

.title.title--lg {
font-size: 50px;
}
16 changes: 15 additions & 1 deletion public/css/website/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
}

/* Section */
.speakers {
.speakers, .programming {
background-color: rgba(0, 105, 62, .1);
}

Expand Down Expand Up @@ -178,3 +178,17 @@
color: #00693c;
}

/* Values */
.values__title {
text-align: center;
color: #00693c;
font-size: 40px;
margin: .3em;
}

.values__subtitle {
text-align: center;
color: #00693c;
font-size: 32px;
margin: 1em 0 .5em 0;
}
4 changes: 4 additions & 0 deletions public/css/website/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
text-align: left;
}

.table--bordered td, .table--bordered th{
border: 1px solid #dee2e6;
}

.table--stripped > thead > tr,
.table--stripped > tbody > tr {
border: none;
Expand Down

0 comments on commit 829c06d

Please sign in to comment.