diff --git a/app/javascript/flavours/glitch/features/about/index.jsx b/app/javascript/flavours/glitch/features/about/index.jsx
index 2bc89e796c..9b638c2c64 100644
--- a/app/javascript/flavours/glitch/features/about/index.jsx
+++ b/app/javascript/flavours/glitch/features/about/index.jsx
@@ -164,7 +164,7 @@ class About extends PureComponent {
))}
-
+
diff --git a/app/javascript/flavours/glitch/features/getting_started/index.tsx b/app/javascript/flavours/glitch/features/getting_started/index.tsx
index f30598bb49..73a837969e 100644
--- a/app/javascript/flavours/glitch/features/getting_started/index.tsx
+++ b/app/javascript/flavours/glitch/features/getting_started/index.tsx
@@ -13,7 +13,7 @@ const GettingStarted: React.FC = () => {
-
+
diff --git a/app/javascript/flavours/glitch/features/ui/components/compose_panel.tsx b/app/javascript/flavours/glitch/features/ui/components/compose_panel.tsx
index f1c4e508db..54f2730fd4 100644
--- a/app/javascript/flavours/glitch/features/ui/components/compose_panel.tsx
+++ b/app/javascript/flavours/glitch/features/ui/components/compose_panel.tsx
@@ -51,7 +51,7 @@ export const ComposePanel: React.FC = () => {
{signedIn && !hideComposer && }
{signedIn && hideComposer && }
-
+
);
};
diff --git a/app/javascript/flavours/glitch/features/ui/components/link_footer.module.scss b/app/javascript/flavours/glitch/features/ui/components/link_footer.module.scss
new file mode 100644
index 0000000000..f2b094744e
--- /dev/null
+++ b/app/javascript/flavours/glitch/features/ui/components/link_footer.module.scss
@@ -0,0 +1,61 @@
+.wrapper {
+ z-index: 1;
+ flex: 0 0 auto;
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ font-size: 13px;
+ color: var(--color-text-secondary);
+
+ &[data-context='default'] {
+ padding: 20px 0;
+ }
+
+ &[data-context='multi-column'] {
+ padding: 15px;
+ }
+
+ &[data-context='about'] {
+ margin-top: 60px;
+ text-align: center;
+ font-size: 15px;
+ line-height: 22px;
+
+ @media screen and (width >= 1175px) {
+ display: none;
+ }
+ }
+}
+
+.heading {
+ display: inline;
+ margin-inline-end: 0.3em;
+ font-weight: 500;
+}
+
+.list {
+ display: inline;
+
+ li {
+ display: inline;
+
+ &:not(:last-child)::after {
+ content: ' · ';
+ }
+ }
+
+ a {
+ color: var(--color-text-secondary);
+ text-decoration: underline;
+
+ &:hover,
+ &:focus,
+ &:active {
+ text-decoration: none;
+ }
+ }
+}
+
+.version {
+ white-space: nowrap;
+}
diff --git a/app/javascript/flavours/glitch/features/ui/components/link_footer.tsx b/app/javascript/flavours/glitch/features/ui/components/link_footer.tsx
index c5be25ed17..14083f90a4 100644
--- a/app/javascript/flavours/glitch/features/ui/components/link_footer.tsx
+++ b/app/javascript/flavours/glitch/features/ui/components/link_footer.tsx
@@ -11,94 +11,110 @@ import {
termsOfServiceEnabled,
} from 'flavours/glitch/initial_state';
-const DividingCircle: React.FC = () => {' · '};
+import classes from './link_footer.module.scss';
export const LinkFooter: React.FC<{
- multiColumn: boolean;
-}> = ({ multiColumn }) => {
+ context?: 'default' | 'multi-column' | 'about';
+}> = ({ context = 'default' }) => {
+ const multiColumn = context === 'multi-column';
+
return (
-
-
- {domain}:{' '}
-
-
-
- {statusPageUrl && (
- <>
-
-
-
-
- >
- )}
- {canProfileDirectory && (
- <>
-
-
+
-
-
- Mastodon:{' '}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- v{version}
-
-
+
+ {termsOfServiceEnabled && (
+
+
+
+
+
+ )}
+
+
+
+ Mastodon:
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ - v{version}
+
+
+
);
};
diff --git a/app/javascript/flavours/glitch/styles/mastodon/components.scss b/app/javascript/flavours/glitch/styles/mastodon/components.scss
index eb514988f5..d3d1ed484f 100644
--- a/app/javascript/flavours/glitch/styles/mastodon/components.scss
+++ b/app/javascript/flavours/glitch/styles/mastodon/components.scss
@@ -9977,41 +9977,6 @@ noscript {
}
}
-.link-footer {
- flex: 0 0 auto;
- padding-top: 20px;
- z-index: 1;
- font-size: 13px;
-
- .column & {
- padding: 15px;
- }
-
- p {
- color: var(--color-text-secondary);
- margin-bottom: 20px;
-
- .version {
- white-space: nowrap;
- }
-
- strong {
- font-weight: 500;
- }
-
- a {
- color: var(--color-text-secondary);
- text-decoration: underline;
-
- &:hover,
- &:focus,
- &:active {
- text-decoration: none;
- }
- }
- }
-}
-
.about {
padding: 20px;
border-top: 1px solid var(--color-border-primary);
@@ -10148,18 +10113,6 @@ noscript {
}
}
- .link-footer {
- padding: 0;
- margin-top: 60px;
- text-align: center;
- font-size: 15px;
- line-height: 22px;
-
- @media screen and (min-width: $no-gap-breakpoint) {
- display: none;
- }
- }
-
.account {
padding: 0;
border: 0;