nani/website/pages/index.scm

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 i18n)
21
  #:use-module (tools theme)
22
  #:export (page-index))
23
24
(define page-index
25
  (internationalize "index" "index"
26
    `(div
27
       (div (@ (id "hero"))
28
         (h1 (_ "OFFLINE JAPANESE DICTIONARY"))
29
         (nav
30
           (a (@ (href "https://f-droid.org/app/eu.lepiller.nani"))
31
              ;; Get more badge urls at
32
              ;; https://gitlab.com/fdroid/artwork/tree/master/badge
33
              ;; TRANSLATORS: rename this file to /images/get-it-on-<lang>.png
34
              (_ "<img src=\"/images/get-it-on-en.png\" />"))))
35
       (h2 (@ (id "after-hero")) (_ "Features"))
36
       (p (_ "Offline Japanese dictionary, with meaning, pronounciation, kanji and more!"))
37
       (div (@ (id "features"))
38
        (div
39
          (h3 (_ "Specialized dictionary"))
40
          (ul
41
            (li (_ "Search by kanji, reading and meaning"))
42
            (li (_ "Multiple propositions"))
43
            (li (_ "Works offline with the features you want"))
44
            (li (_ "Multiple languages supported: English, French, German, and more"))))
45
        (div
46
          (h3 (_ "Free Software and Open Data"))
47
          (ul
48
            (li (_ "Free software application"))
49
            (li (_ "No tracker, no ad, no suspicious permission"))
50
            (li (_ "Many open <a href=\"/data.html\">data providers</a>"))
51
            (li (_ "You can build it, contribute to it and its data sources"))))))
52
    nani-theme))
53