commit ee6df2ca4d1c8300093fa4f49f560accdef52e05 Author: Rafael Mardojai CM Date: Sun Dec 17 08:45:10 2023 -0500 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..506c62c --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Temporary lock file while building +/.hugo_build.lock diff --git a/assets/sass/_elements.scss b/assets/sass/_elements.scss new file mode 100644 index 0000000..4f4c206 --- /dev/null +++ b/assets/sass/_elements.scss @@ -0,0 +1,121 @@ + +/* Sections */ +.section { + .container { + width: 90%; + margin: auto; + max-width: $width; + } + + .title { + font-size: 3.6em; + margin-bottom: .4em; + @media (max-width: 768px) { + font-size: 3em; + } + } +} + +.section-page { + padding: 72px 0; + @media (max-width: 768px) { + padding: 48px 0; + } +} + +/* Text bodies*/ +.content { + h1, h2, h3, h4, h5, h6 { + margin-bottom: .4em; + } + + p { + font-size: 1.4em; + line-height: 1.3; + + &:not(:last-child) { + margin-bottom: 1em; + } + } + + a { + &:hover { + opacity: .75; + } + } + + b, strong { + font-weight: 700; + } + + i, em { + font-style: italic; + } + + // TODO: Style more elements +} + +/* Base menu */ +.menu { + ul { + display: flex; + gap: 24px; + + li { + a { + font-size: 1.2em; + font-weight: 700; + text-decoration: none; + + &:hover { + opacity: .75; + } + } + } + } + + .menu-toggle, .menu-icon { + display: none; + } + + @media (max-width: 768px) { + .menu-icon { + display: block; + } + .menu-toggle:not(:checked) ~ ul { + display: none; + } + } +} + +/* Grid */ +.grid { + display: grid; + gap: 24px; + grid-template-columns: repeat(12, 1fr); + + .col-1-1 { + grid-column: auto / span 12; + } + .col-1-2 { + grid-column: auto / span 6; + @media (max-width: 768px) { + grid-column: auto / span 12; + } + } + .col-1-3 { + grid-column: auto / span 4; + @media (max-width: 768px) { + grid-column: auto / span 12; + } + } + .col-1-4 { + grid-column: auto / span 3; + @media (max-width: 768px) { + grid-column: auto / span 6; + } + @media (max-width: 480px) { + grid-column: auto / span 12; + } + } +} \ No newline at end of file diff --git a/assets/sass/_fonts.scss b/assets/sass/_fonts.scss new file mode 100644 index 0000000..2049f1e --- /dev/null +++ b/assets/sass/_fonts.scss @@ -0,0 +1,9 @@ +@font-face { + font-family: "Cantarell var"; + font-weight: 100 900; + font-display: swap; + font-style: normal; + font-named-instance: "Regular"; + src: url("../fonts/Cantarell-VF.woff2") format("woff2"), + url("../fonts/Cantarell-VF.otf") format("opentype"); +} diff --git a/assets/sass/_footer.scss b/assets/sass/_footer.scss new file mode 100644 index 0000000..10f4837 --- /dev/null +++ b/assets/sass/_footer.scss @@ -0,0 +1,17 @@ +.footer { + text-align: center; + + .container { + align-items: center; + display: flex; + gap: 24px; + justify-content: space-between; + @media (max-width: 768px) { + flex-direction: column; + } + } + + .circle img { + width: 200px; + } +} \ No newline at end of file diff --git a/assets/sass/_header.scss b/assets/sass/_header.scss new file mode 100644 index 0000000..c5e606b --- /dev/null +++ b/assets/sass/_header.scss @@ -0,0 +1,54 @@ + +.header { + background-color: darken($green5, 10%); + color: white; + padding: 12px 0; + + .container { + align-items: center; + display: flex; + } + + .logo { + align-items: center; + display: grid; + gap: 12px; + grid-template-areas: "icon name"; + grid-template-columns: 48px auto; + text-decoration: none; + + .icon { + grid-area: icon; + } + .site-title { + font-size: 2em; + font-weight: 900; + grid-area: name; + } + } + + .services.menu { + flex: 1; + + @media (max-width: 768px) { + display: flex; + justify-content: end; + } + + ul { + justify-content: end; + @media (max-width: 768px) { + background: rgba(#000000, 0.75); + flex-direction: column; + right: 5%; + padding: 24px; + position: absolute; + top: 72px; + } + } + + a { + color: white; + } + } +} \ No newline at end of file diff --git a/assets/sass/_home.scss b/assets/sass/_home.scss new file mode 100644 index 0000000..44a8f86 --- /dev/null +++ b/assets/sass/_home.scss @@ -0,0 +1,123 @@ + +/* Hero section */ +.hero { + background-image: radial-gradient($green2, $green5); + color: white; + text-align: center; + + @media (max-width: 768px) { + display: flex; + flex-direction: column; + justify-content: center; + min-height: 80vh; + padding: 96px 0; + } + + .hero-text { + font-size: 2.6em; + @media (max-width: 768px) { + font-size: 2em; + } + } + + .hero-desc { + font-size: 1.6em; + font-weight: 700; + } + + .screenshot { + img { + display: block; + margin: auto; + @media (max-width: 768px) { + margin: 24px auto; + } + } + } +} + +.hero-actions { + position: relative; + top: -40px; + + .container { + display: flex; + gap: 24px; + justify-content: center; + @media (max-width: 768px) { + flex-direction: column; + } + } + + img { + width: 240px; + } + + .action-group { + display: flex; + flex-direction: column; + gap: 6px; + text-align: center; + + .info-text { + color: var(--base-color); + font-size: .8em; + opacity: .4; + } + } +} + +/* About */ +.about { + padding-top: 0; +} + +/* Hosted Services */ +.hosted-services { + background-color: var(--purple-bg); + + .services { + margin-top: 24px; + } + + /* Card links */ + a { + text-decoration: none; + transition: all 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.28); + + &:hover { + transform: scale(1.05); + } + } +} + +.service-card { + align-items: center; + background-color: var(--card-bg); + border-radius: 24px; + display: flex; + flex-direction: column; + gap: 12px; + padding: 2em; + text-align: center; + + .service-icon { + height: 64px; + width: 64px; + } + + .service-name { + font-size: 2em; + } + + .service-address { + border-radius: 6px; + background-color: var(--card-bg); + padding: .2em .6em; + } +} + +/* Donate */ +.donate { + background-color: var(--blue-bg); +} \ No newline at end of file diff --git a/assets/sass/_reset.scss b/assets/sass/_reset.scss new file mode 100644 index 0000000..cce28a2 --- /dev/null +++ b/assets/sass/_reset.scss @@ -0,0 +1,49 @@ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +body { + line-height: 1; +} + +ol, ul { + list-style: none; +} + +blockquote, q { + quotes: none; +} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/assets/sass/_vars.scss b/assets/sass/_vars.scss new file mode 100644 index 0000000..39296a6 --- /dev/null +++ b/assets/sass/_vars.scss @@ -0,0 +1,50 @@ + +// Site +$width: 1000px; + +// GNOME Colors +$blue1: rgb(153, 193, 241); +$blue2: rgb(98, 160, 234); +$blue3: rgb(53, 132, 228); +$blue4: rgb(28, 113, 216); +$blue5: rgb(26, 95, 180); +$green1: rgb(143, 240, 164); +$green2: rgb(87, 227, 137); +$green3: rgb(51, 209, 122); +$green4: rgb(46, 194, 126); +$green5: rgb(38, 162, 105); +$yellow1: rgb(249, 240, 107); +$yellow2: rgb(248, 228, 92); +$yellow3: rgb(246, 211, 45); +$yellow4: rgb(245, 194, 17); +$yellow5: rgb(229, 165, 10); +$orange1: rgb(255, 190, 111); +$orange2: rgb(255, 163, 72); +$orange3: rgb(255, 120, 0); +$orange4: rgb(230, 97, 0); +$orange5: rgb(198, 70, 0); +$red1: rgb(246, 97, 81); +$red2: rgb(237, 51, 59); +$red3: rgb(224, 27, 36); +$red4: rgb(192, 28, 40); +$red5: rgb(165, 29, 45); +$purple1: rgb(220, 138, 221); +$purple2: rgb(192, 97, 203); +$purple3: rgb(145, 65, 172); +$purple4: rgb(129, 61, 156); +$purple5: rgb(97, 53, 131); +$brown1: rgb(205, 171, 143); +$brown2: rgb(181, 131, 90); +$brown3: rgb(152, 106, 68); +$brown4: rgb(134, 94, 60); +$brown5: rgb(99, 69, 44); +$light1: rgb(255, 255, 255); +$light2: rgb(246, 245, 244); +$light3: rgb(222, 221, 218); +$light4: rgb(192, 191, 188); +$light5: rgb(154, 153, 150); +$dark1: rgb(119, 118, 123); +$dark2: rgb(94, 92, 100); +$dark3: rgb(61, 56, 70); +$dark4: rgb(36, 31, 49); +$dark5: rgb(0, 0, 0); \ No newline at end of file diff --git a/assets/sass/main.scss b/assets/sass/main.scss new file mode 100644 index 0000000..01bec50 --- /dev/null +++ b/assets/sass/main.scss @@ -0,0 +1,56 @@ + +@import '_vars', '_fonts', '_reset'; + +// Basic common styles +:root { + --accent-color: #1a5fb4; + --base-bg: #{$light1}; + --base-color: #{$dark5}; + --purple-bg: #{lighten($purple1, 10%)}; + --blue-bg: #{lighten($blue1, 10%)}; + --card-bg: #{transparentize($dark5, .85)}; + } + @media (prefers-color-scheme: dark) { + :root { + --accent-color: #99c1f1; + --base-bg: #{$dark4}; + --base-color: #{$light2}; + --purple-bg: #{darken($purple5, 10%)}; + --blue-bg: #{darken($blue5, 10%)}; + } +} + +* { + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} + +body { + background-color: var(--base-bg); + color: var(--base-color); + font-family: "Cantarell var", sans-serif; +} + +img { + max-width: 100%; +} + +h1, h2, h3, h4, h5, h6 { + font-weight: 900; +} + +a { + color: currentColor; +} + +// Common elements +@import 'elements'; + +// Site header and footer +@import 'header', 'footer'; + +// Site home +@import 'home'; diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..496fab4 --- /dev/null +++ b/config.toml @@ -0,0 +1,23 @@ +baseURL = 'https://dialectapp.org' +languageCode = 'en' +title = 'Dialect' + +[menus] +[[menus.main]] + name = 'About' + url = '/#about' + weight = 10 +[[menus.main]] + name = 'Hosted Services' + url = '/#hosted-services' + weight = 20 +[[menus.main]] + name = 'Donate' + url = '/#donate' + weight = 30 +[[menus.main]] + name = 'Github' + url = 'https://github.com/dialect-app' + +[markup.goldmark.renderer] +unsafe= true diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..763c258 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,14 @@ +--- +title: Home +hero_desc: Translation application for Linux desktop and mobile +buttons: +- label: Download on Flathub + image: https://dl.flathub.org/assets/badges/flathub-badge-en.svg + link: https://flathub.org/apps/app.drey.Dialect + info_label: Other Installation Methods + info_link: https://github.com/dialect-app/dialect/#installation +- label: Download Nightly Flatpak + image: nightly-badge.svg + link: https://nightly.link/dialect-app/dialect/workflows/CI/main/dialect-devel-x86_64.zip + info_label: Development Flatpak (x86_64) +--- diff --git a/content/dialect-dark.png b/content/dialect-dark.png new file mode 100644 index 0000000..b51b10a Binary files /dev/null and b/content/dialect-dark.png differ diff --git a/content/dialect.png b/content/dialect.png new file mode 100644 index 0000000..9813a15 Binary files /dev/null and b/content/dialect.png differ diff --git a/content/nightly-badge.svg b/content/nightly-badge.svg new file mode 100644 index 0000000..32b279f --- /dev/null +++ b/content/nightly-badge.svg @@ -0,0 +1,511 @@ + + diff --git a/content/sections/about.md b/content/sections/about.md new file mode 100644 index 0000000..db80f87 --- /dev/null +++ b/content/sections/about.md @@ -0,0 +1,12 @@ +--- +title: About +weight: 10 +--- + +Dialect is a translation application targeted at the GNOME desktop, but also compatible with the free desktop ecosystem in general. It is designed to support multiple online translation sources such as LibreTranslate, Google, Lingva Translate, Bing, Yandex and others. + +It also supports other handy features like translation history, text to speech and clipboard integration. + +The application started as a simple Google Translate client in 2020 and quickly grew in terms of contributions and features. + +[More details in **Apps for GNOME**](https://apps.gnome.org/Dialect/). diff --git a/content/sections/donate.md b/content/sections/donate.md new file mode 100644 index 0000000..7a31b71 --- /dev/null +++ b/content/sections/donate.md @@ -0,0 +1,10 @@ +--- +title: Donate +weight: 30 +--- + +In order to scale our hosted services to meet demand and fund other initiatives, we rely on donations from the community. If you're interested in helping, you can donate to us in our Open Collective. + + + + \ No newline at end of file diff --git a/content/sections/hosted/index.md b/content/sections/hosted/index.md new file mode 100644 index 0000000..5bb9029 --- /dev/null +++ b/content/sections/hosted/index.md @@ -0,0 +1,17 @@ +--- +title: Hosted Services +weight: 20 + +services: +- title: LibreTranslate + desc: Free and Open Source Machine Translation API. + address: lt.dialectapp.org + icon: libretranslate.svg + +- title: Lingva Translate + desc: Alternative front-end for Google Translate. + address: lingva.dialectapp.org + icon: lingva-translate.svg +--- + +We host a basic infrastructure of open source online translation services for use within Dialect. \ No newline at end of file diff --git a/content/sections/hosted/libretranslate.svg b/content/sections/hosted/libretranslate.svg new file mode 100644 index 0000000..e59f32a --- /dev/null +++ b/content/sections/hosted/libretranslate.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/sections/hosted/lingva-translate.svg b/content/sections/hosted/lingva-translate.svg new file mode 100644 index 0000000..d5a9bf7 --- /dev/null +++ b/content/sections/hosted/lingva-translate.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/sections/index.md b/content/sections/index.md new file mode 100644 index 0000000..40e6eb3 --- /dev/null +++ b/content/sections/index.md @@ -0,0 +1,8 @@ +--- +title: Home Sections +headless: true +--- + + \ No newline at end of file diff --git a/data/hero.yml b/data/hero.yml new file mode 100644 index 0000000..9cf4051 --- /dev/null +++ b/data/hero.yml @@ -0,0 +1,108 @@ +- Speak your truth, in any language +- Khuluma iqiniso lakho, nganoma yiluphi ulimi +- Sọ otitọ rẹ, ni eyikeyi ede +- רעדן דיין אמת, אין קיין שפּראַך +- Thetha inyani, ngalo naluphi na ulwimi +- Siaradwch eich gwirionedd, mewn unrhyw iaith +- Nói sự thật của bạn, bằng bất kỳ ngôn ngữ nào +- Haqiqatingizni ayting, har qanday tilda +- ھەقىقەتنى ھەر قانداق تىلدا سۆزلەڭ +- کسی بھی زبان میں اپنی سچائی بولیں +- Говоріть свою правду, будь -якою мовою +- Islän diliňizde hakykaty aýdyň +- Herhangi bir dilde gerçeğinizi söyleyin +- พูดความจริงของคุณในภาษาใด ๆ +- ఏ భాషలోనైనా మీ నిజం మాట్లాడండి +- Хакыйкатьне, теләсә нинди телдә сөйләшегез +- உங்கள் உண்மையை, எந்த மொழியிலும் பேசுங்கள் +- Бо сухани худ сухан гӯед +- Tala din sanning, på alla språk +- Ongea ukweli wako, kwa lugha yoyote +- Nyarios bebeneran anjeun, dina basa naon waé +- Habla tu verdad, en cualquier idioma +- Runtaada ku hadal, luqad kasta +- Govorite svojo resnico v katerem koli jeziku +- Hovorte pravdu, v akomkoľvek jazyku +- ඕනෑම භාෂාවකින්, ඔබේ සත්යය කතා කරන්න +- پنهنجي سچ ڳالهايو، ڪنهن به ٻولي ۾ +- Taura chokwadi chako, mune chero mutauro +- Bua 'nete ea hau, ka puo efe kapa efe +- Говорите своју истину, на било ком језику +- Bruidhinn an fhìrinn agad, ann an cànan sam bith +- Tautala Lau Upu Moni, i soo se isi gagana +- Говорить свою правду на любом языке +- Spune -ți adevărul, în orice limbă +- ਕਿਸੇ ਵੀ ਭਾਸ਼ਾ ਵਿੱਚ, ਆਪਣੀ ਸੱਚਾਈ ਬੋਲੋ +- Fale sua verdade, em qualquer idioma +- Mów swoją prawdę, w dowolnym języku +- حقیقت خود را به هر زبانی بگویید +- په هره ژبه کې خپل حق وغږیږئ +- Snakk sannheten din, på ethvert språk +- तपाईको सत्य बोल्नुहोस्, कुनै पनि भाषामा बोल्नुहोस् +- သင်၏အမှန်တရားကိုမည်သည့်ဘာသာစကားဖြင့်ပြောပါ +- Үнэнийг хэлэх, ямар ч хэлээр ярих +- आपले सत्य, कोणत्याही भाषेत बोला +- Korerotia to pono, i roto i tetahi reo +- Kellem il-verità tiegħek, fi kwalunkwe lingwa +- ഏതൊരു ഭാഷയിലും നിങ്ങളുടെ സത്യം സംസാരിക്കുക +- Bercakap kebenaran anda, dalam bahasa apa pun +- Lazao ny fahamarinanao, amin'ny fiteny rehetra +- Зборувајте ја вашата вистина, на кој било јазик +- Schwätzt Är Wourecht, an enger Sprooch +- Kalbėk savo tiesą bet kuria kalba +- Runājiet savu patiesību jebkurā valodā +- Loquere veritatem tuam, in omni lingua +- ເວົ້າຄວາມຈິງຂອງທ່ານ, ໃນພາສາໃດຫນຶ່ງ +- Өзүңүз каалаган тилде сүйлөңүз +- Bi tu zimanî rastiya xwe bipeyivin +- 어떤 언어로든 진실을 말하십시오 +- Vuga ukuri kwawe, mu rurimi urwo arirwo rwose +- និយាយការពិតរបស់អ្នកជាភាសាណាមួយ +- Шындықты, кез-келген тілде сөйлеңіз +- ನಿಮ್ಮ ಸತ್ಯವನ್ನು ಯಾವುದೇ ಭಾಷೆಯಲ್ಲಿ ಮಾತನಾಡಿ +- Ngomongake bebener sampeyan, ing basa apa wae +- どんな言語でも、あなたの真実を話してください +- DA LA TUA VERITÀ, in qualsiasi lingua +- Labhair do fhírinne, in aon teanga +- Berbicara kebenaran Anda, dalam bahasa apa pun +- Na-ekwu eziokwu gị, n'asụsụ ọ bụla +- Talaðu sannleika þinn, á hvaða tungumáli sem er +- Beszélje meg az igazságodat, bármilyen nyelven +- Hais koj qhov tseeb, hauv tej lus +- किसी भी भाषा में, अपनी सच्चाई बोलो +- דבר את האמת שלך, בכל שפה +- E'ōlelo i kāuʻoiaʻiʻo, i kekahi'ōlelo +- Yi magana da gaskiya, a cikin kowane yare +- Pale verite ou, nan nenpòt lang +- કોઈપણ ભાષામાં, તમારી સત્ય બોલો +- Μιλήστε την αλήθεια σας, σε οποιαδήποτε γλώσσα +- Sprich deine Wahrheit in jeder Sprache +- ილაპარაკე შენი სიმართლე, ნებისმიერ ენაზე +- Fala a túa verdade, en calquera idioma +- Sprek jo wierheid, yn elke taal +- Dis votre vérité, dans n'importe quelle langue +- Puhu totuutesi, millä tahansa kielellä +- Magsalita ng iyong katotohanan, sa anumang wika +- Räägi oma tõde mis tahes keeles +- Parolu vian veron, en iu ajn lingvo +- Spreek uw waarheid, in elke taal +- Tal din sandhed på ethvert sprog +- Mluvte svou pravdu v jakémkoli jazyce +- Govorite svoju istinu, na bilo kojem jeziku +- Parle a vostra verità, in ogni lingua +- 用任何語言說出你的真理 +- 用任何语言说出你的真理 +- Lankhulani Choonadi Zanu, Chinenedwe Ali Chilichonse +- Isulti ang imong kamatuoran, sa bisan unsang sinultian +- Parla la teva veritat, en qualsevol idioma +- Говорете вашата истина, на всеки език +- Govorite svoju istinu, na bilo kojem jeziku +- আপনার সত্য কথা বলুন, যে কোনও ভাষায় +- Гавары сваю праўду, на любой мове +- Hitz egin zure egia, edozein hizkuntzatan +- Həqiqətinizi, istənilən dildə danışın +- Խոսեք ձեր ճշմարտությունը, ցանկացած լեզվով +- تحدث عن الحقيقة في أي لغة +- በእውነቱ ቋንቋዎን ይናገሩ, በማንኛውም ቋንቋ +- Flisni të vërtetën tuaj, në çdo gjuhë +- Praat u waarheid, in enige taal \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..39eb0de --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,26 @@ + + + + + + + {{ if not .IsHome }}{{ .Title }} — {{ end }}{{ .Site.Title }} + + {{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }} + {{ with resources.Get "sass/main.scss" | toCSS $opts | minify | fingerprint }} + + {{ end }} + + {{- block "scripts" . }}{{- end }} + + + + {{- partial "header.html" . -}} + +
+ {{- block "main" . }}{{- end }} +
+ + {{- partial "footer.html" . -}} + + \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..d75d91f --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} +{{ $id := .Title | relURL | anchorize }} +
+
+

{{ .Title }}

+ +
+ {{ .Content }} +
+
+
+{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..16fe1d6 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,129 @@ +{{ define "main" }} +{{/* Render index hero */}} +
+
+

{{ index .Site.Data.hero 0 }}

+ + + + Dialect Window + + +

{{ .Params.hero_desc}}

+
+
+ +{{/* Render index buttons */}} +{{ with .Params.buttons }} +
+
+ {{ range . }} +
+ + {{ if .image }}{{ .label }} + {{ else }}{{ .label }}{{ end }} + + + {{ $info_link := .info_link }} + {{ with .info_label }} + + {{ if $info_link }}{{ . }}{{ else }}{{ . }}{{ end }} + + {{ end }} +
+ {{ end }} +
+
+{{ end }} + +{{/* Render index sections */}} +{{ with .Site.GetPage "/sections" }} +{{ $resources := .Resources }} + {{ range .Resources.ByType "page" }} + {{ $id := .Title | relURL | anchorize }} +
+
+

{{ .Title }}

+ + {{ with .Content }} +
+ {{ . }} +
+ {{ end }} + + {{ with .Params.services }} + + {{ end }} +
+
+ {{ end }} +{{ end }} + +{{ end }} + +{{ define "scripts" }} + +{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f5d7117 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..bb1aac2 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,22 @@ +
+
+ + + +
+
\ No newline at end of file diff --git a/static/fonts/Cantarell-VF.otf b/static/fonts/Cantarell-VF.otf new file mode 100644 index 0000000..13b4c75 Binary files /dev/null and b/static/fonts/Cantarell-VF.otf differ diff --git a/static/fonts/Cantarell-VF.woff2 b/static/fonts/Cantarell-VF.woff2 new file mode 100644 index 0000000..5360548 Binary files /dev/null and b/static/fonts/Cantarell-VF.woff2 differ diff --git a/static/img/icons.svg b/static/img/icons.svg new file mode 100644 index 0000000..e3a7837 --- /dev/null +++ b/static/img/icons.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file