1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 06:07:31 +02:00

Landingpage template for Cyanine

This commit is contained in:
trendschau
2024-05-24 10:54:30 +02:00
parent 651b2242d6
commit eeb5a9bfcb
6 changed files with 153 additions and 56 deletions

99
composer.lock generated
View File

@@ -828,20 +828,20 @@
},
{
"name": "psr/http-factory",
"version": "1.0.2",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "e616d01114759c4c489f93b099585439f795fe35"
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"php": ">=7.1",
"psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
@@ -865,7 +865,7 @@
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
"description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
"keywords": [
"factory",
"http",
@@ -877,9 +877,9 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
"source": "https://github.com/php-fig/http-factory"
},
"time": "2023-04-10T20:10:41+00:00"
"time": "2024-04-15T12:06:14+00:00"
},
{
"name": "psr/http-message",
@@ -1451,31 +1451,31 @@
},
{
"name": "slim/twig-view",
"version": "3.3.0",
"version": "3.4.0",
"source": {
"type": "git",
"url": "https://github.com/slimphp/Twig-View.git",
"reference": "df6dd6af6bbe28041be49c9fb8470c2e9b70cd98"
"reference": "1b351536b9a07ed90a3563ee9d71a987c5d74610"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/slimphp/Twig-View/zipball/df6dd6af6bbe28041be49c9fb8470c2e9b70cd98",
"reference": "df6dd6af6bbe28041be49c9fb8470c2e9b70cd98",
"url": "https://api.github.com/repos/slimphp/Twig-View/zipball/1b351536b9a07ed90a3563ee9d71a987c5d74610",
"reference": "1b351536b9a07ed90a3563ee9d71a987c5d74610",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"psr/http-message": "^1.0",
"slim/slim": "^4.9",
"symfony/polyfill-php81": "^1.23",
"twig/twig": "^3.3"
"psr/http-message": "^1.1 || ^2.0",
"slim/slim": "^4.12",
"symfony/polyfill-php81": "^1.29",
"twig/twig": "^3.8"
},
"require-dev": {
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.3.0",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.10.59",
"phpunit/phpunit": "^9.6",
"psr/http-factory": "^1.0",
"squizlabs/php_codesniffer": "^3.6"
"squizlabs/php_codesniffer": "^3.9"
},
"type": "library",
"autoload": {
@@ -1510,9 +1510,9 @@
],
"support": {
"issues": "https://github.com/slimphp/Twig-View/issues",
"source": "https://github.com/slimphp/Twig-View/tree/3.3.0"
"source": "https://github.com/slimphp/Twig-View/tree/3.4.0"
},
"time": "2022-01-02T05:14:45+00:00"
"time": "2024-04-28T20:36:39+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -1583,16 +1583,16 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v5.4.35",
"version": "v5.4.39",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "7a69a85c7ea5bdd1e875806a99c51a87d3a74b38"
"reference": "d40fae9fd85c762b6ba378152fdd1157a85d7e4f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7a69a85c7ea5bdd1e875806a99c51a87d3a74b38",
"reference": "7a69a85c7ea5bdd1e875806a99c51a87d3a74b38",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d40fae9fd85c762b6ba378152fdd1157a85d7e4f",
"reference": "d40fae9fd85c762b6ba378152fdd1157a85d7e4f",
"shasum": ""
},
"require": {
@@ -1648,7 +1648,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.35"
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.39"
},
"funding": [
{
@@ -1664,7 +1664,7 @@
"type": "tidelift"
}
],
"time": "2024-01-23T13:51:25+00:00"
"time": "2024-04-18T08:26:06+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -1747,16 +1747,16 @@
},
{
"name": "symfony/finder",
"version": "v5.4.35",
"version": "v5.4.39",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435"
"reference": "f6a96e4fcd468a25fede16ee665f50ced856bd0a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/abe6d6f77d9465fed3cd2d029b29d03b56b56435",
"reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435",
"url": "https://api.github.com/repos/symfony/finder/zipball/f6a96e4fcd468a25fede16ee665f50ced856bd0a",
"reference": "f6a96e4fcd468a25fede16ee665f50ced856bd0a",
"shasum": ""
},
"require": {
@@ -1790,7 +1790,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v5.4.35"
"source": "https://github.com/symfony/finder/tree/v5.4.39"
},
"funding": [
{
@@ -1806,7 +1806,7 @@
"type": "tidelift"
}
],
"time": "2024-01-23T13:51:25+00:00"
"time": "2024-04-18T08:26:06+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -2125,16 +2125,16 @@
},
{
"name": "symfony/yaml",
"version": "v5.4.35",
"version": "v5.4.39",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "e78db7f5c70a21f0417a31f414c4a95fe76c07e4"
"reference": "bc780e16879000f77a1022163c052f5323b5e640"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/e78db7f5c70a21f0417a31f414c4a95fe76c07e4",
"reference": "e78db7f5c70a21f0417a31f414c4a95fe76c07e4",
"url": "https://api.github.com/repos/symfony/yaml/zipball/bc780e16879000f77a1022163c052f5323b5e640",
"reference": "bc780e16879000f77a1022163c052f5323b5e640",
"shasum": ""
},
"require": {
@@ -2180,7 +2180,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v5.4.35"
"source": "https://github.com/symfony/yaml/tree/v5.4.39"
},
"funding": [
{
@@ -2196,34 +2196,41 @@
"type": "tidelift"
}
],
"time": "2024-01-23T13:51:25+00:00"
"time": "2024-04-23T11:57:27+00:00"
},
{
"name": "twig/twig",
"version": "v3.8.0",
"version": "v3.10.3",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d"
"reference": "67f29781ffafa520b0bbfbd8384674b42db04572"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/9d15f0ac07f44dc4217883ec6ae02fd555c6f71d",
"reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/67f29781ffafa520b0bbfbd8384674b42db04572",
"reference": "67f29781ffafa520b0bbfbd8384674b42db04572",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-mbstring": "^1.3",
"symfony/polyfill-php80": "^1.22"
},
"require-dev": {
"psr/container": "^1.0|^2.0",
"symfony/phpunit-bridge": "^5.4.9|^6.3|^7.0"
"symfony/phpunit-bridge": "^5.4.9|^6.4|^7.0"
},
"type": "library",
"autoload": {
"files": [
"src/Resources/core.php",
"src/Resources/debug.php",
"src/Resources/escaper.php",
"src/Resources/string_loader.php"
],
"psr-4": {
"Twig\\": "src/"
}
@@ -2256,7 +2263,7 @@
],
"support": {
"issues": "https://github.com/twigphp/Twig/issues",
"source": "https://github.com/twigphp/Twig/tree/v3.8.0"
"source": "https://github.com/twigphp/Twig/tree/v3.10.3"
},
"funding": [
{
@@ -2268,7 +2275,7 @@
"type": "tidelift"
}
],
"time": "2023-11-21T18:54:41+00:00"
"time": "2024-05-16T10:04:27+00:00"
},
{
"name": "vlucas/valitron",

View File

@@ -1,9 +1,12 @@
meta:
owner: trendschau
author: 'Sebastian Schürmanns'
created: '2024-04-25'
time: 17-24-48
navtitle: 'create your first page'
modified: '2024-04-27'
title: 'Create Your First Page'
description: "To create a new page in Typemill, follow these simple steps: \nUse the interactive navigation located on the left side of the screen. \nEnter a page title for"
owner: trendschau
author: 'Sebastian Schürmanns'
modified: '2024-04-27'
created: '2024-04-25'
time: 17-24-48
template: landingpage
hide: false
noindex: false

View File

@@ -1,9 +1,13 @@
meta:
owner: trendschau
author: 'Sebastian Schürmanns'
created: '2024-04-25'
time: 13-16-58
navtitle: 'getting started'
modified: '2024-05-17'
title: 'Getting Started with Typemill'
description: 'Use this demo-content to familiarize yourself with Typemill. Not sure where to start?'
owner: trendschau
author: 'Sebastian Schürmanns'
modified: '2024-05-17'
created: '2024-04-25'
time: 13-16-58
contains: pages
template: ''
hide: false
noindex: false

View File

@@ -888,6 +888,12 @@ forms:
metatabs:
meta:
fields:
template:
type: select
label: Select a template
options:
standard: 'Standard'
landingpage: 'Landingpage'
fieldsetfolder:
fields:
glossary:

View File

@@ -12,6 +12,10 @@
{% include 'blog.twig' %}
{% elseif metatabs.meta.template == "landingpage" %}
{% include 'landingpage.twig' %}
{% else %}
{% include 'page.twig' %}

View File

@@ -0,0 +1,73 @@
<main class="w-100 dib bt bl br bb">
<header class="mw8 center pt4 flex justify-between">
<div class="logo">
<p class="pv2 ma0">
<a class="link f3 fw4" href="{{ base_url }}" title="My Title">
{% if logo %}
<img src="{{ base_url }}/{{ logo }}" class="logo-image"/>
{% else %}
{{ settings.title }}
{% endif %}
</a>
</p>
</div>
<nav id="breadcrumb" class="f6 pv3">
<div class="mw6">
<a class="link f-link underline-hover" href="{{ base_url }}">{{ settings.title }}</a>
{% for crumb in breadcrumb %}
&nbsp; &#x203A; &nbsp;
{% if loop.last %}
{{ crumb.name }}
{% else %}
<a class="link f-link underline-hover" href="{{ crumb.urlRel }}">{{ crumb.name }}</a>
{% endif %}
{% endfor %}
</div>
</nav>
</header>
<div class="mw8 pb3 pt6 ph3 center">
<header>
<h1 class="f-large lh-title mv2">{{ title }}</h1>
</header>
<div class="f5 f4-ns fw3 lh-copy">
{{ content }}
</div>
</div>
<div class="mw8 pb7 ph3 center">
{% set pagelist = getPageList(navigation, item.thisChapter.urlRelWoF, base_url) %}
<ul class="post mv3-l list pa0 f4-l f5 flex flex-wrap justify-between">
{% for element in pagelist.folderContent %}
{% set page = getPageMeta(settings, element) %}
<li class="w-30">
<header>
<a class="link near-black underline-hover" href="{{ element.urlAbs }}">
<h3 class="f4 f3-l mt4 mb2">{{ page.meta.title }}</h3></a>
</a>
</header>
<p>{{ page.meta.description }}</p>
<p><a class="link f-link underline-hover fw3" href="{{ element.urlAbs }}">Lesen</a></p>
</li>
{% endfor %}
</ul>
</div>
</main>