feat: Initial working site, with single network article.
This commit is contained in:
@@ -24,7 +24,7 @@ func baseLayout(
|
||||
body(class: "bg-page text-white pb-5 font-avenir \(section.rawValue)") {
|
||||
siteHeader(section)
|
||||
|
||||
div(class: "container pt-12 lg:pt-28") {
|
||||
div(class: "container") {
|
||||
children()
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ private func siteHeader(_ section: Section) -> Node {
|
||||
div(class: "header__logo") {
|
||||
a(href: "/") {
|
||||
div(class: "logo") {
|
||||
"mhoush.com"
|
||||
"docs.housh.dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,44 +59,27 @@ private func siteHeader(_ section: Section) -> Node {
|
||||
}
|
||||
|
||||
private func footer(_ rssLink: String) -> Node {
|
||||
div(class: "site-footer text-gray gray-links border-t border-light text-center pt-6 mt-8 text-sm") {
|
||||
p {
|
||||
div(class: "site-footer text-slate-200 border-t border-light text-center pt-6 mt-8 text-sm") {
|
||||
div {
|
||||
"Copyright © Michael Housh 2023-\(Date().description.prefix(4))."
|
||||
}
|
||||
p {
|
||||
p(class: "mb-2") {
|
||||
"Built in Swift using"
|
||||
a(href: "https://github.com/loopwerk/Saga", rel: "nofollow", target: "_blank") { "Saga" }
|
||||
a(
|
||||
class: "text-orange-400 [&:hover]:border-b border-green-400",
|
||||
href: "https://github.com/loopwerk/Saga",
|
||||
rel: "nofollow",
|
||||
target: "_blank"
|
||||
) { "Saga" }
|
||||
"("
|
||||
%a(href: "https://github.com/m-housh/mhoush.com", rel: "nofollow", target: "_blank") { "source" }
|
||||
%a(
|
||||
class: "[&:hover]:border-b border-green-400",
|
||||
href: "https://github.com/m-housh/mhoush.com",
|
||||
rel: "nofollow",
|
||||
target: "_blank"
|
||||
) { "source" }
|
||||
%")."
|
||||
}
|
||||
p {
|
||||
a(
|
||||
href: "\(SiteMetadata.url.absoluteString)/articles/\(rssLink)feed.xml",
|
||||
rel: "nofollow",
|
||||
target: "_blank"
|
||||
) { "RSS" }
|
||||
" | "
|
||||
a(href: "https://github.com/m-housh", rel: "nofollow", target: "_blank") { "Github" }
|
||||
" | "
|
||||
a(
|
||||
href: "https://www.youtube.com/channel/UCb58SeURd5bObfTiL0KoliA",
|
||||
rel: "nofollow",
|
||||
target: "_blank"
|
||||
) { "Youtube" }
|
||||
" | "
|
||||
a(href: "https://www.facebook.com/michael.housh", rel: "nofollow", target: "_blank") { "Facebook" }
|
||||
" | "
|
||||
a(href: "mailto:michael@mhoush.com", rel: "nofollow") { "Email" }
|
||||
}
|
||||
p {
|
||||
span {
|
||||
"All articles are licensed under Creative-Commons (CC BY-NC) 4.0"
|
||||
}
|
||||
a(href: "https://creativecommons.org/licenses/by-nc/4.0/") {
|
||||
img(class: "justify-center", src: "/static/images/by-nc.png", width: "100")
|
||||
}
|
||||
}
|
||||
script(src: "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js")
|
||||
script(src: "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/keep-markup/prism-keep-markup.min.js")
|
||||
script(src: "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js")
|
||||
|
||||
Reference in New Issue
Block a user