Skip to content

Commit

Permalink
make branding a bit easier
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumukh committed Jun 9, 2024
1 parent 1a10e4a commit 82a3791
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions appname/services/branding.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def support_email(self):
def icon_path(self):
return "public/ignite/ignite-logo@2x.png"

@property
def svg_icon(self):
return "public/ignite/ignite-icon.svg"

@property
def website_domain(self):
return "appname.com"
Expand Down
4 changes: 2 additions & 2 deletions appname/templates/lander/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<div class="{{bg_color_class}}"></div>
<header class="header text-primary">
<div class="container nav-header ">
<a href="https://github.com/sumukh/ignite" target="_blank" class="logo">
<img src="{{ url_for('static', filename='public/ignite/ignite-icon.svg') }}" class="logo-icon h-6" alt="Ignite">
<a href="." target="_blank" class="logo">
<img src="{{ url_for('static', filename=branding.svg_icon) }}" class="logo-icon h-6" alt="Ignite">
ignite
</a>
<div class="links">
Expand Down

0 comments on commit 82a3791

Please sign in to comment.