Merge pull request #97 from themotte/adding_image_assets
Adding image assets
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 616 KiB |
Before Width: | Height: | Size: 277 KiB After Width: | Height: | Size: 391 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 481 KiB After Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 296 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 616 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 616 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 1.3 MiB |
8
files/assets/images/TheMotte/sources.txt
Normal 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
|
Before Width: | Height: | Size: 6.4 KiB |
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|