feat: Add chat iframe

This commit is contained in:
ChronosXYZ 2024-07-25 16:40:39 +03:00
parent ce8aee058e
commit 104da93ff8
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791
3 changed files with 34 additions and 2 deletions

View File

@ -50,10 +50,10 @@ aside {
} }
#content { #content {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
width: 50vw; width: 50vw;
height: 100%;
} }
#nav { #nav {
@ -148,11 +148,21 @@ article {
padding-bottom: 0; padding-bottom: 0;
} }
#chat {
padding-top: 0;
padding-bottom: 0;
}
#our-friends-mobile { #our-friends-mobile {
display: none; display: none;
visibility: hidden; visibility: hidden;
} }
#chat-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;
@ -216,10 +226,15 @@ article {
#social-mobile { #social-mobile {
display: block; display: block;
visibility: visible; visibility: visible;
order: 5; order: 6;
// margin-bottom: 7px; // margin-bottom: 7px;
} }
#chat {
display: none;
visibility: hidden;
}
#our-friends { #our-friends {
display: none; display: none;
visibility: hidden; visibility: hidden;
@ -234,6 +249,15 @@ article {
padding-bottom: 0; padding-bottom: 0;
} }
#chat-mobile {
display: block;
visibility: visible;
width: 100%;
order: 5;
padding-top: 0;
padding-bottom: 0;
}
#right-side { #right-side {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -24,10 +24,16 @@
<div id="our-friends" class="block"> <div id="our-friends" class="block">
{{- partial "our-friends.html" . -}} {{- partial "our-friends.html" . -}}
</div> </div>
<div id="chat" class="block">
{{- partial "chat.html" . -}}
</div>
</div> </div>
<div id="our-friends-mobile" class="block"> <div id="our-friends-mobile" class="block">
{{- partial "our-friends.html" . -}} {{- partial "our-friends.html" . -}}
</div> </div>
<div id="chat-mobile" class="block">
{{- partial "chat.html" . -}}
</div>
<div id="social-mobile"> <div id="social-mobile">
{{- partial "social.html" . -}} {{- partial "social.html" . -}}
</div> </div>

View File

@ -0,0 +1,2 @@
<p><b>Чат</b></p>
<iframe src="https://webirc.antiope.link" style="border:0; width:100%; height:450px;"></iframe>