index.scm
| 1 | ;;; Nani Project website |
| 2 | ;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu> |
| 3 | ;;; |
| 4 | ;;; This file is part of the Nani Project website. |
| 5 | ;;; |
| 6 | ;;; The Nani Project website is free software; you can redistribute it and/or modify it |
| 7 | ;;; under the terms of the GNU Affero General Public License as published by |
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
| 9 | ;;; your option) any later version. |
| 10 | ;;; |
| 11 | ;;; The Nani Project website is distributed in the hope that it will be useful, but |
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ;;; GNU Affero General Public License for more details. |
| 15 | ;;; |
| 16 | ;;; You should have received a copy of the GNU Affero General Public License |
| 17 | ;;; along with the Nani Project website. If not, see <http://www.gnu.org/licenses/>. |
| 18 | |
| 19 | (define-module (pages index) |
| 20 | #:use-module (tools haunt-i18n) |
| 21 | #:use-module (tools i18n) |
| 22 | #:use-module (tools theme) |
| 23 | #:export (page-index)) |
| 24 | |
| 25 | (define page-index |
| 26 | (internationalize "index" "index" |
| 27 | `(div |
| 28 | (div (@ (id "hero")) |
| 29 | (h1 (_ "OFFLINE JAPANESE DICTIONARY")) |
| 30 | (nav |
| 31 | (a (@ (href "https://f-droid.org/app/eu.lepiller.nani")) |
| 32 | ;; Get more badge urls at |
| 33 | ;; https://gitlab.com/fdroid/artwork/tree/master/badge |
| 34 | ;; TRANSLATORS: rename this file to /images/get-it-on-<lang>.png |
| 35 | (_ "<img src=\"/images/get-it-on-en.png\" />")))) |
| 36 | (h2 (@ (id "after-hero")) (_ "Features")) |
| 37 | (p (_ "Offline Japanese dictionary, with meaning, pronounciation, kanji and more!")) |
| 38 | (div (@ (id "features")) |
| 39 | (div |
| 40 | (h3 (_ "Specialized dictionary")) |
| 41 | (ul |
| 42 | (li (_ "Search by kanji, reading and meaning")) |
| 43 | (li (_ "Multiple propositions")) |
| 44 | (li (_ "Works offline with the features you want")) |
| 45 | (li (_ "Multiple languages supported: English, French, German, and more")))) |
| 46 | (div |
| 47 | (h3 (_ "Free Software and Open Data")) |
| 48 | (ul |
| 49 | (li (_ "Free software application")) |
| 50 | (li (_ "No tracker, no ad, no suspicious permission")) |
| 51 | (li (_ "Many open <a href=\"/data.html\">data providers</a>")) |
| 52 | (li (_ "You can build it, contribute to it and its data sources")))))) |
| 53 | nani-theme)) |
| 54 |