Skip to content

Commit

Permalink
Merge pull request #23 from mjamilasfihani/development
Browse files Browse the repository at this point in the history
Final Release v1.3.0
  • Loading branch information
mjamilasfihani authored Jul 10, 2021
2 parents 4a9a309 + 8597a9f commit d796c86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
21 changes: 4 additions & 17 deletions app/Controllers/Landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,10 @@ protected function __render(string $name = '', array $data = [], array $options
// Calling the library
$template = new \App\Libraries\AssetsLoader();

// A little Body conguration
$template->body([
'attributes' => ['id' => 'landing-page'],
'preload' => true
]);

// A little Html configuration
$template->html([
'language' => 'en',
'title' => 'Coming Soon'
]);

// A little Meta configuration
$template->meta([
'author' => 'Website Developer',
'description' => 'Thank you for visiting our website, currently this website is coming soon.'
]);
// A little conguration
$template->body(['preload' => true]);
$template->html(['title' => 'Coming Soon']);
$template->meta(['description' => 'Thank you for visiting our website, currently this website is coming soon.']);

// Render it
return $template->render(view($name, $data, $options));
Expand Down
2 changes: 1 addition & 1 deletion app/Libraries/AssetsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class AssetsLoader
*
* @var const VERSION
*/
const VERSION = '1.2.0';
const VERSION = '1.3.0';

/**
* Default CSS
Expand Down
2 changes: 1 addition & 1 deletion app/Views/_landing_message.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="my-4 py-4 mx-auto text-center"><h3><?= $text ?></h3><p>Rendered in {elapsed_time} seconds.</p></div>
<div class="my-4 py-4 mx-auto text-center"><h3><?= $text ?></h3><p>Rendered in {elapsed_time} seconds.</p></div>

0 comments on commit d796c86

Please sign in to comment.