mirror of
https://github.com/Django-LiveView/docs.git
synced 2024-12-22 19:05:35 +01:00
Fix footer
This commit is contained in:
parent
131289d2e8
commit
3cfd9eff22
@ -368,6 +368,19 @@ a:hover,
|
|||||||
border-top: 2px solid var(--color-brown);
|
border-top: 2px solid var(--color-brown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer_nav {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width < 600px) {
|
||||||
|
.footer_nav {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* ------- '.one' classes used by 'one-ox' org backend ------- */
|
/* ------- '.one' classes used by 'one-ox' org backend ------- */
|
||||||
|
|
||||||
.one-hl {
|
.one-hl {
|
||||||
|
14
onerc.el
14
onerc.el
@ -108,12 +108,14 @@
|
|||||||
(:a.button.nav-main__link (@ :href "/source-code/") "Source code"))))))
|
(:a.button.nav-main__link (@ :href "/source-code/") "Source code"))))))
|
||||||
,tree-content
|
,tree-content
|
||||||
(:footer.footer
|
(:footer.footer
|
||||||
(:p (:i (@ :aria-label "bug") "🪲") " Bugs: " (:a.link (@ :href "https://github.com/Django-LiveView/docs/blob/main/one.org" :target "_blank") "Documentation"))
|
(:div.container
|
||||||
(:p (:i (@ :aria-label "chat") "💬") " Get help: "(:a.link (@ :href "xmpp://django-liveview@conference.im.andros.dev?join" :target "_blank") "Jabber/XMPP group "))
|
(:ul.footer_nav
|
||||||
(:p (:i (@ :aria-label "chat") "🐘") " Follow me: " (:a.link (@ :href "https://hostux.social/@andros" :target "_blank") "ActivityPub/Fediverse "))
|
(:li (:i (@ :aria-label "bug") "🪲") " Bugs: " (:a.link (@ :href "https://github.com/Django-LiveView/docs/blob/main/one.org" :target "_blank") "Documentation"))
|
||||||
(:p (:span (@ :aria-hidden "true") "💰 ") " Support the project: " (:a.link (@ :href "https://liberapay.com/androsfenollosa/" :target "_blank") "Libeapay"))
|
(:li (:i (@ :aria-label "chat") "💬") " Get help: "(:a.link (@ :href "xmpp://django-liveview@conference.im.andros.dev?join" :target "_blank") "Jabber/XMPP group "))
|
||||||
|
(:li (:i (@ :aria-label "chat") "🐘") " Follow me: " (:a.link (@ :href "https://hostux.social/@andros" :target "_blank") "ActivityPub/Fediverse "))
|
||||||
|
(:li (:span (@ :aria-hidden "true") "💰 ") " Support the project: " (:a.link (@ :href "https://liberapay.com/androsfenollosa/" :target "_blank") "Libeapay")))
|
||||||
(:p "Created with " (:i (@ :aria-label "love") "❤️") " by " (:a.link (@ :href "https://andros.dev/" :target "_blank") "Andros Fenollosa") " with " (:a.link (@ :href "https://one.tonyaldon.com/" :target "_blank") "one.el"))
|
(:p "Created with " (:i (@ :aria-label "love") "❤️") " by " (:a.link (@ :href "https://andros.dev/" :target "_blank") "Andros Fenollosa") " with " (:a.link (@ :href "https://one.tonyaldon.com/" :target "_blank") "one.el"))
|
||||||
(:p "🐍 " ,(format-time-string "%Y"))))))))
|
(:p "🐍 " ,(format-time-string "%Y")))))))))
|
||||||
|
|
||||||
(defun one-custom-default-page (page-tree pages _global)
|
(defun one-custom-default-page (page-tree pages _global)
|
||||||
"Default render function by home page."
|
"Default render function by home page."
|
||||||
@ -180,6 +182,8 @@
|
|||||||
(:a.nav-docs__link (@ :href "/docs/views/") "Views"))
|
(:a.nav-docs__link (@ :href "/docs/views/") "Views"))
|
||||||
(:li.nav-docs__item
|
(:li.nav-docs__item
|
||||||
(:a.nav-docs__link (@ :href "/docs/routing/") "Routing"))
|
(:a.nav-docs__link (@ :href "/docs/routing/") "Routing"))
|
||||||
|
(:li.nav-docs__item
|
||||||
|
(:a.nav-docs__link (@ :href "/docs/forms/") "Forms"))
|
||||||
(:li.nav-docs__item
|
(:li.nav-docs__item
|
||||||
(:a.nav-docs__link (@ :href "/docs/history/") "History"))
|
(:a.nav-docs__link (@ :href "/docs/history/") "History"))
|
||||||
(:li.nav-docs__item
|
(:li.nav-docs__item
|
||||||
|
Loading…
Reference in New Issue
Block a user