Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all repo to contribute page #364

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/Config/GitHub.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ class GitHub extends BaseConfig
'translations4' => ['codeigniter4', 'translations'],
'website3' => ['bcit-ci', 'codeigniter-website'],
'website4' => ['codeigniter4projects', 'website'],
'shield' => ['codeigniter4', 'shield'],
'settings' => ['codeigniter4', 'settings'],
'tasks' => ['codeigniter4', 'tasks'],
'cache' => ['codeigniter4', 'cache'],
'devkit' => ['codeigniter4', 'devkit'],
];

/**
Expand Down
119 changes: 81 additions & 38 deletions app/Views/contribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<section id="content-outer">
<div id="content-inner">
<div id="contribute-heart-holder">
<img src="/assets/icons/heart.png" id="contribute-heart" alt="heart icon"/>
<img src="/assets/icons/heart.png" id="contribute-heart" alt="heart icon">
<p>Contribute to CodeIgniter</p>
</div><!--heart ends here-->

Expand Down Expand Up @@ -160,74 +160,117 @@

<div class="clr"></div>

<?php if (isset($contributors)): ?>
<?php if (isset($contributors)) : ?>

<div class="inner-page-text-box">
<div class="inner-page-text-box-title">Acknowledging Our Top Contributors</div>
<div class="clr"></div>
<div class="inner-page-text-box">
<div class="inner-page-text-box-title">Acknowledging Our Top Contributors</div>
<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4</div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4</div>

<?= $this->setData(['heroes' => $contributors['codeigniter4']])->include('layouts/_heroes') ?>
<?= $this->setData(['heroes' => $contributors['codeigniter4']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->
</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>
<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 Translations</div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 Translations</div>

<?= $this->setData(['heroes' => $contributors['translations4']])->include('layouts/_heroes') ?>
<?= $this->setData(['heroes' => $contributors['translations4']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->
</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>
<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 3</div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 3</div>

<?= $this->setData(['heroes' => $contributors['framework3']])->include('layouts/_heroes') ?>
<?= $this->setData(['heroes' => $contributors['framework3']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->
</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>
<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 3 Translations</div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 3 Translations</div>

<?= $this->setData(['heroes' => $contributors['translations3']])->include('layouts/_heroes') ?>
<?= $this->setData(['heroes' => $contributors['translations3']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->
</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>
<div class="clr"></div>

<div class="clr"></div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">our Website</div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">our Website</div>
<?= $this->setData(['heroes' => $contributors['website4']])->include('layouts/_heroes') ?>

<?= $this->setData(['heroes' => $contributors['website4']])->include('layouts/_heroes') ?>
</div><!--inner-page-text-sub-box ends here-->

</div><!--inner-page-text-sub-box ends here-->
<div class="clr"></div>

<div class="clr"></div>
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">our Old Website</div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">our Old Website</div>
<?= $this->setData(['heroes' => $contributors['website3']])->include('layouts/_heroes') ?>

<?= $this->setData(['heroes' => $contributors['website3']])->include('layouts/_heroes') ?>
</div><!--inner-page-text-sub-box ends here-->

</div><!--inner-page-text-sub-box ends here-->
<div class="clr"></div>

</div><!--inner-page-text-box ende-->
<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 Shield</div>

<?= $this->setData(['heroes' => $contributors['shield']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->

<?php endif; ?>
<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 Settings</div>

<?= $this->setData(['heroes' => $contributors['settings']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 Tasks</div>

<?= $this->setData(['heroes' => $contributors['tasks']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 PSR Cache</div>

<?= $this->setData(['heroes' => $contributors['cache']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->

<div class="clr"></div>

<div class="inner-page-text-sub-box">
<div class="inner-page-text-sub-box-title">CodeIgniter 4 DevKit</div>

<?= $this->setData(['heroes' => $contributors['devkit']])->include('layouts/_heroes') ?>

</div><!--inner-page-text-sub-box ends here-->

</div><!--inner-page-text-box ende-->

<?php endif; ?>

</div><!--content-inner ends here-->
</section><!--section ende-->


<div class="clr"></div>
<div class="clr"></div>

<?= $this->endSection() ?>