Rainbow logo

This commit is contained in:
Jonah Aragon 2023-06-02 19:01:34 -05:00
parent f3144efeb2
commit ff60d624fc
No known key found for this signature in database
11 changed files with 47 additions and 21 deletions

View File

@ -26,8 +26,8 @@ on:
- '*' - '*'
jobs: jobs:
build: production:
name: Create Release name: Push release to production
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@ -44,6 +44,18 @@ jobs:
run: | run: |
git push origin HEAD:production git push origin HEAD:production
build:
name: Create release packages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: '0'
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
submodules: 'true'
- name: Pages setup - name: Pages setup
uses: actions/configure-pages@v3 uses: actions/configure-pages@v3
@ -102,6 +114,14 @@ jobs:
name: privacy_guides.zim name: privacy_guides.zim
path: privacy_guides.zim path: privacy_guides.zim
release:
name: Create release notes
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create release notes - name: Create release notes
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:

View File

@ -4,15 +4,18 @@ definitions:
{%- if page.meta.cover -%} {%- if page.meta.cover -%}
theme/assets/img/cover/{{ page.meta.cover }} theme/assets/img/cover/{{ page.meta.cover }}
{%- else -%} {%- else -%}
{{ layout.background_image or "" }} {{ layout.background_image or "theme/assets/brand/PNG/Banner/cover-progress-notext-blur.png" }}
{%- endif -%} {%- endif -%}
- &background_color >- - &background_color >-
{%- if page.meta.cover -%}
#f7f7fcaa #f7f7fcaa
{%- else -%}
#FFD06F #- &background_color >-
{%- endif -%} # {%- if page.meta.cover -%}
# #f7f7fcaa
# {%- else -%}
# #FFD06F
# {%- endif -%}
- &color >- - &color >-
{{ layout.color or "#2d2d2d" }} {{ layout.color or "#2d2d2d" }}
@ -72,11 +75,13 @@ definitions:
{{ page.meta.icon or "" }} {{ page.meta.icon or "" }}
- &logo >- - &logo >-
{%- if page.meta.cover -%}
theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg
{%- elif config.theme.logo -%}
{{ config.docs_dir }}/{{ config.theme.logo }} #{%- if page.meta.cover -%}
{%- endif -%} # theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg
#{%- elif config.theme.logo -%}
# {{ config.docs_dir }}/{{ config.theme.logo }}
#{%- endif -%}
# Meta tags # Meta tags
tags: tags:

View File

@ -61,6 +61,7 @@ repo_name: ""
theme: theme:
name: material name: material
custom_dir: ../theme custom_dir: ../theme
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
favicon: assets/brand/png/favicon/favicon-32x32.png favicon: assets/brand/png/favicon/favicon-32x32.png
icon: icon:
repo: simple/github repo: simple/github

View File

@ -53,6 +53,7 @@ extra:
theme: theme:
language: en language: en
# this logo needs to be set separately because the relative path is different
logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Public Sans text: Public Sans

View File

@ -53,7 +53,6 @@ extra:
theme: theme:
language: es language: es
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Public Sans text: Public Sans
code: DM Mono code: DM Mono

View File

@ -53,7 +53,6 @@ extra:
theme: theme:
language: fr language: fr
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Public Sans text: Public Sans
code: DM Mono code: DM Mono

View File

@ -57,7 +57,6 @@ extra_css:
theme: theme:
language: he language: he
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Open Sans text: Open Sans
code: Cousine code: Cousine

View File

@ -53,7 +53,6 @@ extra:
theme: theme:
language: nl language: nl
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Public Sans text: Public Sans
code: DM Mono code: DM Mono

View File

@ -42,6 +42,7 @@ extra:
theme: theme:
language: en language: en
# this logo needs to be set separately because the relative path is different
logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
font: font:
text: Public Sans text: Public Sans
@ -75,6 +76,8 @@ theme:
plugins: plugins:
offline: offline:
enabled: true enabled: true
social:
enabled: false
markdown_extensions: markdown_extensions:
pymdownx.snippets: pymdownx.snippets:

@ -1 +1 @@
Subproject commit 8894180936c111540bfefefe0b51e235d1e915e6 Subproject commit 3a142da11d7a1e784d18011134510933fd2406f0

View File

@ -19,5 +19,5 @@
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE. IN THE SOFTWARE.
#} --> #} -->
<img src="{{ 'assets/brand/SVG/Logo/privacy-guides-logo-notext.svg#only-light' | url }}" alt="logo"> <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-rainbow-logo-notext.svg#only-light' | url }}" alt="logo">
<img src="{{ 'assets/brand/SVG/Logo/privacy-guides-logo-notext-darkbg.svg#only-dark' | url }}" alt="logo"> <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-rainbow-logo-notext-darkbg.svg#only-dark' | url }}" alt="logo">