logo to webp

This commit is contained in:
Jean-Baptiste Pasquier 2020-11-17 16:40:30 +01:00
parent a2bad59389
commit d1415f0c3e
No known key found for this signature in database
GPG Key ID: CC04B91B949C163A
11 changed files with 28 additions and 64 deletions

View File

@ -1,28 +1,24 @@
/label ~BUG # What's happening?
### What's happening? Describe in a few words what's happening
*Describe in a few words what's happening* ## Steps to reproduce
### Steps to reproduce How one can reproduce the issue - this is very important
*How one can reproduce the issue - this is very important*
1. Step 1 1. Step 1
2. Step 2 2. Step 2
3. Step 3 3. Step 3
### Relevant logs and/or screenshots ## Relevant logs and/or screenshots
*If possible, please add a screenshot.* If possible, please add a screenshot.
### Your Environment ## Your Environment
(Include relevant details about the environment you experienced the bug in) (Include relevant details about the environment you experienced the bug in)
* Browser name and version: * Browser name and version:
* Operating System and version (desktop or mobile): * Operating System and version (desktop or mobile):
/label ~BUG

View File

@ -1,16 +1,12 @@
## What needs to be done? # What needs to be done
/label ~Feature request
## Technical details ## Technical details
*Are there any technical details worth mentioning?* Are there any technical details worth mentioning?
## Test cases ## Test cases
*Describe here the tests needed in order to validate this feature* Describe here the tests needed in order to validate this feature
1. Step 1 1. Step 1
2. Step 2 2. Step 2
@ -20,3 +16,5 @@
1. Link to user story in wiki 1. Link to user story in wiki
2. other related Gitlab issues 2. other related Gitlab issues
/label ~Feature request

View File

@ -1,40 +1,16 @@
/label ~"New Instance" # Please fill all these info
# Please fill all these info:
## General info ## General info
- Name of the instance: - Name of the instance:
- Domain: - Domain: .hubl.world
## Settings:
- Does the instance allow people to sign up? **Yes / No**
- Does the instance want new people to get a welcome email? **Yes / No**
## Federation:
- Which current instance should see this new instance data? **Please provide the info module by module and include the instance itself.**
- Do those current instances agree to share their public data with this new instance? **Yes / No**
Example:
- *Instance G is the new kid in town*
- *Instance G wants to only see their dashboard, but want to access the circles of A, B, C, D, E & F.*
- *Instance G wants to be able to chat with users from A, B, C, D, E & F.*
- *Instance G wants to be able to see A and B job offers*
Let's say every instances agree to this scenario, the issue should describe the following:
- Dashboard: G
- Circles: A, B, C, D, E, F & G
- Job offers: A, B, F, G
- Users: A, B, C, D, E, F & G
- Profile directory: A, B, C, D, E, F & G
- G agrees that any new instance can see their public data.
## Cosmetics ## Cosmetics
- Logo: - Logo:
- Favicon:
- 4 Colors: - Favicon:
- 4 Colors:
/label ~"New Instance"

View File

@ -1,4 +1,4 @@
## Checklist # Checklist
<!--- <!---
Please, make sure you have changed the topic and also Please, make sure you have changed the topic and also
@ -12,8 +12,6 @@ I have done ...
- [ ] Tests for the changes have been added - [ ] Tests for the changes have been added
- [ ] Docs have been added or updated - [ ] Docs have been added or updated
- [ ] I have assigned my architect to review this merge request - [ ] I have assigned my architect to review this merge request
- [ ] I have checked how to create a [merge request]()
## Issues ## Issues
@ -25,7 +23,6 @@ Format is: Closes #X or Refs #Y
Docs: https://docs.gitlab.com/ee/user/project/issues/closing_issues.html#via-merge-request Docs: https://docs.gitlab.com/ee/user/project/issues/closing_issues.html#via-merge-request
--> -->
## Time spent ## Time spent
<!--- <!---
@ -38,7 +35,6 @@ Docs: https://docs.gitlab.com/ee/workflow/time_tracking.html
/spend Xh /spend Xh
## Assignee ## Assignee
<!--- <!---
@ -49,7 +45,6 @@ Docs: https://docs.gitlab.com/ee/user/project/quick_actions.html
/assign /assign
## Feedback ## Feedback
<!--- <!---
@ -57,5 +52,4 @@ Did you encounter any other problems you want to share with us?
Optional. Feel free to remove this section if you don't have any feedback. Optional. Feel free to remove this section if you don't have any feedback.
--> -->
<!--- Thank you for you contribution! --> <!--- Thank you for you contribution! -->

View File

@ -108,8 +108,8 @@ On `config.json`:
```json ```json
"clientName": "Hubl", "clientName": "Hubl",
"clientFavicon": "/images/favicon.png", "clientFavicon": "/images/favicon.webp",
"clientLogo": "/images/logo.png", "clientLogo": "/images/logo.webp",
"clientLogoHeight": "32px", "clientLogoHeight": "32px",
"clientCSS": "/path/to/custom.css", "clientCSS": "/path/to/custom.css",
"authorityName": "djangoldp-server-name" "authorityName": "djangoldp-server-name"

View File

@ -1,7 +1,7 @@
.header-left .header-left
.logo .logo
solid-link(next='dashboard') solid-link(next='dashboard')
img(src=`${clientLogo || '/images/logo.png'}` style=`max-height:${clientLogoHeight || '74px'}`) img(src=`${clientLogo || '/images/logo.webp'}` style=`max-height:${clientLogoHeight || '74px'}`)
span.beta-tag(data-trans='header.beta') span.beta-tag(data-trans='header.beta')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

BIN
src/images/favicon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

BIN
src/images/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -9,7 +9,7 @@ html(lang="en")
if clientFavicon if clientFavicon
link(rel="icon" type="image/png" href=`${clientFavicon}`) link(rel="icon" type="image/png" href=`${clientFavicon}`)
else else
link(rel="icon" type="image/png" href="/images/favicon.png") link(rel="icon" type="image/webp" href="/images/favicon.webp")
include dependencies.pug include dependencies.pug
if clientCSS if clientCSS
link(rel='stylesheet', href=`${clientCSS}`) link(rel='stylesheet', href=`${clientCSS}`)