diff --git a/src/back/html.tsx b/src/back/html.tsx
index 92eb363..bc282c5 100644
--- a/src/back/html.tsx
+++ b/src/back/html.tsx
@@ -12,7 +12,7 @@ const default_html_options: Partial = {
showBottomNavbar: true,
loadHamburgerMenu: true,
loadSearchModal: true,
- classes: ["grid-layout-main"],
+ bodyClasses: ["grid-layout-main"],
};
export default function html({
diff --git a/src/back/routes/common/footer.css b/src/back/routes/common/footer.css
index 8a67371..ca6a4b2 100644
--- a/src/back/routes/common/footer.css
+++ b/src/back/routes/common/footer.css
@@ -41,9 +41,31 @@ footer {
}
}
- .footer__attribution {
- text-align: center;
- align-self: end;
- opacity: 0.6;
+ .wrapper {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ gap: 16px;
+ justify-content: space-between;
+
+ .footer__social_media_icons {
+ display: flex;
+ flex-flow: row wrap;
+ gap: 8px;
+
+ svg {
+ width: 24px;
+ height: 24px;
+
+ * {
+ fill: var(--color-brand-text-on-accent) !important;
+ }
+ }
+ }
+
+ .footer__attribution {
+ text-align: center;
+ opacity: 0.6;
+ }
}
}
diff --git a/src/back/routes/common/footer.tsx b/src/back/routes/common/footer.tsx
index a8c2200..14a46e0 100644
--- a/src/back/routes/common/footer.tsx
+++ b/src/back/routes/common/footer.tsx
@@ -1,7 +1,13 @@
import { insert_nbsp } from "@sealcode/jdd";
import type { Context } from "koa";
+import { icon } from "src/back/icons.js";
import { TempstreamJSX } from "tempstream";
+const icons = [
+ { name: "mastodon", url: "https://mastodon.com.pl" },
+ { name: "peertube", url: "https://joinpeertube.org/pl" },
+];
+
export default async function footer(ctx: Context) {
const { items: navbar_items } = await ctx.$app.collections["navbar-links"]
.list(ctx.$context)
@@ -23,9 +29,18 @@ export default async function footer(ctx: Context) {
))}
-