diff --git a/src/camps/models.py b/src/camps/models.py index 055fa963..e3548556 100644 --- a/src/camps/models.py +++ b/src/camps/models.py @@ -91,6 +91,10 @@ class Camp(CreatedUpdatedModel, UUIDModel): def logo_small(self): return 'img/%(slug)s/logo/%(slug)s-logo-small.png' % {'slug': self.slug} + @property + def logo_small_svg(self): + return 'img/%(slug)s/logo/%(slug)s-logo-small.svg' % {'slug': self.slug} + @property def logo_large(self): return 'img/%(slug)s/logo/%(slug)s-logo-large.png' % {'slug': self.slug} @@ -173,4 +177,3 @@ class Camp(CreatedUpdatedModel, UUIDModel): return False else: return True - diff --git a/src/static_src/css/bornhack.css b/src/static_src/css/bornhack.css index 7228a101..3bfe53f1 100644 --- a/src/static_src/css/bornhack.css +++ b/src/static_src/css/bornhack.css @@ -29,6 +29,10 @@ a, a:active, a:focus { border-bottom: 1px solid rgb(250, 250, 250); } +.navbar .navbar-brand { + height: 75px; +} + .navbar-fixed-top { min-height: 70px; } diff --git a/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.png b/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.png index 9e53d3c9..af7242b1 100644 Binary files a/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.png and b/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.png differ diff --git a/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.svg b/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.svg new file mode 100644 index 00000000..787e1852 --- /dev/null +++ b/src/static_src/img/bornhack-2017/logo/bornhack-2017-logo-small.svg @@ -0,0 +1,52 @@ + + + + bornhack-2017-logo-small + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/static_src/img/logo-small.png b/src/static_src/img/logo-small.png index 1529b2d6..7ac0501a 100644 Binary files a/src/static_src/img/logo-small.png and b/src/static_src/img/logo-small.png differ diff --git a/src/static_src/img/logo-small.svg b/src/static_src/img/logo-small.svg new file mode 100644 index 00000000..b3d62499 --- /dev/null +++ b/src/static_src/img/logo-small.svg @@ -0,0 +1,49 @@ + + + + logo-small + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/templates/base.html b/src/templates/base.html index b66c74aa..3f418b8e 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -49,11 +49,15 @@ {% if request.resolver_match.kwargs.camp_slug and camp %} - + + bornhack + {% else %} - + + bornhack + {% endif %} @@ -119,4 +123,3 @@ -