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:
build:
name: Create Release
production:
name: Push release to production
runs-on: ubuntu-latest
permissions:
contents: write
@ -39,10 +39,22 @@ jobs:
fetch-depth: '0'
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
submodules: 'true'
- name: Push to production branch
run: |
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
uses: actions/configure-pages@v3
@ -102,6 +114,14 @@ jobs:
name: 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
uses: ncipollo/release-action@v1
with:

View File

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

View File

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

View File

@ -53,6 +53,7 @@ extra:
theme:
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
font:
text: Public Sans

View File

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

View File

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

View File

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

View File

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

View File

@ -42,6 +42,7 @@ extra:
theme:
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
font:
text: Public Sans
@ -75,6 +76,8 @@ theme:
plugins:
offline:
enabled: true
social:
enabled: false
markdown_extensions:
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
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-logo-notext-darkbg.svg#only-dark' | 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-rainbow-logo-notext-darkbg.svg#only-dark' | url }}" alt="logo">