Skip to content

Commit

Permalink
Merge pull request #34 from contao-themes-net/feature/add-new-header-…
Browse files Browse the repository at this point in the history
…layout

add new header layout and update php version
  • Loading branch information
MDevster authored Nov 19, 2021
2 parents 7052861 + f3e86b5 commit e37dc75
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.7.0](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.7.0) – 2021-11-19

- [feature] add new header layout to show logo and navigation below each other
- [feature] php 8 support

## [1.6.0](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.6.0) – 2021-10-22

- [feature] megamenu
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"donate": "https://contao-themes.net/sponsoring.html"
},
"require": {
"php": "^5.6 || ^7.0",
"php": "^7.0 || ^8.0",
"contao/core-bundle": "^4.4",
"terminal42/contao-folderpage": "^2.0",
"pdir/contao-theme-helper-bundle": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Module/NatureThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class NatureThemeSetup extends \BackendModule
{
const VERSION = '1.6.0';
const VERSION = '1.7.0';

protected $strTemplate = 'be_naturetheme_setup';

Expand Down
28 changes: 28 additions & 0 deletions src/Resources/public/scss/parts/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -391,4 +391,32 @@
background: $navbar-dropdown-lvl4-background-color;
}
}

.header-block-layout {
&:not(.home) #header .inside {
padding-top: 160px;
}

.header-image .image_container {
height: 620px;
}

.mod_navigation.navbar {
display: block;
height: 160px;

.navbar-brand {
justify-content: center;

.navbar-item {
padding: 15px 0 10px;
}
}

.navbar-start {
justify-content: center;
padding: 0;
}
}
}
}
4 changes: 4 additions & 0 deletions src/templates/nature_theme_contao_demo_4.12.x_installtool.sql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/templates/nature_theme_contao_demo_4.9.x_installtool.sql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit e37dc75

Please sign in to comment.