Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Binary file added code/site/.DS_Store
Binary file not shown.
46 changes: 46 additions & 0 deletions code/site/joomlatools-pages/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php

//Load server environment
if(isset($_SERVER['HOME']) && file_exists($_SERVER['HOME'].'/private_html/.env.'.getenv('SITE')))
{
$dotenv = new Symfony\Component\Dotenv\Dotenv();
$dotenv->usePutenv()->load($_SERVER['HOME'].'/private_html/.env.'.getenv('SITE'));
}

return array(

// Site
'site' => [
'body_class' => 'h-full',
'main_color' => '#00adef',
'name' => 'Joomlatools Pages',
],

// Page
'page' => [

'metadata' => [
'summary' => '',
'og:site_name' => '',
'og:url' => '',
'og:title' => '',
'og:description'=> '',
'og:image' => '',
'twitter:site' => '',
'twitter:card' => '',
'fb:admins' => '',
],

'visible' => true,
'published' => true,
],

'aliases' => [
'theme://' => getenv('SITE') ? '/theme/' : '/joomlatools-pages/theme/',
'images://' => getenv('SITE') ? '/images/' : '/joomlatools-pages/images/',
],

// Google Analytics
'ga_code' => getenv('SITE') ? '' : '',

);
Binary file added code/site/joomlatools-pages/images/agrea.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/algorithms.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/carol.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/christmas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/html2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/johan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/joomla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/mambo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/phposors.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/images/treat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added code/site/joomlatools-pages/layouts/.DS_Store
Binary file not shown.
53 changes: 53 additions & 0 deletions code/site/joomlatools-pages/layouts/index.html.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8"/>
<base href="<?= url(); ?>" />

<ktml:title>
<ktml:meta>
<ktml:link>
<ktml:style>

<title><?= title() ?></title>


<link rel="preconnect" href="https://unpkg.com/" />
<ktml:style src="https://unpkg.com/[email protected]/dist/reveal.css" rel="preload" as="style"/>
<ktml:style src="https://unpkg.com/[email protected]/plugin/highlight/monokai.css" rel="preload" as="style"/>

<ktml:style src="theme://css/fonts.css" media="print" onload="this.media='all'; this.onload=null;" />
<ktml:style src="theme://css/output.min.css" rel="preload" as="style" />

<style type="text/css" media="screen">
.slides section.has-dark-background,
.slides section.has-dark-background h3 {
color: #fff;
}
.slides section.has-light-background,
.slides section.has-light-background h3 {
color: #222;
}
</style>
</head>

<body>

<ktml:content>

<ktml:script>
<script src="https://unpkg.com/[email protected]/dist/reveal.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/notes/notes.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/highlight/highlight.js"></script>
<script>
// See https://revealjs.com/config/ for a full list of configuration options
Reveal.initialize({
center: true,
history: true,
plugins: [ RevealHighlight, RevealNotes ]
});
</script>

</body>
</html>
Binary file added code/site/joomlatools-pages/pages/.DS_Store
Binary file not shown.
Loading