diff --git a/data/features.toml b/data/features.toml index 06f9a11..92e1d42 100644 --- a/data/features.toml +++ b/data/features.toml @@ -1,6 +1,12 @@ [[features]] id = "dynamicDNS" + [features.img] + src = "/img/screenshots/features/dyndns.png" + [features.img.alt] + fr = "Une interface au dessus de votre serveur existant" + en = "An interface on top of your existing server" + [features.title] fr = "Gérer les zones de vos serveurs BIND, Knot, PowerDNS, ..." en = "Manage your zones backed by BIND, Knot, PowerDNS, ..." @@ -18,6 +24,12 @@ id = "dynamicDNS" [[features]] id = "registrar" + [features.img] + src = "/img/screenshots/features/hosters.png" + [features.img.alt] + fr = "Exemple de diff" + en = "Sample diff" + [features.title] fr = "Gérer les zones hébergées chez des prestataires d'hébergement" en = "Manage your zones hosted on hosting providers" @@ -35,6 +47,12 @@ id = "registrar" [[features]] id = "rest" + [features.img] + src = "/img/screenshots/features/rest.png" + [features.img.alt] + fr = "API REST" + en = "REST API" + [features.title] fr = "Utiliser happyDomain comme API REST" en = "Use happyDomain as a API REST" @@ -52,6 +70,12 @@ id = "rest" [[features]] id = "resolver" + [features.img] + src = "/img/screenshots/features/resolver.png" + [features.img.alt] + fr = "Résolveur DNS" + en = "DNS Resolver" + [features.title] fr = "Tester ou déboguer votre zone en ligne" en = "Test or debug your zone online" @@ -69,6 +93,12 @@ id = "resolver" [[features]] id = "diff" + [features.img] + src = "/img/screenshots/features/diff.png" + [features.img.alt] + fr = "Exemple de diff" + en = "Sample diff" + [features.title] fr = "Visualiser clairement les changements" en = "Clearly visualize changes" @@ -81,6 +111,12 @@ id = "diff" [[features]] id = "history" + [features.img] + src = "/img/screenshots/features/history.png" + [features.img.alt] + fr = "Historique de la zone" + en = "Zone's history" + [features.title] fr = "Garder une trace des modifications" en = "Keeping track of changes" diff --git a/i18n/en.yaml b/i18n/en.yaml index e976f0f..3b1149c 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -38,6 +38,9 @@ - id: features-grid-title translation: What can happyDomain do for you today? +- id: features-grid-footer + translation: And we have many other features in preparation... + - id: downloads-title translation: | Downloads diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 476ce5d..2e1b3e9 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -38,6 +38,9 @@ - id: features-grid-title translation: Que peut faire happyDomain pour vous aujourd'hui ? +- id: features-grid-footer + translation: Et nous avons encore bien d'autres fonctionnalités en préparation... + - id: downloads-title translation: | Téléchargements diff --git a/layouts/partials/features.html b/layouts/partials/features.html index b62c351..eceaf6f 100644 --- a/layouts/partials/features.html +++ b/layouts/partials/features.html @@ -41,12 +41,15 @@ {{ i18n "features-grid-title" }} -
+
{{ range $.Site.Data.features.features }} {{ if index .title $.Language.Lang }}
+ {{ if and .img .img.src }} + {{ index .img.alt $.Language.Lang }} + {{ end }}
{{ index .title $.Language.Lang }}

@@ -61,4 +64,9 @@ {{ end }}
+
+

+ {{ i18n "features-grid-footer" }} +

+
diff --git a/static/img/screenshots/features/diff.png b/static/img/screenshots/features/diff.png new file mode 100644 index 0000000..3c960e8 Binary files /dev/null and b/static/img/screenshots/features/diff.png differ diff --git a/static/img/screenshots/features/dyndns.png b/static/img/screenshots/features/dyndns.png new file mode 100644 index 0000000..950bb64 Binary files /dev/null and b/static/img/screenshots/features/dyndns.png differ diff --git a/static/img/screenshots/features/history.png b/static/img/screenshots/features/history.png new file mode 100644 index 0000000..77fa6ac Binary files /dev/null and b/static/img/screenshots/features/history.png differ diff --git a/static/img/screenshots/features/hosters.png b/static/img/screenshots/features/hosters.png new file mode 100644 index 0000000..9e2428f Binary files /dev/null and b/static/img/screenshots/features/hosters.png differ diff --git a/static/img/screenshots/features/resolver.png b/static/img/screenshots/features/resolver.png new file mode 100644 index 0000000..0500fc0 Binary files /dev/null and b/static/img/screenshots/features/resolver.png differ diff --git a/static/img/screenshots/features/rest.png b/static/img/screenshots/features/rest.png new file mode 100644 index 0000000..0880df0 Binary files /dev/null and b/static/img/screenshots/features/rest.png differ