create body reusable field

This commit is contained in:
isUnknown 2024-12-01 13:57:24 +01:00
parent 1b62fa7589
commit 9b1aeb5cd0
15 changed files with 143 additions and 147 deletions

View file

@ -3,7 +3,9 @@
bottom: 0; bottom: 0;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: var(--unit--horizontal); padding-bottom: 3px;
background-color: #000;
padding-bottom: 6px;
} }
[data-template="home"] #main-footer { [data-template="home"] #main-footer {
position: fixed; position: fixed;
@ -17,10 +19,8 @@
gap: calc(2 * var(--unit--horizontal)); gap: calc(2 * var(--unit--horizontal));
} }
#main-footer a { #main-footer button.open-nav {
text-shadow: 0 0 2px #000; transform: translateY(-1px);
-moz-text-shadow: 0 0 2px #000;
-webkit-text-shadow: 0 0 2px #000;
} }
@media screen and (min-width: 640px) { @media screen and (min-width: 640px) {
@ -29,8 +29,13 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
width: var(--body-padding); width: var(--body-padding);
background-color: transparent;
padding: var(--unit--vertical) var(--unit--horizontal);
} }
#main-footer ul { #main-footer ul {
display: block; display: block;
} }
#main-footer button.open-nav {
margin-bottom: var(--unit--vertical);
}
} }

View file

@ -43,7 +43,7 @@ main {
#main-header.minimized #inactuel { #main-header.minimized #inactuel {
margin-top: -20vw; margin-top: -20vw;
transform: translateX(-2px) translateY(-2px); transform: translateX(-1px) translateY(-1px);
} }
#main-header.minimized #inactuel:not([data-template="home"] *) { #main-header.minimized #inactuel:not([data-template="home"] *) {

View file

@ -23,7 +23,7 @@
}, },
"require": { "require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0", "php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"getkirby/cms": "^4.0" "getkirby/cms": "^4.5"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {

213
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "749a661738bcd5b9428c88a1da847bc7", "content-hash": "5b33cdf047ba4ad470d67345fb6997aa",
"packages": [ "packages": [
{ {
"name": "christian-riesen/base32", "name": "christian-riesen/base32",
@ -67,16 +67,16 @@
}, },
{ {
"name": "claviska/simpleimage", "name": "claviska/simpleimage",
"version": "4.0.6", "version": "4.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/claviska/SimpleImage.git", "url": "https://github.com/claviska/SimpleImage.git",
"reference": "969de5e61810ef91f6f83c475b192c4841367dfa" "reference": "dfbe53c01dae8467468ef2b817c09b786a7839d2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/claviska/SimpleImage/zipball/969de5e61810ef91f6f83c475b192c4841367dfa", "url": "https://api.github.com/repos/claviska/SimpleImage/zipball/dfbe53c01dae8467468ef2b817c09b786a7839d2",
"reference": "969de5e61810ef91f6f83c475b192c4841367dfa", "reference": "dfbe53c01dae8467468ef2b817c09b786a7839d2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -108,7 +108,7 @@
"description": "A PHP class that makes working with images as simple as possible.", "description": "A PHP class that makes working with images as simple as possible.",
"support": { "support": {
"issues": "https://github.com/claviska/SimpleImage/issues", "issues": "https://github.com/claviska/SimpleImage/issues",
"source": "https://github.com/claviska/SimpleImage/tree/4.0.6" "source": "https://github.com/claviska/SimpleImage/tree/4.2.0"
}, },
"funding": [ "funding": [
{ {
@ -116,28 +116,28 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-07-27T16:48:12+00:00" "time": "2024-04-15T16:07:16+00:00"
}, },
{ {
"name": "composer/semver", "name": "composer/semver",
"version": "3.4.0", "version": "3.4.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/semver.git", "url": "https://github.com/composer/semver.git",
"reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
"reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^5.3.2 || ^7.0 || ^8.0" "php": "^5.3.2 || ^7.0 || ^8.0"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^1.4", "phpstan/phpstan": "^1.11",
"symfony/phpunit-bridge": "^4.2 || ^5" "symfony/phpunit-bridge": "^3 || ^7"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -181,7 +181,7 @@
"support": { "support": {
"irc": "ircs://irc.libera.chat:6697/composer", "irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/semver/issues", "issues": "https://github.com/composer/semver/issues",
"source": "https://github.com/composer/semver/tree/3.4.0" "source": "https://github.com/composer/semver/tree/3.4.3"
}, },
"funding": [ "funding": [
{ {
@ -197,30 +197,30 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-08-31T09:50:34+00:00" "time": "2024-09-19T14:15:21+00:00"
}, },
{ {
"name": "filp/whoops", "name": "filp/whoops",
"version": "2.15.4", "version": "2.16.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filp/whoops.git", "url": "https://github.com/filp/whoops.git",
"reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" "reference": "befcdc0e5dce67252aa6322d82424be928214fa2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2",
"reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", "reference": "befcdc0e5dce67252aa6322d82424be928214fa2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^5.5.9 || ^7.0 || ^8.0", "php": "^7.1 || ^8.0",
"psr/log": "^1.0.1 || ^2.0 || ^3.0" "psr/log": "^1.0.1 || ^2.0 || ^3.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^0.9 || ^1.0", "mockery/mockery": "^1.0",
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3",
"symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" "symfony/var-dumper": "^4.0 || ^5.0"
}, },
"suggest": { "suggest": {
"symfony/var-dumper": "Pretty print complex values better with var-dumper available", "symfony/var-dumper": "Pretty print complex values better with var-dumper available",
@ -260,7 +260,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/filp/whoops/issues", "issues": "https://github.com/filp/whoops/issues",
"source": "https://github.com/filp/whoops/tree/2.15.4" "source": "https://github.com/filp/whoops/tree/2.16.0"
}, },
"funding": [ "funding": [
{ {
@ -268,26 +268,26 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-03T12:00:00+00:00" "time": "2024-09-25T12:00:00+00:00"
}, },
{ {
"name": "getkirby/cms", "name": "getkirby/cms",
"version": "4.1.2", "version": "4.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/getkirby/kirby.git", "url": "https://github.com/getkirby/kirby.git",
"reference": "6b7ac66c55ecac20d6b580ef01a667d1806d5c72" "reference": "94cc37ee7c3004ebb4950a53f14e1329ed4d28d3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/getkirby/kirby/zipball/6b7ac66c55ecac20d6b580ef01a667d1806d5c72", "url": "https://api.github.com/repos/getkirby/kirby/zipball/94cc37ee7c3004ebb4950a53f14e1329ed4d28d3",
"reference": "6b7ac66c55ecac20d6b580ef01a667d1806d5c72", "reference": "94cc37ee7c3004ebb4950a53f14e1329ed4d28d3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"christian-riesen/base32": "1.6.0", "christian-riesen/base32": "1.6.0",
"claviska/simpleimage": "4.0.6", "claviska/simpleimage": "4.2.0",
"composer/semver": "3.4.0", "composer/semver": "3.4.3",
"ext-ctype": "*", "ext-ctype": "*",
"ext-curl": "*", "ext-curl": "*",
"ext-dom": "*", "ext-dom": "*",
@ -299,15 +299,15 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-openssl": "*", "ext-openssl": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"filp/whoops": "2.15.4", "filp/whoops": "2.16.0",
"getkirby/composer-installer": "^1.2.1", "getkirby/composer-installer": "^1.2.1",
"laminas/laminas-escaper": "2.13.0", "laminas/laminas-escaper": "2.14.0",
"michelf/php-smartypants": "1.8.1", "michelf/php-smartypants": "1.8.1",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0", "php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"phpmailer/phpmailer": "6.9.1", "phpmailer/phpmailer": "6.9.2",
"symfony/polyfill-intl-idn": "1.28.0", "symfony/polyfill-intl-idn": "1.31.0",
"symfony/polyfill-mbstring": "1.28.0", "symfony/polyfill-mbstring": "1.31.0",
"symfony/yaml": "6.4.0" "symfony/yaml": "6.4.13"
}, },
"replace": { "replace": {
"symfony/polyfill-php72": "*" "symfony/polyfill-php72": "*"
@ -371,7 +371,7 @@
"type": "custom" "type": "custom"
} }
], ],
"time": "2024-03-06T11:38:42+00:00" "time": "2024-11-28T10:10:23+00:00"
}, },
{ {
"name": "getkirby/composer-installer", "name": "getkirby/composer-installer",
@ -422,33 +422,33 @@
}, },
{ {
"name": "laminas/laminas-escaper", "name": "laminas/laminas-escaper",
"version": "2.13.0", "version": "2.14.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laminas/laminas-escaper.git", "url": "https://github.com/laminas/laminas-escaper.git",
"reference": "af459883f4018d0f8a0c69c7a209daef3bf973ba" "reference": "0f7cb975f4443cf22f33408925c231225cfba8cb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/af459883f4018d0f8a0c69c7a209daef3bf973ba", "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/0f7cb975f4443cf22f33408925c231225cfba8cb",
"reference": "af459883f4018d0f8a0c69c7a209daef3bf973ba", "reference": "0f7cb975f4443cf22f33408925c231225cfba8cb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-ctype": "*", "ext-ctype": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0" "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
}, },
"conflict": { "conflict": {
"zendframework/zend-escaper": "*" "zendframework/zend-escaper": "*"
}, },
"require-dev": { "require-dev": {
"infection/infection": "^0.27.0", "infection/infection": "^0.27.9",
"laminas/laminas-coding-standard": "~2.5.0", "laminas/laminas-coding-standard": "~3.0.0",
"maglnet/composer-require-checker": "^3.8.0", "maglnet/composer-require-checker": "^3.8.0",
"phpunit/phpunit": "^9.6.7", "phpunit/phpunit": "^9.6.16",
"psalm/plugin-phpunit": "^0.18.4", "psalm/plugin-phpunit": "^0.19.0",
"vimeo/psalm": "^5.9" "vimeo/psalm": "^5.21.1"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -480,7 +480,7 @@
"type": "community_bridge" "type": "community_bridge"
} }
], ],
"time": "2023-10-10T08:35:13+00:00" "time": "2024-10-24T10:12:53+00:00"
}, },
{ {
"name": "league/color-extractor", "name": "league/color-extractor",
@ -599,16 +599,16 @@
}, },
{ {
"name": "phpmailer/phpmailer", "name": "phpmailer/phpmailer",
"version": "v6.9.1", "version": "v6.9.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git", "url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "039de174cd9c17a8389754d3b877a2ed22743e18" "reference": "a7b17b42fa4887c92146243f3d2f4ccb962af17c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/039de174cd9c17a8389754d3b877a2ed22743e18", "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a7b17b42fa4887c92146243f3d2f4ccb962af17c",
"reference": "039de174cd9c17a8389754d3b877a2ed22743e18", "reference": "a7b17b42fa4887c92146243f3d2f4ccb962af17c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -668,7 +668,7 @@
"description": "PHPMailer is a full-featured email creation and transfer class for PHP", "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": { "support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues", "issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.1" "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.9.2"
}, },
"funding": [ "funding": [
{ {
@ -676,20 +676,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-25T22:23:28+00:00" "time": "2024-10-09T10:07:50+00:00"
}, },
{ {
"name": "psr/log", "name": "psr/log",
"version": "3.0.0", "version": "3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/log.git", "url": "https://github.com/php-fig/log.git",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -724,22 +724,22 @@
"psr-3" "psr-3"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/log/tree/3.0.0" "source": "https://github.com/php-fig/log/tree/3.0.2"
}, },
"time": "2021-07-14T16:46:02+00:00" "time": "2024-09-11T13:17:53+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v3.4.0", "version": "v3.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git", "url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -748,7 +748,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.4-dev" "dev-main": "3.5-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@ -777,7 +777,7 @@
"description": "A generic function and convention to trigger deprecation notices", "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
}, },
"funding": [ "funding": [
{ {
@ -793,24 +793,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-05-23T14:45:45+00:00" "time": "2024-09-25T14:20:29+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
"version": "v1.29.0", "version": "v1.31.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git", "url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638",
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.2"
}, },
"provide": { "provide": {
"ext-ctype": "*" "ext-ctype": "*"
@ -856,7 +856,7 @@
"portable" "portable"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0"
}, },
"funding": [ "funding": [
{ {
@ -872,35 +872,31 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-01-29T20:11:03+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-idn", "name": "symfony/polyfill-intl-idn",
"version": "v1.28.0", "version": "v1.31.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git", "url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "ecaafce9f77234a6a449d29e49267ba10499116d" "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/ecaafce9f77234a6a449d29e49267ba10499116d", "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773",
"reference": "ecaafce9f77234a6a449d29e49267ba10499116d", "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1", "php": ">=7.2",
"symfony/polyfill-intl-normalizer": "^1.10", "symfony/polyfill-intl-normalizer": "^1.10"
"symfony/polyfill-php72": "^1.10"
}, },
"suggest": { "suggest": {
"ext-intl": "For best performance" "ext-intl": "For best performance"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "1.28-dev"
},
"thanks": { "thanks": {
"name": "symfony/polyfill", "name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill" "url": "https://github.com/symfony/polyfill"
@ -943,7 +939,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.28.0" "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0"
}, },
"funding": [ "funding": [
{ {
@ -959,24 +955,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-01-26T09:30:37+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-normalizer", "name": "symfony/polyfill-intl-normalizer",
"version": "v1.29.0", "version": "v1.31.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "bc45c394692b948b4d383a08d7753968bed9a83d" "reference": "3833d7255cc303546435cb650316bff708a1c75c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c",
"reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "reference": "3833d7255cc303546435cb650316bff708a1c75c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.2"
}, },
"suggest": { "suggest": {
"ext-intl": "For best performance" "ext-intl": "For best performance"
@ -1024,7 +1020,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0"
}, },
"funding": [ "funding": [
{ {
@ -1040,24 +1036,24 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-01-29T20:11:03+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
"version": "v1.28.0", "version": "v1.31.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "42292d99c55abe617799667f454222c54c60e229" "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
"reference": "42292d99c55abe617799667f454222c54c60e229", "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.2"
}, },
"provide": { "provide": {
"ext-mbstring": "*" "ext-mbstring": "*"
@ -1067,9 +1063,6 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "1.28-dev"
},
"thanks": { "thanks": {
"name": "symfony/polyfill", "name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill" "url": "https://github.com/symfony/polyfill"
@ -1107,7 +1100,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
}, },
"funding": [ "funding": [
{ {
@ -1123,20 +1116,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-07-28T09:04:16+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v6.4.0", "version": "v6.4.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "4f9237a1bb42455d609e6687d2613dde5b41a587" "reference": "e99b4e94d124b29ee4cf3140e1b537d2dad8cec9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/4f9237a1bb42455d609e6687d2613dde5b41a587", "url": "https://api.github.com/repos/symfony/yaml/zipball/e99b4e94d124b29ee4cf3140e1b537d2dad8cec9",
"reference": "4f9237a1bb42455d609e6687d2613dde5b41a587", "reference": "e99b4e94d124b29ee4cf3140e1b537d2dad8cec9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1179,7 +1172,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v6.4.0" "source": "https://github.com/symfony/yaml/tree/v6.4.13"
}, },
"funding": [ "funding": [
{ {
@ -1195,7 +1188,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-11-06T11:00:25+00:00" "time": "2024-09-25T14:18:03+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

View file

@ -0,0 +1,8 @@
label: Corps
type: writer
headings:
- 3
marks:
- bold
- italic
- link

View file

@ -9,8 +9,7 @@ tabs:
type: fields type: fields
fields: fields:
presentation: presentation:
label: Présentation extends: fields/body
type: writer
help: Optionnelle help: Optionnelle
texts: texts:
label: Textes label: Textes

View file

@ -15,6 +15,4 @@ tabs:
label: Corps label: Corps
type: fields type: fields
fields: fields:
body: body: fields/body
label: Corps
type: writer

View file

@ -17,8 +17,6 @@ tabs:
fields: fields:
chapo: chapo:
label: Chapo label: Chapo
type: writer extends: fields/body
body: body: fields/body
label: Corps
type: writer
metaTab: tabs/meta metaTab: tabs/meta

View file

@ -6,8 +6,7 @@ tabs:
- width: 1/1 - width: 1/1
fields: fields:
body: body:
label: Texte extends: fields/body
type: writer
- width: 1/2 - width: 1/2
fields: fields:
subscribers: subscribers:

View file

@ -9,6 +9,4 @@ tabs:
type: writer type: writer
nodes: false nodes: false
marks: false marks: false
edito: edito: fields/body
label: Éditorial
type: writer

View file

@ -6,7 +6,7 @@ $isOpen = isset($isOpen) ? $isOpen : false;
class="page-cover" class="page-cover"
> >
<div class="title-wrapper"> <div class="title-wrapper">
<a href="#main-content" class="no-underline"> <a href="#main-content" class="no-underline" class="voir le texte">
<?= $slots->title() ?> <?= $slots->title() ?>
</a> </a>
</div> </div>

View file

@ -1,5 +1,10 @@
<footer id="main-footer"> <footer id="main-footer">
<ul id="links"> <ul id="links">
<?php if (!$page->isHomePage()): ?>
<li>
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
</li>
<?php endif ?>
<?php if ($page->is(page('inscription'))): ?> <?php if ($page->is(page('inscription'))): ?>
<li> <li>
<a href="<?= $site->url() ?>"> <a href="<?= $site->url() ?>">

View file

@ -9,7 +9,7 @@
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2> <h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
<ul class="texts"> <ul class="texts">
<?php foreach($kirby->collection('categories') as $category): ?> <?php foreach($kirby->collection('categories') as $category): ?>
<?php if ($category['title'] == $page->title()->value()): ?> <?php if ($category->title() == $page->title()): ?>
<?php foreach($category['texts'] as $article): ?> <?php foreach($category['texts'] as $article): ?>
<li <li
class="text" class="text"

View file

@ -1,19 +1,12 @@
<?php snippet('header') ?> <?php snippet('header') ?>
<main id="<?= $page->template() ?>"> <main id="<?= $page->template() ?>">
<div id="entry-btns">
<button
class="entry-btn entry-btn--left toggle-btn toggle-btn--left"
onclick="togglePanel('left')"
>années</button>
<button
class="entry-btn entry-btn--right toggle-btn toggle-btn--right"
onclick="togglePanel('right')"
>categories</button>
</div>
<article> <article>
<div id="main-content"> <?php snippet('cover', array('isOpen' => true), slots: true) ?>
<?php slot('title') ?>
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
<?= $page->body() ?> <?= $page->body() ?>
</div> <?php endslot() ?>
<?php endsnippet() ?>
</article> </article>
</main> </main>

View file

@ -8,7 +8,7 @@
<span class="light">par</span> <span class="light">par</span>
<a class="author" href="/auteurs/<?= Str::slug($page->author()->toPage()->title()) ?>"><?= $page->author()->toPage()->title() ?></a><br> <a class="author" href="/auteurs/<?= Str::slug($page->author()->toPage()->title()) ?>"><?= $page->author()->toPage()->title() ?></a><br>
<span class="light">publié le </span><?= $page->published()->toDate('d/m/Y') ?><br> <span class="light">publié le </span><?= $page->published()->toDate('d/m/Y') ?><br>
<span class="light">dans</span> <a href="<?= $page->parent()->url() ?>"><?= $page->parent()->title() ?></a> / <a href="/categories/<?= $page->category() ?>"><?= $page->category() ?></a> <span class="light">dans</span> <a href="<?= $page->parent()->url() ?>" title="voir les textes liés à l'année <?= $page->parent()->title() ?>"><?= $page->parent()->title() ?></a> / <a href="/categories/<?= $page->category() ?>" title="voir les textes de la catégorie <?= $page->category() ?>"><?= $page->category() ?></a>
</p> </p>
<?php endslot() ?> <?php endslot() ?>
<?php endsnippet() ?> <?php endsnippet() ?>