Skip to content

Commit 669d870

Browse files
Abhirup-99timabbott
authored andcommitted
logo: Update to use current Zulip logo.
Fixes #49.
1 parent bcd29a1 commit 669d870

7 files changed

+16
-6
lines changed

assets/img/zulip.svg

+10
Loading

assets/img/zulip2.png

-703 Bytes
Binary file not shown.

default_settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'''
4444

4545
if DEBUG:
46-
zulip_icon_url = 'http://127.0.0.1:4000/assets/img/zulip2.png'
46+
zulip_icon_url = 'http://127.0.0.1:4000/assets/img/zulip.svg'
4747
else:
4848
# Set this according to how you serve your prod assets.
4949
zulip_icon_url = os.getenv("ZULIP_ICON_URL", None)

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export SITE_URL=$github_pages_url
5454
export HTML_DIRECTORY=$html_dir_path
5555
export JSON_DIRECTORY=$json_dir_path
5656
export HTML_ROOT=""
57-
export ZULIP_ICON_URL="${github_pages_url}/assets/img/zulip2.png"
57+
export ZULIP_ICON_URL="${github_pages_url}/assets/img/zulip.svg"
5858

5959
if [ ! -d $json_dir_path ]; then
6060
mkdir -p $json_dir_path

hosting.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ testing. Here is a typical diff:
2222
< # Set this according to how you serve your prod assets.
2323
< zulip_icon_url = None
2424
---
25-
> zulip_icon_url = 'http://showell.github.io/assets/img/zulip2.png'
25+
> zulip_icon_url = 'http://showell.github.io/assets/img/zulip.svg'
2626
82,87c80
2727
< raise Exception('''
2828
< You need to set html_directory for prod, and it
@@ -45,7 +45,7 @@ You will also want to copy layouts and assets to your production
4545
directory. These include:
4646

4747
* layouts
48-
* zulip2.png
48+
* zulip.svg
4949

5050
### Jekyll
5151

instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ You may wish to copy the following assets into your Jekyll directory
6060
structure:
6161

6262
- `layouts/archive.html` -> `_layouts`
63-
- `assets/img/zulip2.png`
63+
- `assets/img/zulip.svg`
6464

6565
## Go to production
6666

lib/html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def link_to_zulip(
9898
# (if it's available)
9999
post_link = zulip_post_url(zulip_url, stream_id, stream_name, topic_name, msg_id)
100100
if zulip_icon_url:
101-
img_tag = f'<img src="{zulip_icon_url}" alt="view this post on Zulip">'
101+
img_tag = f'<img src="{zulip_icon_url}" alt="view this post on Zulip" style="width:20px;height:20px;">'
102102
else:
103103
img_tag = ''
104104
zulip_link = f'<a href="{post_link}" class="zl">{img_tag}</a>'

0 commit comments

Comments
 (0)