update landing page

pull/3245/head
Kaalleen 2024-09-08 15:05:42 +02:00
rodzic 73504f4b84
commit a9e8793fb3
9 zmienionych plików z 342 dodań i 61 usunięć

Wyświetl plik

@ -0,0 +1,41 @@
{% if include.id %}
{% assign feature_row = page[include.id] %}
{% else %}
{% assign feature_row = page.feature_row %}
{% endif %}
<div class="feature__wrapper">
{% for f in feature_row %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
<div class="archive__item">
{% if f.image_path %}
<div class="archive__item-teaser">
<img src="{{ f.image_path | relative_url }}"
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
{% if f.image_caption %}
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %}
</div>
{% endif %}
<div class="archive__item-body">
{% if f.title %}
<h2 class="archive__item-title">{{ f.title }}</h2>
{% endif %}
{% if f.excerpt %}
<div class="archive__item-excerpt">
{{ f.excerpt | markdownify }}
</div>
{% endif %}
{% if f.url %}
<p><a href="{{ f.url | relative_url }}" class="btn {{ f.btn_class }}">{{ site.data.ui-text[page.lang].more_label | default: 'Read more' }}</a></p>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>

Wyświetl plik

@ -8,43 +8,45 @@
{% endif %}
{%- if page.lang != current_lang -%}
{% assign page_lang = page.lang | prepend: '/' | append: '/' %}
{% assign page_lang = page.lang | prepend: '/' | append: '/' %}
{%- comment -%} Post {%- endcomment -%}
{%- if page.is_post == true -%}
{%- assign new_lang = current_lang | prepend: '/' | append: '/' -%}
{%- assign new_url = page.url | replace_first: page_lang, new_lang -%}
{%- assign lang_page = site.posts | where: "url", new_url -%}
{%- assign new_lang = current_lang | prepend: '/' | append: '/' -%}
{%- assign new_url = page.url | replace_first: page_lang, new_lang -%}
{%- assign lang_page = site.posts | where: "url", new_url -%}
{%- comment -%} Pages and Collections {%- endcomment -%}
{%- else -%}
{%- assign new_url = page.url | replace: page_lang, '/' | prepend: lang[0] | prepend: '/' | replace: '//', '/' -%}
{%- assign lang_page = site.pages | where: "url", new_url -%}
{%- if lang_page.size == 0 -%}
{%- for collection in site.collections -%}
{%- assign new_url = page.url | replace: page_lang, '/' | prepend: lang[0] | prepend: '/' | replace: '//', '/' -%}
{%- assign lang_page = site.pages | where: "url", new_url -%}
{%- if lang_page.size == 0 -%}
{%- for collection in site.collections -%}
{%- assign lang_page = collection.docs | where: "permalink", new_url -%}
{%- if lang_page.size > 0 -%}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- if lang_page.size > 0 -%}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endif -%}
{%- if lang_page.size > 0 -%}
{%- assign lang_sub = new_url | append: '|' | append: lang[1] | append: '|' | append: lang[0] -%}
{%- assign lang_sub_array = lang_sub | split: '|' -%}
{%- assign lang_array = lang_array | push: lang_sub_array -%}
{%- endif -%}
{%- if lang_page.size > 0 -%}
{%- assign lang_sub = new_url | append: '|' | append: lang[1] | append: '|' | append: lang[0] -%}
{%- assign lang_sub_array = lang_sub | split: '|' -%}
{%- assign lang_array = lang_array | push: lang_sub_array -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- if lang_array.size > 0 -%}
<li id="language_switcher"><span class="nav__sub-title">{{ site.data.ui-text[page.lang].choose_language | default: "Choose your language" }}</span>
<ul>
{% for l in lang_array %}
<li><a lang="{{ l[2] }}" href="{{ l[0] }}">{{ l[1] }}</a></li>
{% endfor %}
</ul>
<li id="language_switcher">
<input class="switcher-btn" type="checkbox" id="switcher-btn" />
<label class="switcher-label" for="switcher-btn"><span class="nav__sub-title">{{ page.lang }} ▼</span></label>
<ul>
{% for l in lang_array %}
<li><a lang="{{ l[2] }}" href="{{ l[0] }}">{{ l[1] }}</a></li>
{% endfor %}
</ul>
</li>
{%- endif -%}

Wyświetl plik

@ -27,11 +27,10 @@
{% if site.search == true %}
<button class="search__toggle" type="button">
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
</svg>
<i class="fas fa-search"></i>
</button>
{% endif %}
{% include language_switcher %}
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">{{ site.data.ui-text[page.lang].menu_label | default: "Toggle menu" }}</span>
<div class="navicon"></div>

Wyświetl plik

@ -27,6 +27,5 @@
{%- if page.collection == "lettering" or page.collection == "fonts" %}
{% include font_link_list %}
{% endif %}
{% include language_switcher %}
</ul>
</nav>

Wyświetl plik

@ -233,9 +233,30 @@ table.inline-table {
}
#language_switcher {
margin-top: 2.5em;
position: relative;
display: inline-block;
margin-right: 1em;
}
#switcher-btn {
display: none;
}
#language_switcher ul {
display: none;
position: absolute;
right: 0;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
#switcher-btn:checked ~ ul {
display: block;
}
/* Masthead */
.masthead {
box-shadow: 1px 1px 5px #ccc;
@ -347,6 +368,17 @@ table.inline-table {
margin-bottom: 5px !important;
}
/* Feature */
.feature__wrapper {
border-bottom: 1px solid #ccc;
}
.feature__wrapper .archive__item-title {
border-radius: unset;
margin-top: 0;
margin-bottom: 1em;
}
/* Gallery */
.logo__gallery .archive__item-teaser img {

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 57 KiB

Wyświetl plik

@ -1,19 +1,90 @@
---
title: "Ink/Stitch"
permalink: /
sidebar:
nav: "pages"
lang: en
---
<p>An open-source machine embroidery design platform based on <a href="https://inkscape.org/">Inkscape</a>.</p>
layout: splash
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: /assets/images/thread_banner_dark.jpg
actions:
- label: "Download"
url: "/docs/install/"
excerpt: "An open-source machine embroidery design platform based on [Inkscape](https://inkscape.org/)<br><br>
Ink/Stitch aims to be a full-fledged, cross-platform embroidery digitizing platform based entirely on free,
open-source software. Our goal is to be approachable for hobbyists while also providing the power needed by professional digitizers."
feature_page:
- image_path: /assets/images/galleries/fonts/apex-lake/apex_set.jpg
alt: "text: Features"
title: "Features"
excerpt: "Ink/Stitch has a lot to offer. View a list of most noticable Ink/Stitch features."
url: "/features/"
btn_class: "btn--primary"
user_manual:
- image_path: /assets/images/galleries/fonts/abril/abril_collage.jpg
alt: "text: user manual"
title: "User manual"
excerpt: 'Learn how to use Ink/Stitch. The user manual contains an in-depth description for every feature Ink/Stitch has to offer.'
url: "/docs/install/"
btn_class: "btn--primary"
font_library:
- image_path: /assets/images/galleries/fonts/multiple/multifont3.jpg
alt: "text: Font library"
title: "Font library"
excerpt: "Ink/Stitch comes with a long list of pre-digitized fonts ready to use."
url: "/fonts/font-library/"
btn_class: "btn--primary"
stitch_library:
- image_path: /assets/images/tutorials/multicolor_satin/snake.jpg
alt: "text: Stitch library"
title: "Stitch library"
excerpt: "Get an overview of all possible stitch types."
url: "/docs/stitch-library/"
btn_class: "btn--primary"
tutorials:
- image_path: /assets/images/tutorials/randomized_satin/random_satin.jpg
alt: "text: Tutorials and Sample Files"
title: "Tutorials and Sample Files"
excerpt: "Get started with ready to use files or read detailed tutorials."
url: "/tutorials/"
btn_class: "btn--primary"
social:
- image_path: /assets/images/galleries/fonts/chicken_little/chickenlittle.jpg
alt: "text: Socialize and Get Help"
title: "Socialize and Get Help"
excerpt: 'Ink/Stitch has a broad community willing to help you to get started. Get in contact and start your embroidery journey.'
url: "/docs/faq/"
btn_class: "btn--primary"
develope:
- image_path: /assets/images/galleries/fonts/cats/no_ordinary_cat.jpg
alt: "text: Get involved"
title: "Get involved"
excerpt: 'Ink/Stitch is a community project and there are lots of ways to help to improve the programm.
You can help out with documentation, provide samples and tutorials or do some programming.
Even bug reporting will be a great help.'
url: "/developers/introduction/"
btn_class: "btn--primary"
---
<img src="/assets/images/index-inkstitch-logo.png" alt="Ink/Stitch" style="margin-bottom: 1em;">
<p>Ink/Stitch aims to be a full-fledged, cross-platform embroidery digitizing platform based entirely on free, open-source software. Our goal is to be approachable for hobbyists while also providing the power needed by professional digitizers.</p>
<p><a href="/docs/install/" class="btn btn--primary btn--large">Install Ink/Stitch</a></p>
<h2>News</h2>
{% assign posts = site.posts | where: "lang", "en" %}
<ul>{% for post in posts offset: 0 limit: 5 %}<li>{{ post.date | date: "%B %-d, %Y" }}: <a href="{{ post.url }}">{{ post.title }}</a></li>{% endfor %}</ul>
<p><a href="{{ site.url }}/news/" class="btn btn--primary">{{ site.data.ui-text[page.lang].more_label | default: "Read more" }}</a></p>
<p><ul>{% for post in posts offset: 0 limit: 5 %}<li>{{ post.date | date: "%B %-d, %Y" }}: <a href="{{ post.url }}">{{ post.title }}</a></li>{% endfor %}</ul></p>
<p><a href="{{ site.url }}/news/" class="btn btn--primary btn--large">{{ site.data.ui-text[page.lang].more_label | default: "Read more" }}</a></p>
<hr>
{% include feature_row id="feature_page" type="left" %}
{% include feature_row id="user_manual" type="right" %}
{% include feature_row id="font_library" type="left" %}
{% include feature_row id="tutorials" type="right" %}
{% include feature_row id="social" type="left" %}
{% include feature_row id="develope" type="right" %}

Wyświetl plik

@ -1,23 +1,91 @@
---
title: "Ink/Stitch"
permalink: /de/
locale: de-DE
lang: de
sidebar:
nav: "pages"
---
<p>Ein <a href="https://inkscape.org/">Inkscape</a>-Plugin für die Erstellung von Stickdateien.</p>
layout: splash
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: /assets/images/thread_banner_dark.jpg
actions:
- label: "Download"
url: " /de/docs/install/"
excerpt: "Ein [Inkscape](https://inkscape.org/)-Plugin für die Erstellung von Stickdateien<br><br>
Ink/Stitch hat es sich zum Ziel gesetzt, sowohl für Hobby-Sticker als auch für professionelle Digitalisierer alle Funktionen bereit zu stellen,
die sie für die Erstellung von Stickdateien benötigen."
feature_page:
- image_path: /assets/images/galleries/fonts/apex-lake/apex_set.jpg
alt: "text: Features"
title: "Features"
excerpt: "Ink/Stitch hat viel zu bieten. Für einen ersten Überblick haben wir eine Liste über bersonders hervorzuhebende Ink/Stitch Funktionen zusammengestellt."
url: "/features/"
btn_class: "btn--primary"
user_manual:
- image_path: /assets/images/galleries/fonts/abril/abril_collage.jpg
alt: "text: Benutzerhandbuch"
title: "Benutzerhandbuch"
excerpt: 'Das Benutzerhandbuch enthält eine genaue Beschreibung über jede verfügbare Ink/Stitch Funktion.'
url: " /de/docs/install/"
btn_class: "btn--primary"
font_library:
- image_path: /assets/images/galleries/fonts/multiple/multifont3.jpg
alt: "text: Schriftbibliothek"
title: "Schriftbibliothek"
excerpt: "Ink/Stitch bringt bereits eine lange Liste von vordigitalisierten und einfach verwendbaren Schriften mit."
url: "/de/fonts/font-library/"
btn_class: "btn--primary"
stitch_library:
- image_path: /assets/images/tutorials/multicolor_satin/snake.jpg
alt: "text: Stichbibliothek"
title: "Stichbibliothek"
excerpt: "Verschaffe dir eine Übersicht über alle in Ink/Stitch verfügbaren Sticharten."
url: " /de/docs/stitch-library/"
btn_class: "btn--primary"
tutorials:
- image_path: /assets/images/tutorials/randomized_satin/random_satin.jpg
alt: "text: Tutorials und Beispieldateien"
title: "Tutorials und Beispieldateien"
excerpt: "Lerne anhand von Beispieldateien oder lese detailierte Tutorials."
url: "/de/tutorials/"
btn_class: "btn--primary"
social:
- image_path: /assets/images/galleries/fonts/chicken_little/chickenlittle.jpg
alt: "text: Kontakte knüpfen und Hilfe bekommen"
title: "Unterstützung bekommen"
excerpt: 'Ink/Stitch hat eine große Gemeinschaft, die dich bei deinen ersten Schritten mit Ink/Stitch unterstützen kann.
Kontaktiere uns über verschiedene Kanäle und starte deine Reise in die Welt des Stickens.'
url: " /de/docs/faq/"
btn_class: "btn--primary"
develope:
- image_path: /assets/images/galleries/fonts/cats/no_ordinary_cat.jpg
alt: "text: Beteiligen"
title: "Beteiligen"
excerpt: 'Ink/Stitch ist ein Gemeinschaftsprojekt und es gibt viel zu tun.
Wir benötigen Unterstützung bei der Dokumentation, dem Bereitstellen und Beispieldateien und Tutorials und beim Programmieren.
Auch das Berichten von Fehlern ist eine große Hilfe.'
url: "/de/developers/introduction/"
btn_class: "btn--primary"
---
<img src="/assets/images/index-inkstitch-logo.png" alt="Ink/Stitch" style="margin-bottom: 1em;">
<p>Ink/Stitch hat es sich zum Ziel gesetzt, sowohl Hobbyisten, als auch professionellen Designern alle Funktionen zu bieten,
die sie für die Erstellung von Dateien für das Maschinensticken benötigen.</p>
<p>Ink/Stitch basiert komplett auf freier, quelloffener Software und steht für verschiedene Betriebssysteme (Linux, Windows
und macOS) kostenlos zur Verfügung.</p>
<p><a href="/de/docs/install/" class="btn btn--primary btn--large">Ink/Stitch installieren</a></p>
<h2>Neuigkeiten</h2>
{% assign posts = site.posts | where: "lang", "de" %}
<ul>{% for post in posts offset: 0 limit: 5 %}<li>{{ post.date | date: "%B %-d, %Y" }}: <a href="{{ post.url }}">{{ post.title }}</a></li>{% endfor %}</ul>
<p><a href="{{ site.url }}/de/news/" class="btn btn--primary">{{ site.data.ui-text[page.lang].more_label | default: "Read more" }}</a></p>
<hr>
{% include feature_row id="feature_page" type="left" %}
{% include feature_row id="user_manual" type="right" %}
{% include feature_row id="font_library" type="left" %}
{% include feature_row id="tutorials" type="right" %}
{% include feature_row id="social" type="left" %}
{% include feature_row id="develope" type="right" %}

Wyświetl plik

@ -1,20 +1,89 @@
---
title: "Ink/Stitch"
permalink: /fr/
locale: fr-FR
lang: fr
sidebar:
nav: "pages"
---
<p>Une plateforme open source de création de motifs de broderie machine (<a href="https://inkscape.org/">Inkscape</a> extension).</p>
layout: splash
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: /assets/images/thread_banner_dark.jpg
actions:
- label: "Télécharger"
url: " /fr/docs/install/"
excerpt: "Une plateforme open source de création de motifs de broderie machine ([Inkscape](https://inkscape.org/) extension).<br><br>
Ink/Stitch vise à être une plateforme à part entière de création de motifs de broderie basée entièrement sur du logiciel libre open source.
Notre but est d'être accessible à l'amateur tout en fournissant la puissance nécessaire au professionnel."
feature_page:
- image_path: /assets/images/galleries/fonts/apex-lake/apex_set.jpg
alt: "text: Features"
title: "Features"
excerpt: "Ink/Stitch has a lot to offer. View a list of most noticable Ink/Stitch features."
url: "/fr/features/"
btn_class: "btn--primary"
user_manual:
- image_path: /assets/images/galleries/fonts/abril/abril_collage.jpg
alt: "text: user manual"
title: "User manual"
excerpt: 'Learn how to use Ink/Stitch. The user manual contains an in-depth description for every feature Ink/Stitch has to offer.'
url: " /fr/docs/install/"
btn_class: "btn--primary"
font_library:
- image_path: /assets/images/galleries/fonts/multiple/multifont3.jpg
alt: "text: Font library"
title: "Font library"
excerpt: "Ink/Stitch comes with a long list of pre-digitized fonts ready to use."
url: "/fr/fonts/font-library/"
btn_class: "btn--primary"
stitch_library:
- image_path: /assets/images/tutorials/multicolor_satin/snake.jpg
alt: "text: Stitch library"
title: "Stitch library"
excerpt: "Get an overview of all possible stitch types."
url: " /fr/docs/stitch-library/"
btn_class: "btn--primary"
tutorials:
- image_path: /assets/images/tutorials/randomized_satin/random_satin.jpg
alt: "text: Tutorials and Sample Files"
title: "Tutorials and Sample Files"
excerpt: "Get started with ready to use files or read detailed tutorials."
url: "/fr/tutorials/"
btn_class: "btn--primary"
social:
- image_path: /assets/images/galleries/fonts/chicken_little/chickenlittle.jpg
alt: "text: Socialize and Get Help"
title: "Socialize and Get Help"
excerpt: 'Ink/Stitch has a broad community willing to help you to get started. Get in contact and start your embroidery journey.'
url: " /fr/docs/faq/"
btn_class: "btn--primary"
develope:
- image_path: /assets/images/galleries/fonts/cats/no_ordinary_cat.jpg
alt: "text: Get involved"
title: "Get involved"
excerpt: 'Ink/Stitch is a community project and there are lots of ways to help to improve the programm.
You can help out with documentation, provide samples and tutorials or do some programming.
Even bug reporting will be a great help.'
url: "/fr/developers/introduction/"
btn_class: "btn--primary"
---
<img src="/assets/images/index-inkstitch-logo.png" alt="Ink/Stitch" style="margin-bottom: 1em;">
<p>Ink/Stitch vise à être une plateforme à part entière de création de motifs de broderie basée entièrement sur du logiciel libre open source. Notre but est d'être accessible à l'amateur tout en fournissant la puissance nécessaire au professionnel.</p>
<p><a href="/fr/docs/install/" class="btn btn--primary btn--large">Installer Ink/Stitch</a></p>
<h2>News</h2>
{% assign posts = site.posts | where: "lang", "fr" %}
<ul>{% for post in posts offset: 0 limit: 5 %}<li>{{ post.date | date: "%B %-d, %Y" }}: <a href="{{ post.url }}">{{ post.title }}</a></li>{% endfor %}</ul>
<p><a href="{{ site.url }}/news/" class="btn btn--primary">{{ site.data.ui-text[page.lang].more_label | default: "Read more" }}</a></p>
<hr>
{% include feature_row id="feature_page" type="left" %}
{% include feature_row id="user_manual" type="right" %}
{% include feature_row id="font_library" type="left" %}
{% include feature_row id="tutorials" type="right" %}
{% include feature_row id="social" type="left" %}
{% include feature_row id="develope" type="right" %}