Skip to content

Commit

Permalink
[FEATURE] Convert to sitepackage distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft committed Aug 31, 2021
1 parent a8d733a commit f962350
Show file tree
Hide file tree
Showing 8 changed files with 621 additions and 125 deletions.
20 changes: 20 additions & 0 deletions Configuration/TCA/Overrides/100_sys_template.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/*
* This file is part of the package bk2k/bootstrap-package.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

defined('TYPO3') || die();

/***************
* TypoScript: Sitepackage
* This includes the full setup including all configurations
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'introduction',
'Configuration/TypoScript',
'Introduction: Sitepackage'
);
29 changes: 29 additions & 0 deletions Configuration/TypoScript/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
######################
#### DEPENDENCIES ####
######################
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_package/Configuration/TypoScript/constants.typoscript">

############
### PAGE ###
############
[tree.level === 0]
page.theme.navigation.style = default-transition
[end]

page.theme.navigation.type = top
page.theme.meta.enable = 0
page.logo.file = EXT:bootstrap_package/Resources/Public/Images/introduction-package.svg
page.logo.fileInverted = EXT:bootstrap_package/Resources/Public/Images/introduction-package-inverted.svg
page.theme.socialmedia.channels.facebook.url = https://www.facebook.com/typo3/
page.theme.socialmedia.channels.twitter.url = https://twitter.com/typo3
page.theme.socialmedia.channels.github.url = https://github.com/TYPO3/typo3
page.theme.socialmedia.channels.youtube.url = https://www.youtube.com/user/typo3
page.theme.cookieconsent.position = bottom-right
page.preloader.backgroundColor = #03A9F4
page.preloader.logo.file = EXT:bootstrap_package/Resources/Public/Images/introduction-package-inverted.svg

plugin.bootstrap_package.settings.scss.primary = #0288D1
plugin.bootstrap_package.settings.scss.secondary = #FFEB3B
plugin.bootstrap_package.settings.scss.breadcrumb-bg = #FFEB3B
plugin.bootstrap_package.settings.scss.cookieconsent-bg = #F2F2F2
plugin.bootstrap_package.settings.scss.footer-sections = (content:(background: #0288D1, color: #ffffff, link-color: #FFEB3B), meta:(background: #ffffff, color: $body-color, link-color: #0288D1))
Loading

0 comments on commit f962350

Please sign in to comment.