[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: website: Rework ‘IRC’ contact page.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/02: website: Rework ‘IRC’ contact page. |
Date: |
Sat, 20 Nov 2021 17:40:53 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix-artwork.
commit 96210bdb8861ea952f415f60db909a64496ff7b8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 20 23:07:25 2021 +0100
website: Rework ‘IRC’ contact page.
* website/apps/base/templates/irc.scm (irc-t): Expand page heading.
Link to the Libera KiwiIRC instance in a new tab, rather than trying to
embed it, which breaks in any modern (CORS) browser. Make sure that
this link comes first. Sprinkle with some minor editing and serve.
* website/static/base/css/irc.css: Remove now-unused file.
---
website/apps/base/templates/irc.scm | 34 +++++++++++++++++-----------------
website/static/base/css/irc.css | 8 --------
2 files changed, 17 insertions(+), 25 deletions(-)
diff --git a/website/apps/base/templates/irc.scm
b/website/apps/base/templates/irc.scm
index 1011364..2bd6a43 100644
--- a/website/apps/base/templates/irc.scm
+++ b/website/apps/base/templates/irc.scm
@@ -23,33 +23,33 @@
(G_ "GNU|Linux|Unix|Free software|Libre software|Operating \
system|GNU Hurd|GNU Guix package manager|IRC|chat") #\|)
#:active-menu-item "About"
- #:css (list
- (guix-url "static/base/css/page.css")
- (guix-url "static/base/css/irc.css"))
+ #:css (list (guix-url "static/base/css/page.css"))
#:crumbs (list (crumb (C_ "webpage title" "Contact") (guix-url "contact/"))
(crumb (C_ "webpage title" "IRC") "./"))
#:content
`(main
(section
(@ (class "page"))
- ,(G_ `(h2 "IRC"))
+ ,(G_ `(h2 "Chat on IRC"))
,(G_
`(p
(@ (class "centered-block limit-width"))
- "Join the " (code "#guix") " channel on the "
- ,(G_ `(a (@ (href "https://libera.chat/"))
- "Libera Chat IRC network"))
- " to chat with the GNU Guix community or to get help
- in real-time. You can use the chat widget below, or just use
- the "
+ "Chat with the GNU Guix community or get help
+ in real time. Join us from an "
+ ,(G_ `(a (@ (href
"https://web.libera.chat/?nick=PotentialUser-?#guix")
+ (target "_blank"))
+ "IRC client in your Web browser"))
+ ", or use one of many "
,(G_ `(a (@ (href
"https://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients"))
- "IRC client"))
- " of your preference. Note that the conversations that happen
+ "other clients"))
+ " to join the " (code "#guix") " channel on the "
+ ,(G_ `(a (@ (href "https://libera.chat/"))
+ "Libera Chat IRC network."))))
+ ,(G_
+ `(p
+ (@ (class "centered-block limit-width"))
+ " Note that the conversations that happen
on the " (code "#guix") " channel are logged ("
,(G_ `(a (@ (href ,guix-irc-log-url)) "browse the log"))
- ")."))
-
- (iframe
- (@ (class "chat-widget centered-block")
- (src
"https://kiwiirc.com/client/irc.libera.chat/?nick=PotentialUser-?#guix")))))))
+ ")."))))))
diff --git a/website/static/base/css/irc.css b/website/static/base/css/irc.css
deleted file mode 100644
index e886e51..0000000
--- a/website/static/base/css/irc.css
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Public domain 2017. All rights waived. */
-
-.chat-widget {
- border-style: none;
- height: 600px;
- margin: 30px auto;
- width: 100%;
-}
\ No newline at end of file