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

View File

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