Add "our friends" section

This commit is contained in:
ChronosXYZ 2024-07-01 01:41:46 +03:00
parent e0b7252e36
commit d5497fd9ab
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791
4 changed files with 62 additions and 19 deletions

View File

@ -67,10 +67,7 @@ aside {
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
} gap: 1em;
#social-widescreen {
margin-top: 10px;
} }
.menu-item { .menu-item {
@ -140,6 +137,22 @@ article {
visibility: hidden; visibility: hidden;
} }
#right-side {
display: flex;
flex-direction: column;
gap: 1em;
}
#our-friends {
padding-top: 0;
padding-bottom: 0;
}
#our-friends-mobile {
display: none;
visibility: hidden;
}
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
#wrapper { #wrapper {
flex-direction: column; flex-direction: column;
@ -203,7 +216,27 @@ article {
#social-mobile { #social-mobile {
display: block; display: block;
visibility: visible; visibility: visible;
order: 4; order: 5;
// margin-bottom: 7px; // margin-bottom: 7px;
} }
#our-friends {
display: none;
visibility: hidden;
}
#our-friends-mobile {
display: block;
visibility: visible;
width: 100%;
order: 4;
padding-top: 0;
padding-bottom: 0;
}
#right-side {
display: flex;
align-items: center;
width: 100%;
}
} }

View File

@ -9,25 +9,27 @@
<div id="nav-wrapper"> <div id="nav-wrapper">
{{- partial "nav.html" . -}} {{- partial "nav.html" . -}}
<div id="social-widescreen"> <div id="social-widescreen">
<a href="https://t.me/southwestradio" style="filter: unset;"><img class="social-link" {{- partial "social.html" . -}}
src="/telegram.svg" onload="SVGInject(this)" /></a>
<a href="https://vk.com/southwest_radio" style="filter: unset;"><img class="social-link"
src="/vk.svg" onload="SVGInject(this)" /></a>
</div> </div>
</div> </div>
<div id="content" class="block"> <div id="content" class="block">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
</div> </div>
<div id="player" class="block"> <div id="right-side">
<iframe id="web-player" height="100%" width="100%" <div id="player" class="block">
src="https://azuracast.antiope.link/public/southwest_radio/embed?theme=dark" frameborder="0" <iframe id="web-player" height="100%" width="100%"
allowtransparency="true" style="border: 0;"></iframe> src="https://azuracast.antiope.link/public/southwest_radio/embed?theme=dark" frameborder="0"
allowtransparency="true" style="border: 0;"></iframe>
</div>
<div id="our-friends" class="block">
{{- partial "our-friends.html" . -}}
</div>
</div>
<div id="our-friends-mobile" class="block">
{{- partial "our-friends.html" . -}}
</div> </div>
<div id="social-mobile"> <div id="social-mobile">
<a href="https://t.me/southwestradio" style="filter: unset;"><img class="social-link" {{- partial "social.html" . -}}
src="/telegram.svg" onload="SVGInject(this)" /></a>
<a href="https://vk.com/southwest_radio" style="filter: unset;"><img class="social-link" src="/vk.svg"
onload="SVGInject(this)" /></a>
</div> </div>
</div> </div>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}

View File

@ -0,0 +1,4 @@
<p><b>Наши друзья</b></p>
<ul>
<li><a href="https://krtd.net/">KRTD: The Night Radio</a></li>
</ul>

View File

@ -0,0 +1,4 @@
<a href="https://t.me/southwestradio" style="filter: unset;"><img class="social-link" src="/telegram.svg"
onload="SVGInject(this)" /></a>
<a href="https://vk.com/southwest_radio" style="filter: unset;"><img class="social-link" src="/vk.svg"
onload="SVGInject(this)" /></a>