Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit b434e44

Browse files
Merge branch 'devel'
2 parents 6fcb427 + 4857ae1 commit b434e44

30 files changed

+1152
-523
lines changed

.github/workflows/deploy.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
ftp-deploy:
13+
name: FTP Deploy
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Get latest code
17+
uses: actions/checkout@v2
18+
19+
- name: Yarn Install
20+
uses: DerYeger/yarn-setup-action@master
21+
with:
22+
node-version: 14
23+
24+
- name: Yarn Build
25+
run: yarn build
26+
27+
- name: Upload files
28+
uses: SamKirkland/[email protected]
29+
with:
30+
server: ${{ secrets.FTP_SERVER }}
31+
username: ${{ secrets.FTP_USER }}
32+
password: ${{ secrets.FTP_PASSWORD }}
33+
server-dir: ${{ secrets.FTP_DIRECTORY }}
34+
exclude: |
35+
**/.git*
36+
**/.git*/**
37+
**/node_modules/**
38+
**/vendor/**

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog][Keep a Changelog] and this project adheres to [Semantic Versioning][Semantic Versioning].
55

6+
## [Unreleased]
7+
8+
### Added
9+
- Added a new Pattern Library page to test and showcase Bootstrap custom theme
10+
11+
### Changed
12+
- Redesigned Homepage
13+
- Updated Dev Dependencies
14+
615
## [0.28.0] - 2022-02-17
716

817
### Changed

bricks.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const config = {
4242
content: [
4343
'./**/*.php',
4444
'./src/js/**/*.js'
45+
],
46+
exclude: [
47+
'pattern-library.php'
4548
]
4649
},
4750

front-page.php

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,15 @@
22

33
<main id="content-wrapper">
44

5-
<section id="section-slider">
5+
<section id="section-hero" class="has-img-background" >
66

77
<?php
88

9-
$args = array(
10-
'post_type' => 'post',
11-
'posts_per_page' => 3,
12-
);
13-
14-
get_template_part( 'templates/sections/home', 'slider', $args );
9+
get_template_part( 'templates/sections/home', 'hero' );
1510

1611
?>
1712

18-
</section> <!-- #section-slider -->
13+
</section> <!-- #section-hero -->
1914

2015
<section id="section-services">
2116

@@ -32,20 +27,20 @@
3227

3328
</section> <!-- #section-services -->
3429

35-
<section id="section-cta">
30+
<section id="section-slider">
3631

3732
<?php
3833

3934
$args = array(
4035
'post_type' => 'post',
41-
'posts_per_page' => 1,
36+
'posts_per_page' => 3,
4237
);
4338

44-
get_template_part( 'templates/sections/home', 'cta', $args );
39+
get_template_part( 'templates/sections/home', 'slider', $args );
4540

4641
?>
4742

48-
</section> <!-- #section-news -->
43+
</section> <!-- #section-slider -->
4944

5045
<section id="section-news">
5146

@@ -61,6 +56,21 @@
6156
?>
6257

6358
</section> <!-- #section-news -->
59+
60+
<section id="section-cta">
61+
62+
<?php
63+
64+
$args = array(
65+
'post_type' => 'post',
66+
'posts_per_page' => 1,
67+
);
68+
69+
get_template_part( 'templates/sections/home', 'cta', $args );
70+
71+
?>
72+
73+
</section> <!-- #section-cta -->
6474

6575
</main> <!-- #content-wrapper -->
6676

gulpfile.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function css () {
6969
}))
7070
.pipe(production(gulpif(config.enable.purgecss, purgecss({
7171
content: config.css.content,
72+
skippedContentGlobs: config.css.exclude,
7273
safelist: config.cssSafelist
7374
}))))
7475
.pipe(production(cleancss()))

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<?php
1515
if ( is_home() ) {
1616

17-
bloginfo( 'description' );
17+
echo esc_html( get_the_title( get_option( 'page_for_posts', true ) ) );
1818

1919
} elseif ( is_search() ) {
2020

languages/cs_CZ.mo

2 Bytes
Binary file not shown.

languages/cs_CZ.po

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
msgid ""
44
msgstr ""
55
"Project-Id-Version: bricks\n"
6-
"MIME-Version: 1.0\n"
7-
"Content-Type: text/plain; charset=UTF-8\n"
8-
"Content-Transfer-Encoding: 8bit\n"
9-
"X-Poedit-Basepath: ..\n"
10-
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
11-
"X-Poedit-SourceCharset: UTF-8\n"
12-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
136
"POT-Creation-Date: \n"
147
"PO-Revision-Date: \n"
158
"Last-Translator: Tomáš Branda\n"
169
"Language-Team: \n"
1710
"Language: cs_CZ\n"
18-
"X-Generator: Poedit 3.0\n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: 8bit\n"
14+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
15+
"X-Poedit-Basepath: ..\n"
16+
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;"
17+
"_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
18+
"esc_html_e;esc_html_x:1,2c\n"
19+
"X-Poedit-SourceCharset: UTF-8\n"
20+
"X-Generator: Poedit 3.0.1\n"
1921
"X-Poedit-SearchPath-0: .\n"
2022
"X-Poedit-SearchPathExcluded-0: *.js\n"
2123

@@ -67,6 +69,10 @@ msgstr "&laquo; Předchozí"
6769
msgid "Next &raquo;"
6870
msgstr "Další &raquo;"
6971

72+
#: pattern-library.php:3
73+
msgid "Pattern Library"
74+
msgstr ""
75+
7076
#: searchform.php:3
7177
msgid "Search"
7278
msgstr "Vyhledat"
@@ -149,8 +155,12 @@ msgid "Social profiles"
149155
msgstr "Profily na sociálních sítích"
150156

151157
#: functions/integrations/acf.php:155
152-
msgid "Full social profile addresses. Not all fields are required, only filled fields will be displayed on the site as icons"
153-
msgstr "Plné adresy k profilům na sociálních sítích. Všechna pole nejsou vyžadovaná, pouze vyplněná pole budou zobrazená na stránce v podobě ikon"
158+
msgid ""
159+
"Full social profile addresses. Not all fields are required, only filled "
160+
"fields will be displayed on the site as icons"
161+
msgstr ""
162+
"Plné adresy k profilům na sociálních sítích. Všechna pole nejsou vyžadovaná, "
163+
"pouze vyplněná pole budou zobrazená na stránce v podobě ikon"
154164

155165
#: functions/integrations/acf.php:248, functions/integrations/acf.php:252
156166
msgid "Meta"
@@ -169,13 +179,25 @@ msgstr "Barva karty v prohlížeči Chrome pro Android"
169179
msgid "Add a menu"
170180
msgstr "Přidat menu"
171181

182+
#: templates/components/backtotop.php:1
183+
msgid "Back to top"
184+
msgstr ""
185+
172186
#: templates/content/loop-none.php:10
173-
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
174-
msgstr "Vypadá to, že se nám nepodařilo najít, co hledáte. Možná vyhledávání by mohlo pomoci."
187+
msgid ""
188+
"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps "
189+
"searching can help."
190+
msgstr ""
191+
"Vypadá to, že se nám nepodařilo najít, co hledáte. Možná vyhledávání by "
192+
"mohlo pomoci."
175193

176194
#: templates/content/loop-none.php:6
177-
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
178-
msgstr "Omlouváme se, ale vašim vyhledávacím výrazům nic neodpovídá. Zkuste to prosím znovu s jinými klíčovými slovy."
195+
msgid ""
196+
"Sorry, but nothing matched your search terms. Please try again with some "
197+
"different keywords."
198+
msgstr ""
199+
"Omlouváme se, ale vašim vyhledávacím výrazům nic neodpovídá. Zkuste to "
200+
"prosím znovu s jinými klíčovými slovy."
179201

180202
#: templates/content/page.php:22, templates/content/single.php:18
181203
msgid "Part:"

languages/de_DE.mo

2 Bytes
Binary file not shown.

languages/de_DE.po

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
msgid ""
44
msgstr ""
55
"Project-Id-Version: bricks\n"
6+
"POT-Creation-Date: \n"
7+
"PO-Revision-Date: \n"
8+
"Last-Translator: \n"
9+
"Language-Team: \n"
10+
"Language: de_DE\n"
611
"MIME-Version: 1.0\n"
712
"Content-Type: text/plain; charset=UTF-8\n"
813
"Content-Transfer-Encoding: 8bit\n"
14+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
915
"X-Poedit-Basepath: ..\n"
1016
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;"
1117
"_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
1218
"esc_html_e;esc_html_x:1,2c\n"
1319
"X-Poedit-SourceCharset: UTF-8\n"
14-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
15-
"POT-Creation-Date: \n"
16-
"PO-Revision-Date: \n"
17-
"Language-Team: \n"
18-
"X-Generator: Poedit 3.0\n"
19-
"Last-Translator: \n"
20-
"Language: de_DE\n"
20+
"X-Generator: Poedit 3.0.1\n"
2121
"X-Poedit-SearchPath-0: .\n"
2222
"X-Poedit-SearchPathExcluded-0: *.js\n"
2323

@@ -69,6 +69,10 @@ msgstr "&laquo; Zurück"
6969
msgid "Next &raquo;"
7070
msgstr "Weiter &raquo;"
7171

72+
#: pattern-library.php:3
73+
msgid "Pattern Library"
74+
msgstr ""
75+
7276
#: searchform.php:3
7377
msgid "Search"
7478
msgstr "Suche"
@@ -175,6 +179,10 @@ msgstr "Tab-Farbe in Chrome für Android"
175179
msgid "Add a menu"
176180
msgstr "Menü hinzufügen"
177181

182+
#: templates/components/backtotop.php:1
183+
msgid "Back to top"
184+
msgstr ""
185+
178186
#: templates/content/loop-none.php:10
179187
msgid ""
180188
"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps "

0 commit comments

Comments
 (0)