diff --git a/.github/workflows/dispatch-private-marketing-build.yaml b/.github/workflows/dispatch-private-marketing-build.yaml index 040cf3002..b4d3cfa46 100644 --- a/.github/workflows/dispatch-private-marketing-build.yaml +++ b/.github/workflows/dispatch-private-marketing-build.yaml @@ -15,7 +15,9 @@ on: - packages/fonts/css/locale-fallbacks.css - packages/fonts/files/FluxerSans/** - packages/fonts/files/FluxerMono/** + - packages/fonts/marketing/** - packages/i18n/marketing/** + - fluxer_static/marketing/branding/** - .github/workflows/dispatch-private-marketing-build.yaml permissions: diff --git a/fluxer_static/marketing/branding/logo-black-white-interior.svg b/fluxer_static/marketing/branding/logo-black-white-interior.svg new file mode 100644 index 000000000..11bd6a5b4 --- /dev/null +++ b/fluxer_static/marketing/branding/logo-black-white-interior.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/fluxer_static/marketing/branding/logo-color-white-interior.svg b/fluxer_static/marketing/branding/logo-color-white-interior.svg new file mode 100644 index 000000000..38521b07e --- /dev/null +++ b/fluxer_static/marketing/branding/logo-color-white-interior.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/fluxer_static/marketing/branding/symbol-black-white-interior.svg b/fluxer_static/marketing/branding/symbol-black-white-interior.svg new file mode 100644 index 000000000..f234a48a3 --- /dev/null +++ b/fluxer_static/marketing/branding/symbol-black-white-interior.svg @@ -0,0 +1,4 @@ + + + + diff --git a/fluxer_static/marketing/branding/symbol-color-white-interior.svg b/fluxer_static/marketing/branding/symbol-color-white-interior.svg new file mode 100644 index 000000000..b2ff17a70 --- /dev/null +++ b/fluxer_static/marketing/branding/symbol-color-white-interior.svg @@ -0,0 +1,4 @@ + + + + diff --git a/fluxer_static/marketing/screenshots/mobile-480w.avif b/fluxer_static/marketing/screenshots/mobile-480w.avif deleted file mode 100644 index 9443df59a..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-480w.avif and /dev/null differ diff --git a/fluxer_static/marketing/screenshots/mobile-480w.png b/fluxer_static/marketing/screenshots/mobile-480w.png deleted file mode 100644 index 0fd7ddaf1..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-480w.png and /dev/null differ diff --git a/fluxer_static/marketing/screenshots/mobile-480w.webp b/fluxer_static/marketing/screenshots/mobile-480w.webp deleted file mode 100644 index ee5a7720c..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-480w.webp and /dev/null differ diff --git a/fluxer_static/marketing/screenshots/mobile-768w.avif b/fluxer_static/marketing/screenshots/mobile-768w.avif deleted file mode 100644 index fe3c4d082..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-768w.avif and /dev/null differ diff --git a/fluxer_static/marketing/screenshots/mobile-768w.png b/fluxer_static/marketing/screenshots/mobile-768w.png deleted file mode 100644 index 8d9aad26f..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-768w.png and /dev/null differ diff --git a/fluxer_static/marketing/screenshots/mobile-768w.webp b/fluxer_static/marketing/screenshots/mobile-768w.webp deleted file mode 100644 index d2fc57c91..000000000 Binary files a/fluxer_static/marketing/screenshots/mobile-768w.webp and /dev/null differ diff --git a/packages/fonts/marketing/LICENSE-OFL-1.1.txt b/packages/fonts/marketing/LICENSE-OFL-1.1.txt new file mode 100644 index 000000000..9e80fd3e7 --- /dev/null +++ b/packages/fonts/marketing/LICENSE-OFL-1.1.txt @@ -0,0 +1,99 @@ +Copyright 2022 The Radio Canada Big Project Authors +(https://github.com/googlefonts/radiocanadadisplay) +Copyright 2022 The Noto Project Authors +(https://github.com/notofonts/latin-greek-cyrillic) +Copyright 2022 The Noto Project Authors (https://github.com/notofonts/arabic) +Copyright 2024 The Noto Project Authors (https://github.com/notofonts/hebrew) +Copyright 2022 The Noto Project Authors (https://github.com/notofonts/thai) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the fonts. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/packages/fonts/marketing/NOTICE.md b/packages/fonts/marketing/NOTICE.md new file mode 100644 index 000000000..b021326b4 --- /dev/null +++ b/packages/fonts/marketing/NOTICE.md @@ -0,0 +1,7 @@ +# Marketing font licences + +The Radio Canada Big and Noto Sans webfont files in this directory are +the unmodified variable-font subsets used by the Fluxer marketing site. +They are distributed under the SIL Open Font License, Version 1.1. The +complete license and the bundled copyright notice are in +`LICENSE-OFL-1.1.txt`. diff --git a/packages/fonts/marketing/NotoSans-Arabic.woff2 b/packages/fonts/marketing/NotoSans-Arabic.woff2 new file mode 100644 index 000000000..c80ecec81 Binary files /dev/null and b/packages/fonts/marketing/NotoSans-Arabic.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-Hebrew.woff2 b/packages/fonts/marketing/NotoSans-Hebrew.woff2 new file mode 100644 index 000000000..e9e2b23c0 Binary files /dev/null and b/packages/fonts/marketing/NotoSans-Hebrew.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-Thai.woff2 b/packages/fonts/marketing/NotoSans-Thai.woff2 new file mode 100644 index 000000000..7930730af Binary files /dev/null and b/packages/fonts/marketing/NotoSans-Thai.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-cyrillic-ext.woff2 b/packages/fonts/marketing/NotoSans-cyrillic-ext.woff2 new file mode 100644 index 000000000..01c4086c3 Binary files /dev/null and b/packages/fonts/marketing/NotoSans-cyrillic-ext.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-cyrillic.woff2 b/packages/fonts/marketing/NotoSans-cyrillic.woff2 new file mode 100644 index 000000000..a15d87284 Binary files /dev/null and b/packages/fonts/marketing/NotoSans-cyrillic.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-devanagari.woff2 b/packages/fonts/marketing/NotoSans-devanagari.woff2 new file mode 100644 index 000000000..6f0a5c456 Binary files /dev/null and b/packages/fonts/marketing/NotoSans-devanagari.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-greek-ext.woff2 b/packages/fonts/marketing/NotoSans-greek-ext.woff2 new file mode 100644 index 000000000..b8eab72be Binary files /dev/null and b/packages/fonts/marketing/NotoSans-greek-ext.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-greek.woff2 b/packages/fonts/marketing/NotoSans-greek.woff2 new file mode 100644 index 000000000..0bba4dc4f Binary files /dev/null and b/packages/fonts/marketing/NotoSans-greek.woff2 differ diff --git a/packages/fonts/marketing/NotoSans-vietnamese.woff2 b/packages/fonts/marketing/NotoSans-vietnamese.woff2 new file mode 100644 index 000000000..28bf926bd Binary files /dev/null and b/packages/fonts/marketing/NotoSans-vietnamese.woff2 differ diff --git a/packages/fonts/marketing/RadioCanadaBig-latin-ext.woff2 b/packages/fonts/marketing/RadioCanadaBig-latin-ext.woff2 new file mode 100644 index 000000000..705aa3a3f Binary files /dev/null and b/packages/fonts/marketing/RadioCanadaBig-latin-ext.woff2 differ diff --git a/packages/fonts/marketing/RadioCanadaBig-latin.woff2 b/packages/fonts/marketing/RadioCanadaBig-latin.woff2 new file mode 100644 index 000000000..302e9c4d4 Binary files /dev/null and b/packages/fonts/marketing/RadioCanadaBig-latin.woff2 differ diff --git a/packages/fonts/marketing/fonts.css b/packages/fonts/marketing/fonts.css new file mode 100644 index 000000000..2a56fd0dc --- /dev/null +++ b/packages/fonts/marketing/fonts.css @@ -0,0 +1,116 @@ +/* SPDX-License-Identifier: AGPL-3.0-or-later */ + +@font-face { + font-family: 'Radio Canada Big'; + src: url('RadioCanadaBig-latin.woff2') format('woff2'); + font-display: swap; + font-weight: 400 700; + font-style: normal; + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: 'Radio Canada Big'; + src: url('RadioCanadaBig-latin-ext.woff2') format('woff2'); + font-display: swap; + font-weight: 400 700; + font-style: normal; + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-cyrillic.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-cyrillic-ext.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-devanagari.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-greek.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-greek-ext.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+1F00-1FFF; +} + +@font-face { + font-family: 'Noto Sans'; + src: url('NotoSans-vietnamese.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} + +@font-face { + font-family: 'Noto Sans Arabic'; + src: url('NotoSans-Arabic.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; +} + +@font-face { + font-family: 'Noto Sans Hebrew'; + src: url('NotoSans-Hebrew.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} + +@font-face { + font-family: 'Noto Sans Thai'; + src: url('NotoSans-Thai.woff2') format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; +} + +:root { + --fluxer-font-stack: 'Radio Canada Big', 'Noto Sans', system-ui, sans-serif; +} + +:root:lang(ar) { + --fluxer-font-stack: 'Radio Canada Big', 'Noto Sans Arabic', 'Noto Sans', system-ui, sans-serif; +} + +:root:lang(he) { + --fluxer-font-stack: 'Radio Canada Big', 'Noto Sans Hebrew', 'Noto Sans', system-ui, sans-serif; +} + +:root:lang(th) { + --fluxer-font-stack: 'Radio Canada Big', 'Noto Sans Thai', 'Noto Sans', system-ui, sans-serif; +}