From aba2ed43d9e18cd08da0e0d9e801da18b05b3c6f Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Wed, 11 Jun 2025 15:24:53 +0200 Subject: [PATCH] progress --- themes/basspistol2025/assets/css/style.css | 22 +- .../layouts/_default/baseof.html | 2 +- .../layouts/partials/body/navigation.html | 7 +- .../partials/body/peertube.backup.html | 202 ++++++++++++++++++ .../layouts/partials/body/peertube.html | 78 ++++--- 5 files changed, 276 insertions(+), 35 deletions(-) create mode 100644 themes/basspistol2025/layouts/partials/body/peertube.backup.html diff --git a/themes/basspistol2025/assets/css/style.css b/themes/basspistol2025/assets/css/style.css index 2f6d713..1877fcb 100644 --- a/themes/basspistol2025/assets/css/style.css +++ b/themes/basspistol2025/assets/css/style.css @@ -38,21 +38,29 @@ body { display: inline; } #navigation { - position: fixed; - top: 0px; - left: 0px; - z-index: 1000; +position: fixed; +bottom: 20px; +height: 150px; +left: 50%; +float: right; +transform: translateX(-50%); +padding: 10px 20px; +box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); +z-index: 1000; /* Ensures nav stays on top */ + + + } nav { - + transition: all unset; color: orange; - background-color: rgba(0,0,0,0.5); + background-color: rgba(180,100,100,0.5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); - transition: all unset; border-radius: 5px; + ul { display: flex; list-style-type: none; diff --git a/themes/basspistol2025/layouts/_default/baseof.html b/themes/basspistol2025/layouts/_default/baseof.html index f93a4af..b3a86cf 100644 --- a/themes/basspistol2025/layouts/_default/baseof.html +++ b/themes/basspistol2025/layouts/_default/baseof.html @@ -15,10 +15,10 @@ +{{ block "navigation" . }}{{ end }}
-{{ block "navigation" . }}{{ end }} {{ block "hero" . }}{{ end }} diff --git a/themes/basspistol2025/layouts/partials/body/navigation.html b/themes/basspistol2025/layouts/partials/body/navigation.html index 35d0df8..0cebd1a 100644 --- a/themes/basspistol2025/layouts/partials/body/navigation.html +++ b/themes/basspistol2025/layouts/partials/body/navigation.html @@ -1,5 +1,6 @@ - + diff --git a/themes/basspistol2025/layouts/partials/body/peertube.backup.html b/themes/basspistol2025/layouts/partials/body/peertube.backup.html new file mode 100644 index 0000000..0c1ae1f --- /dev/null +++ b/themes/basspistol2025/layouts/partials/body/peertube.backup.html @@ -0,0 +1,202 @@ + +{{ $data := dict }} +{{ $url := "https://v.basspistol.org/api/v1/videos?isLocal=true&count=100" }} + +
+ +
+

BassTube

+

Videos from the deepweb. +
Decentralized, peer-to-peer, for the people! +

+
+ + + + + +{{ with try (resources.GetRemote $url) }} + {{ with .Err }} + {{ errorf "%s" . }} + {{ else with .Value }} + {{ $data = .Content | transform.Unmarshal }} + {{ else }} + {{ errorf "Unable to get remote resource %q" $url }} + {{ end }} +{{ end }} + +{{ with $data.data }} +{{ range . | shuffle | last 5 }} + + +
+
+ + + + +
+

{{ .name }}

+

{{ .account.displayName }}

+
+
+
+ +{{ end }} + +{{ end }} + +
diff --git a/themes/basspistol2025/layouts/partials/body/peertube.html b/themes/basspistol2025/layouts/partials/body/peertube.html index 813d56f..11e47ba 100644 --- a/themes/basspistol2025/layouts/partials/body/peertube.html +++ b/themes/basspistol2025/layouts/partials/body/peertube.html @@ -80,42 +80,72 @@ .section-headers { padding: 80px; - flex: 1 1 300px; + flex: 1 1 300px; + display: flex; } } +.substance { +position: relative; + display: flex; + flex-wrap: wrap; + +} {{ $data := dict }} -{{ $url := "https://v.basspistol.org/api/v1/video-playlists/tubcTiUQaJ29JxeCzRqvUc/videos" }} +{{ $url := "https://v.basspistol.org/api/v1/video-playlists/tubcTiUQaJ29JxeCzRqvUc/videos?count=100" }}
+
+
+

BassTube

+

Videos from the deepweb. +
Decentralized, peer-to-peer, for the people! +
All you saw was sound! +

+
 
-
-

BassTube

-

Videos from the deepweb. -
Decentralized, peer-to-peer, for the people! -

-
+ + ...........'';,.. + .........'',,;:o:,. + .......',;;::::::;;;,. + .....,;:ooooooooooo;,,''''. + ....,;ooooooooooooooo;,'..'''''. + ...,:ooooooooooooooooo;''......'''. + ..,;:ooooooooooooooooo',,.........,'. + ..,,;:,ooooo;;:ooo;o,:;,',.........;,''. + ..,'..,,;:o,''.,;;'''..'';,,,,,,''',;'''. + ..,'......':ooo:.......'';,'''''''',;, + ..,,.......,:o:'.......,'oooo:::::;:,.',;, + ..','.................',,..'',,,;;;;;;,.,:. + ...,,'...............',;oooooooooo:;;:,;oo,. + ....,,'.............,,;ooooooooo;,..'',oooo,. + .....',,'........',,;ooo::;;,'........'oooo;. + .......'',,'''',,;;;,,'...............';;;'. + ...........'''''. +
+
-{{ with try (resources.GetRemote $url) }} - {{ with .Err }} - {{ errorf "%s" . }} - {{ else with .Value }} - {{ $data = .Content | transform.Unmarshal }} - {{ else }} - {{ errorf "Unable to get remote resource %q" $url }} +
+
+ {{ with try (resources.GetRemote $url) }} + {{ with .Err }} + {{ errorf "%s" . }} + {{ else with .Value }} + {{ $data = .Content | transform.Unmarshal }} + {{ else }} + {{ errorf "Unable to get remote resource %q" $url }} + {{ end }} {{ end }} -{{ end }} - -{{ with $data.data }} -{{ range . | shuffle | last 5 }} + {{ with $data.data }} + {{ range . | shuffle | last 5 }}
@@ -191,12 +221,12 @@

{{ .video.name }}

{{ .video.account.displayName }}

-
+
-{{ end }} - -{{ end }} - + {{ end }} + + {{ end }} +