Skip to content

Commit

Permalink
Add favicon to the project
Browse files Browse the repository at this point in the history
- Added favicon icon files to the mathesar/static/non-code/icons directory.
- Updated mathesar/template/mathesar/base.html template to link the favicon in the head section.
  • Loading branch information
sharathvgts committed Nov 26, 2024
1 parent 443b183 commit 68525cd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
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 mathesar/static/non-code/icons/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 mathesar/static/non-code/icons/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 mathesar/static/non-code/icons/favicon.ico
Binary file not shown.
9 changes: 7 additions & 2 deletions mathesar/templates/mathesar/base.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{% load i18n static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mathesar - {% block title %}{% endblock %}</title>

<!-- TODO: Specify Mathesar favicon. Using a dummy data URI until then. -->
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
<link rel="icon" type="image/x-icon"href="{% static 'icons/favicon.ico' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'icons/favicon-16x16.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'icons/favicon-32x32.png' %}">
<link rel="icon" type="image/png" sizes="180x180" href="{% static 'icons/favicon-180x180.png' %}">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">


<style type="text/css">
html,
Expand Down

0 comments on commit 68525cd

Please sign in to comment.