Created
May 19, 2018 02:07
-
-
Save hissy/46d8e2a3dad847a64fa6d9bec32f6ea8 to your computer and use it in GitHub Desktop.
#concrete5 Minimum Foundation6 Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- Compressed CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css" integrity="sha256-GSio8qamaXapM8Fq9JYdGNTvk/dgs+cMLgPeevOYEx0= sha384-wAweiGTn38CY2DSwAaEffed6iMeflc0FMiuptanbN4J+ib+342gKGpvYRWubPd/+ sha512-QHEb6jOC8SaGTmYmGU19u2FhIfeG+t/hSacIWPpDzOp5yygnthL3JwnilM7LM1dOAbJv62R+/FICfsrKUqv4Gg==" crossorigin="anonymous"> | |
<?php | |
View::element('header_required', [ | |
'pageTitle' => isset($pageTitle) ? $pageTitle : '', | |
'pageDescription' => isset($pageDescription) ? $pageDescription : '', | |
'pageMetaKeywords' => isset($pageMetaKeywords) ? $pageMetaKeywords : '' | |
]); | |
?> | |
</head> | |
<body> | |
<div class="<?php echo $c->getPageWrapperClass()?>"> | |
<?php | |
$a = new Area('Main'); | |
$a->enableGridContainer(); | |
$a->display($c); | |
?> | |
</div> | |
<!-- Compressed JavaScript --> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js" integrity="sha256-mRYlCu5EG+ouD07WxLF8v4ZAZYCA6WrmdIXyn1Bv9Vk= sha384-KzKofw4qqetd3kvuQ5AdapWPqV1ZI+CnfyfEwZQgPk8poOLWaabfgJOfmW7uI+AV sha512-0gHfaMkY+Do568TgjJC2iMAV0dQlY4NqbeZ4pr9lVUTXQzKu8qceyd6wg/3Uql9qA2+3X5NHv3IMb05wb387rA==" crossorigin="anonymous"></script> | |
<?php View::element('footer_required'); ?> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Theme\Foundation6; | |
use Concrete\Core\Area\Layout\Preset\Provider\ThemeProviderInterface; | |
use Concrete\Core\Page\Theme\Theme; | |
class PageTheme extends Theme implements ThemeProviderInterface | |
{ | |
protected $pThemeGridFrameworkHandle = 'foundation6'; | |
public function getThemeName() | |
{ | |
return t('Foundation 6'); | |
} | |
public function getThemeDescription() | |
{ | |
return t('An example theme with Foundation 6'); | |
} | |
public function getThemeAreaLayoutPresets() | |
{ | |
return []; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment