diff --git a/_config.yml b/_config.yml index 0ba10b9..63e30a3 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ usb_butter_url: "/usb-butter/" url: "" # the base hostname & protocol for your site, e.g. http://example.com logo: "/assets/images/butter-app-logo-small.svg" # powered by jekyll-multiple-languages-plugin -languages: ['en', 'es', 'fr_SN', 'pt_AO', 'ar'] +languages: ['en', 'es', 'fr_SN', 'pt_AO', 'ar', 'bo'] exclude: ["public", "Gemfile", "Gemfile.lock", "node_modules", "test", "site-*.zip"] diff --git a/_data/home.yml b/_data/home.yml index 88528c8..d62f490 100644 --- a/_data/home.yml +++ b/_data/home.yml @@ -1,7 +1,7 @@ # This file is sitewide, for all languages. # To specify per-language data, use the _i18n folder's yml files. -page_logo: '/assets/images/btr-logo.svg' +page_logo: '/assets/images/kanglam-logo.svg' app_tiles_image: '/assets/images/btr-apps.png' modal: @@ -19,4 +19,5 @@ language_selector: es: Español fr_SN: Français (SN) pt_AO: Português (AO) - ar: العربية \ No newline at end of file + ar: العربية + bo: བོད་སྐད་ diff --git a/_i18n/ar.yml b/_i18n/ar.yml index d83b436..e16c778 100644 --- a/_i18n/ar.yml +++ b/_i18n/ar.yml @@ -1,3 +1,4 @@ +language: ar ipfs_text: قم بتحميل ملف من جهازك إلى نظام الملفات هذا الصندوق سيضع حمولاتك ويتقاسمها مع الشبكة العالمية لبرمجيات المعلومات عندما يكون صندوق بوتر وصلة في أعلى المجرى. diff --git a/_i18n/bo.yml b/_i18n/bo.yml index 900ae09..1f8f1b5 100644 --- a/_i18n/bo.yml +++ b/_i18n/bo.yml @@ -1,4 +1,5 @@ -site_name: མར་སྒམ། +language: 'bo' +site_name: རྐང་ལམ། page_logo_alt: མར་བཀོལ་ཆས་ཁྱད་ཆོས་མཚོན་རྟགས། title: དྲ་རྒྱ་མེད་པའི་མི་ཚེ་སྔར་ལས་བདེ་པོ་བཟོས་ཡོད།
སྤྱོད་སྒོ་ཆེ་བའི་ལག་ཆ་རག་པར་བྱོས། @@ -32,3 +33,9 @@ text: dont_show_chat: "མར་གྱི་ནང་དུ་བཀོལ་ཆས་ཁག་ཅིག་ཕྱོགས་བསྡུས་བྱས་ཡོད་པ་དེས། དྲ་རྒྱ་མེད་པའི་མི་ཚེ་སྟབས་བདེ་རུ་གཏོང་གི་ཡོད། དེ་ཕབ་ལེན་བྱས་ཏེ་འཚོལ་ཞིབ་བྱོས། ཁྱབ་བསྒྲགས་མེད་པའི་རིན་མེད་ཀྱི་བཀོལ་ཆས་ཕབ་ལེན་བྱོས། ཡང་ན། བརྩེ་བ་ཁྱབ་སྤེལ་དང་། དྲ་རྒྱ་མེད་པའི་ཐོག་ནས་བཀོལ་ཆས་བརྒྱུད་སྐུར་བྱོས།\n" +message_board: གླེང་མོལ། +app_store: མཉེན་མཛོད། +explore: མཐེབ་འཇུག +butter_box_title: ཕེབས་པར་དགའ་བསུ་ཞུ།རྐང་ལམ། +butter_box_subtitle: རྐང་ལམ་ནི་འཛམ་གླིང་ཡོངས་ཁྱབ་ཀྱི་རང་བྱུང་གི་གནོད་འཚེ་ཁག་གིས་མི་དང་མི་ཕན་ཚུན་དབར་གྱི་འབྲེལ་འདྲིས་དང་ཡིག་ཆ་མཉམ་སྤྱོད་ལ་ཇི་ལྟར་ཤུགས་རྐྱེན་ཐེབས་ཀྱི་ཡོད་མེད་གཙོ་གནད་དུ་བཟུང་སྟེ་འཆར་འགོད་བྱས་པའི་མ་ལག་ཅིག་ཡིན། + diff --git a/_i18n/de.yml b/_i18n/de.yml index b7ea629..31597d1 100644 --- a/_i18n/de.yml +++ b/_i18n/de.yml @@ -1,3 +1,4 @@ +languge: de modal: info_list: - Vom Team Butter diff --git a/_i18n/en.yml b/_i18n/en.yml index ca68066..2189a1a 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -1,3 +1,4 @@ +language: 'en' site_name: 'Butter Box' page_logo_alt: 'Butter App Feature Logo' title: 'Life without internet made smoother.
Get access to tools that help.' @@ -114,4 +115,4 @@ captive: welcome_details: | This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother.

Once you've connected, simply open http://butterbox.lan in your browser. - continue_button: 'Continue' \ No newline at end of file + continue_button: 'Continue' diff --git a/_i18n/es.yml b/_i18n/es.yml index a831ff2..8348359 100644 --- a/_i18n/es.yml +++ b/_i18n/es.yml @@ -1,3 +1,4 @@ +language: es site_name: 'Mantequilla' page_logo_alt: 'Logo de la aplicación Mantequilla' title: 'Para hacer tu vida sin Internet más fácil.
Obtén herramientas que ayudan.' diff --git a/_i18n/fr.yml b/_i18n/fr.yml index 23ce554..d5cb68b 100644 --- a/_i18n/fr.yml +++ b/_i18n/fr.yml @@ -1,3 +1,4 @@ +language: fr modal: info_list: - Par l'équipe Butter diff --git a/_i18n/fr_SN.yml b/_i18n/fr_SN.yml index 3c5880a..7f0eaa6 100644 --- a/_i18n/fr_SN.yml +++ b/_i18n/fr_SN.yml @@ -1,3 +1,4 @@ +language: fr page_logo_alt: Logo de l'application Butter title: Restez connectés, même sans la connexion Internet.
Les outils qu'il faut. diff --git a/_i18n/pt.yml b/_i18n/pt.yml index b012879..ad9d9a5 100644 --- a/_i18n/pt.yml +++ b/_i18n/pt.yml @@ -1,3 +1,4 @@ +language: pt fdroid_button_text: Descarregar o Butter app_tiles_image_alt: Coleção de funcionalidades da app Butter view_all_apps: Ver todas as apps diff --git a/_i18n/pt_PT.yml b/_i18n/pt_PT.yml index 766daa5..16edc20 100644 --- a/_i18n/pt_PT.yml +++ b/_i18n/pt_PT.yml @@ -1,3 +1,4 @@ +language: pt site_name: Caixa Butter page_logo_alt: Logotipo do recurso da app Butter title: A vida sem Internet tornou-se mais fácil.
Obtenha acesso a ferramentas diff --git a/_layouts/basic.html b/_layouts/basic.html index 33991ec..1edf91d 100644 --- a/_layouts/basic.html +++ b/_layouts/basic.html @@ -1,5 +1,6 @@ - + + @@ -7,8 +8,14 @@ {% include seo.html %} {% t title %} + +{% capture lang %}{% t language %}{% endcapture %} +{% if lang == 'bo' %} + +{% else %} + +{% endif %} -
diff --git a/_scss/helpers/typography.scss b/_scss/helpers/typography.scss index 9aa20d4..d213380 100644 --- a/_scss/helpers/typography.scss +++ b/_scss/helpers/typography.scss @@ -5,6 +5,7 @@ font-family: 'Poppins'; font-style: normal; font-weight: 400; + unicode-range: U+0000-007F; src: url('../fonts/poppins-v15-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('../fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -13,11 +14,36 @@ url('../fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/poppins-v15-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */ } + +/* Qomolangma-Chuyig */ +@font-face { + font-family: 'Qomolangma-Chuyig'; + font-style: normal; + font-weight: 400; + unicode-range: U+0F00-0FFF; + src: local(''), + url('../fonts/Qomolangma-Chuyig.woff2') format('woff2'), /* Super Modern Browsers */ +} + + +/* MonlamUniOuChan2 */ +@font-face { + font-family: 'MonlamUniOuChan2'; + font-style: normal; + font-weight: 400; + unicode-range: U+0F00-0FFF; + src: local(''), + url('../fonts/MonlamUniOuChan2.woff') format('woff'), /* Super Modern Browsers */ + +} + + /* poppins-600 - latin */ @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; + unicode-range: U+0000-007F; src: url('../fonts/poppins-v15-latin-600.eot'); /* IE9 Compat Modes */ src: local(''), url('../fonts/poppins-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -31,6 +57,7 @@ font-family: 'Poppins'; font-style: normal; font-weight: 700; + unicode-range: U+0000-007F; src: url('../fonts/poppins-v15-latin-700.eot'); /* IE9 Compat Modes */ src: local(''), url('../fonts/poppins-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ @@ -44,6 +71,7 @@ font-family: 'Prata'; font-style: normal; font-weight: 400; + unicode-range: U+0000-007F; src: url('../fonts/prata-v13-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('../fonts/prata-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ diff --git a/assets/css/_kanglam-branding.scss b/assets/css/_kanglam-branding.scss new file mode 100644 index 0000000..6ad5203 --- /dev/null +++ b/assets/css/_kanglam-branding.scss @@ -0,0 +1,53 @@ +body { + background: url('/assets/images/banner.avif') center/cover no-repeat; + background-size: cover; /* ensure image covers the whole viewport */ + background-position: center; + color: #ffba00; +} + +/* Gradient overlay on top of image */ +body::before { + content: ""; + position: fixed; /* cover the viewport */ + top: 0; + left: 0; + width: 100%; + height: 100svh; + z-index: -1; /* behind content, above body bg */ + + background-color: #461901; /* solid overlay color */ + opacity: 0.8; /* adjust overlay intensity */ +} + +.homepage-subtitle { + color: #ffba00; +} + +.language-selector-container, +.card { + background: linear-gradient(to right top, #ff6900 0%, #7e2a0c 100%); + border-width: 1px; + color: #ffd230; + border-color: #fd9a00; +} + +a:link, +a:visited { + color: #ffd230; +} + +.header .language-selector { + background: linear-gradient(to right top, #ff6900 0%, #7e2a0c 100%); + border-color: #fd9a00; + border-width: 1px; +} + +.header__text h2.modal__title { + color: #ffd230; +} + +div.modal__container.language-selector-container { + border: 1px solid #fd9a00; /* border width and color */ + border-radius: 8px; /* optional: rounded corners */ +} + diff --git a/assets/css/_kanglam-fonts.scss b/assets/css/_kanglam-fonts.scss new file mode 100644 index 0000000..4865097 --- /dev/null +++ b/assets/css/_kanglam-fonts.scss @@ -0,0 +1,35 @@ +@font-face { + font-family: 'MonlamUniOuChan2'; + src: url('./fonts/MonlamUniOuChan2.woff') format('woff'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Qomolangma-Chuyig'; + src: url('./fonts/Qomolangma-Chuyig.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +html { + font-family: 'MonlamUniOuChan2', system-ui, sans-serif; + } + +body { + font-family: 'MonlamUniOuChan2', system-ui, sans-serif; + } + +.homepage-subtitle { + font-size: 1.5em; + font-family: 'MonlamUniOuChan2', system-ui, sans-serif; +} + +.title { + font-family: 'Qomolangma-Chuyig', sans-serif; + font-size: 4em; + padding-top: 0.25em; + +} diff --git a/assets/css/style-kanglam.scss b/assets/css/style-kanglam.scss new file mode 100644 index 0000000..77394cd --- /dev/null +++ b/assets/css/style-kanglam.scss @@ -0,0 +1,10 @@ +--- +--- +@import "helpers/normalize"; +@import "helpers/typography"; +@import "helpers/variables"; +@import "helpers/utilities"; +@import "libs/micromodal"; +@import "pages/home"; +@import "kanglam-branding"; +@import "kanglam-fonts"; diff --git a/assets/css/style.scss b/assets/css/style.scss index 43d390c..4e929fd 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -1,9 +1,9 @@ --- --- - @import "helpers/normalize"; @import "helpers/typography"; @import "helpers/variables"; @import "helpers/utilities"; @import "libs/micromodal"; @import "pages/home"; +@import "kanglam-branding"; diff --git a/assets/fonts/MonlamUniOuChan2.woff b/assets/fonts/MonlamUniOuChan2.woff new file mode 100644 index 0000000..a9e69c6 Binary files /dev/null and b/assets/fonts/MonlamUniOuChan2.woff differ diff --git a/assets/fonts/Qomolangma-Chuyig.woff2 b/assets/fonts/Qomolangma-Chuyig.woff2 new file mode 100644 index 0000000..1c849e4 Binary files /dev/null and b/assets/fonts/Qomolangma-Chuyig.woff2 differ diff --git a/assets/images/banner.avif b/assets/images/banner.avif new file mode 100644 index 0000000..3c9ccd1 Binary files /dev/null and b/assets/images/banner.avif differ diff --git a/assets/images/kanglam-logo.svg b/assets/images/kanglam-logo.svg new file mode 100644 index 0000000..d6a296e --- /dev/null +++ b/assets/images/kanglam-logo.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index 9187766..5093fbe 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ layout: default
- Paddy, the Butter Box Mascot

{% t butter_box_title %}

{% t butter_box_subtitle %}

@@ -34,4 +34,4 @@ layout: default
- \ No newline at end of file +