refactor: Remove "theme" folder and refactor css

This commit is contained in:
ChronosXYZ 2024-06-18 03:06:02 +03:00
parent 3b33418cd2
commit e0b7252e36
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791
21 changed files with 24 additions and 87 deletions

View File

@ -29,19 +29,13 @@ body {
}
aside {
border: 1px solid;
border-radius: 3mm;
padding: 16px;
padding-top: 0;
padding-bottom: 0;
padding-top: 0 !important;
padding-bottom: 0 !important;
min-width: 5em;
align-self: start;
}
#player {
border: 1px solid;
border-radius: 3mm;
padding: 16px;
display: flex;
justify-content: center;
align-items: center;
@ -49,10 +43,14 @@ aside {
height: 6.5em;
}
#content {
border: 1px solid;
border-radius: 3mm;
.block {
border: 1px solid #ffffff;
border-radius: 5mm;
padding: 16px;
}
#content {
padding-top: 0;
padding-bottom: 0;
width: 50vw;
@ -208,4 +206,4 @@ article {
order: 4;
// margin-bottom: 7px;
}
}
}

View File

@ -1,7 +1,6 @@
baseURL = 'https://radio.nexusnest.link/'
languageCode = 'en-us'
baseURL = 'https://radio.antiope.link/'
languageCode = 'ru-RU'
title = 'SouthWest Radio'
theme = "swr"
[menu]
[[menu.main]]

View File

@ -3,11 +3,11 @@
Отбираем самую годную музыку без привязки к жанрам. Тщательно подобранный плейлист музыки будет сопровождать ваш день. Делаем все возможное, чтобы заслужить внимание ваших ушей.
*Если у вас не работает веб-плеер, вы можете воспользоваться прямой ссылкой на поток*:
- [AAC 192kbps](https://azuracast.nexusnest.link/listen/southwest_radio/radio.aac) (для пользователей iOS, macOS)
- [OGG 192kbps](https://azuracast.nexusnest.link/listen/southwest_radio/radio.ogg) (для всех остальных)
- [AAC 192kbps](https://azuracast.antiope.link/listen/southwest_radio/radio.aac) (для пользователей iOS, macOS)
- [OGG 192kbps](https://azuracast.antiope.link/listen/southwest_radio/radio.ogg) (для всех остальных)
Веб-плеер на [отдельной странице](https://azuracast.nexusnest.link/public/southwest_radio). Там можно посмотреть историю 5 последних проигранных треков, а так же голосовать за следующие треки из музыкальной базы радиостанции.
Веб-плеер на [отдельной странице](https://azuracast.antiope.link/public/southwest_radio). Там можно посмотреть историю 5 последних проигранных треков, а так же голосовать за следующие треки из музыкальной базы радиостанции.
Кроме того, присутствует возможность прослушивать радиостанцию через [мобильные приложения](/mobile-apps/).
*Настраивайтесь на наши волны!*
*Настраивайтесь на наши волны!*

View File

@ -1,8 +0,0 @@
+++
title = "Test 1"
date = "2022-10-20"
+++
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -1,6 +0,0 @@
+++
title = "Test 2"
date = "2022-11-10"
+++
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -1,3 +0,0 @@
+++
title = "News"
+++

View File

@ -15,12 +15,12 @@
src="/vk.svg" onload="SVGInject(this)" /></a>
</div>
</div>
<div id="content">
<div id="content" class="block">
{{- block "main" . }}{{- end }}
</div>
<div id="player">
<div id="player" class="block">
<iframe id="web-player" height="100%" width="100%"
src="https://azuracast.nexusnest.link/public/southwest_radio/embed?theme=dark" frameborder="0"
src="https://azuracast.antiope.link/public/southwest_radio/embed?theme=dark" frameborder="0"
allowtransparency="true" style="border: 0;"></iframe>
</div>
<div id="social-mobile">
@ -35,4 +35,4 @@
</body>
</html>
</html>

View File

@ -1,4 +1,4 @@
<aside>
<aside class="block">
<ul id="nav">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
@ -23,4 +23,4 @@
{{ end }}
{{ end }}
</ul>
</aside>
</aside>

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<div id="calendar">
<iframe src="https://azuracast.nexusnest.link/public/southwest_radio/schedule/embed?theme=dark" frameborder="0"
<iframe src="https://azuracast.antiope.link/public/southwest_radio/schedule/embed?theme=dark" frameborder="0"
allowtransparency="true" style="width: 100%; min-height: 80vh; border: 0;"></iframe>
</div>
{{end}}
{{end}}

View File

@ -1,20 +0,0 @@
The MIT License (MIT)
Copyright (c) 2022 YOUR_NAME_HERE
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,2 +0,0 @@
+++
+++

View File

@ -1,21 +0,0 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Swr"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41.0"
[author]
name = ""
homepage = ""
# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""