Skip to content

Commit

Permalink
Add favicon specifications and Open Graph Protocol in HTML template
Browse files Browse the repository at this point in the history
  • Loading branch information
pantunes committed Dec 25, 2023
1 parent d940e0c commit f82e4f1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
Binary file added exchange_radar/web/static/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added exchange_radar/web/static/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added exchange_radar/web/static/favicon/favicon.ico
Binary file not shown.
18 changes: 13 additions & 5 deletions exchange_radar/web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,24 @@
<head>
<title>{% block title %}{% endblock %}</title>
<meta charset="utf-8"/>

<link rel="shortcut icon" href="#">

<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{{ url_for('static', path='favicon/favicon.ico') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', path='favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', path='favicon/favicon-16x16.png') }}">
<!--Open Graph Protocol -->
<meta name="title" property="og:title" content="Exchange Radar"/>
<meta property="og:type" content="website">
<meta name="image" property="og:image" content="{{ url_for('static', path='favicon/favicon-180x180.png') }}"/>
<meta name="description" property="og:description" content="Get real-time trading data from different Crypto Exchanges and configure hooks, trends, notifications, messages based on custom rules."/>
<meta property="og:url" content="{{ http_url }}"/>
<!-- CSS -->
<link rel="stylesheet" href="{{ url_for('static', path='css/style.css') }}" type="text/css"/>
<link rel="stylesheet" href="{{ url_for('static', path='css/theme.css') }}" type="text/css"/>
<link rel="stylesheet" href="{{ url_for('static', path='css/custom.css') }}" type="text/css"/>
<link rel="stylesheet" href="{{ url_for('static', path='css/exchanges.css') }}" type="text/css"/>

<!-- Fonts -->
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" type="text/css"/>

<!-- JS -->
<script src="https://code.jquery.com/jquery-3.6.4.min.js" integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-socket-js/1.0.0/web_socket.min.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exclude = .git,venv

[isort]
line_length = 88
known_first_party = auth_users_service,config
known_first_party = exchange_radar,config
multi_line_output = 3
default_section = THIRDPARTY
skip = venv/
Expand Down

0 comments on commit f82e4f1

Please sign in to comment.