Merge pull request #97 from themotte/adding_image_assets

Adding image assets
This commit is contained in:
Ben Rog-Wilhelm 2022-06-02 19:46:10 -05:00 committed by GitHub
commit a9fd8875da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 13 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 616 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 KiB

After

Width:  |  Height:  |  Size: 391 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

After

Width:  |  Height:  |  Size: 4 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 296 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 616 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 616 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

View file

@ -0,0 +1,8 @@
alert.webp: https://unsplash.com/photos/RBwBmTOkNlc
banner.webp: https://unsplash.com/photos/j-eOUoVUmQQ
cover.webp: https://unsplash.com/photos/1JBOZwuW7sI
default_text.webp: https://unsplash.com/photos/xG8IQMqMITM
headericon.webp: https://unsplash.com/photos/RBwBmTOkNlc
icon.webp: https://unsplash.com/photos/RBwBmTOkNlc
logo.webp: CUSTOM
site_preview.webp: https://unsplash.com/photos/QTGIHhAhdMU

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -32,13 +32,13 @@ class Sub(Base):
@lazy
def sidebar_url(self):
if self.sidebarurl: return SITE_FULL + self.sidebarurl
return f'/assets/images/{SITE_NAME}/sidebar.webp?v=1041'
return None # Add default sidebar for subs if subs are used again
@property
@lazy
def banner_url(self):
if self.bannerurl: return SITE_FULL + self.bannerurl
return f'/assets/images/{SITE_NAME}/banner.webp?v=1046'
return None # Add default banner for subs if subs are used again
@property
@lazy

View file

@ -26,7 +26,7 @@
<body id="login">
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent fixed-top border-0">
<div class="container-fluid">
<div class="container-fluid d-none">
<button class="navbar-toggler d-none" role="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>

View file

@ -22,7 +22,7 @@
<body id="login">
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent fixed-top border-0">
<div class="container-fluid">
<div class="container-fluid d-none">
<button class="navbar-toggler d-none" role="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>

View file

@ -39,7 +39,7 @@
<body id="login">
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent fixed-top border-0">
<div class="container-fluid">
<div class="container-fluid d-none">
<button class="navbar-toggler d-none" role="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>