diff --git a/public/static/fonts/soehne-mono-web-buch.woff b/public/static/fonts/soehne-mono-web-buch.woff
new file mode 100644
index 00000000..21b57294
Binary files /dev/null and b/public/static/fonts/soehne-mono-web-buch.woff differ
diff --git a/public/static/fonts/soehne-mono-web-buch.woff2 b/public/static/fonts/soehne-mono-web-buch.woff2
new file mode 100644
index 00000000..1a5a0c89
Binary files /dev/null and b/public/static/fonts/soehne-mono-web-buch.woff2 differ
diff --git a/public/static/fonts/soehne-web-buch.woff b/public/static/fonts/soehne-web-buch.woff
new file mode 100644
index 00000000..a8d87830
Binary files /dev/null and b/public/static/fonts/soehne-web-buch.woff differ
diff --git a/public/static/fonts/soehne-web-buch.woff2 b/public/static/fonts/soehne-web-buch.woff2
new file mode 100644
index 00000000..75f1943d
Binary files /dev/null and b/public/static/fonts/soehne-web-buch.woff2 differ
diff --git a/public/static/fonts/soehne-web-halbfett_1.woff b/public/static/fonts/soehne-web-halbfett_1.woff
new file mode 100644
index 00000000..3abbd141
Binary files /dev/null and b/public/static/fonts/soehne-web-halbfett_1.woff differ
diff --git a/public/static/fonts/soehne-web-halbfett_1.woff2 b/public/static/fonts/soehne-web-halbfett_1.woff2
new file mode 100644
index 00000000..707a37db
Binary files /dev/null and b/public/static/fonts/soehne-web-halbfett_1.woff2 differ
diff --git a/public/static/fonts/soehne-web-kraftig_1.woff b/public/static/fonts/soehne-web-kraftig_1.woff
new file mode 100644
index 00000000..2bf96533
Binary files /dev/null and b/public/static/fonts/soehne-web-kraftig_1.woff differ
diff --git a/public/static/fonts/soehne-web-kraftig_1.woff2 b/public/static/fonts/soehne-web-kraftig_1.woff2
new file mode 100644
index 00000000..e0d76796
Binary files /dev/null and b/public/static/fonts/soehne-web-kraftig_1.woff2 differ
diff --git a/src/components/custom-blocks/page-reference.tsx b/src/components/custom-blocks/page-reference.tsx
index 6d9fb0ab..cfc31ee1 100644
--- a/src/components/custom-blocks/page-reference.tsx
+++ b/src/components/custom-blocks/page-reference.tsx
@@ -15,8 +15,9 @@ const Image = ({
src,
isHovered,
size,
+ alt,
...rest
-}: BoxProps & { src?: string; isHovered?: boolean }) => (
+}: BoxProps & { src?: string; isHovered?: boolean; alt?: string }) => (
@@ -63,9 +65,22 @@ const Description = ({ children, ...props }) => (
);
-const FloatingLink = ({ href, ...props }: any) => (
+const FloatingLink = ({ href, contents, ...props }: any) => (
-
+
+ {contents}
+
);
const InlineCard = ({ page }) => {
@@ -91,6 +106,7 @@ const InlineCard = ({ page }) => {
style={{ willChange: 'transform' }}
size="64px"
src={page?.images?.sm}
+ alt={`Page image for: ${page.title || page.headings[0]}`}
/>
=
{page.description}
-
+
>
)
);
diff --git a/src/components/header.tsx b/src/components/header.tsx
index f99d8846..57f4c14c 100644
--- a/src/components/header.tsx
+++ b/src/components/header.tsx
@@ -101,7 +101,12 @@ const NavItem: React.FC = ({ item, ...props }) => {
});
return (
-
+
{item.label}
diff --git a/src/components/mdx/overrides.tsx b/src/components/mdx/overrides.tsx
index c49feb9b..948aba17 100644
--- a/src/components/mdx/overrides.tsx
+++ b/src/components/mdx/overrides.tsx
@@ -8,7 +8,7 @@ const GlobalStyles = createGlobalStyle`
}
* {
- font-feature-settings: 'ss01' on;
+ font-feature-settings: "onum" 1, "pnum" 1, "kern" 1, "ss01" 1;
}
html, body {
font-family: 'Soehne', Inter, sans-serif;
diff --git a/src/components/toc.tsx b/src/components/toc.tsx
index d8f32851..e707f6a5 100644
--- a/src/components/toc.tsx
+++ b/src/components/toc.tsx
@@ -28,7 +28,7 @@ const Item = ({
slug: string;
label: string;
level: number;
- limit?: number;
+ limit?: boolean;
}) => {
const { isActive: _isActive, slugInView } = useActiveHeading(slug);
const isOnScreen = slugInView === slug;
@@ -73,7 +73,7 @@ export const TableOfContents = ({
}[];
noLabel?: boolean;
label?: string;
- limit?: number;
+ limit?: boolean;
columns?: number | number[];
} & BoxProps) => {
return (
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx
index a806be00..394abaf6 100755
--- a/src/pages/_document.tsx
+++ b/src/pages/_document.tsx
@@ -46,28 +46,32 @@ export default class MyDocument extends Document {
__html: `
@font-face {
font-family: 'Soehne Mono';
- src: url('/static/fonts/soehne-mono-web-buch.otf') format('opentype');
+ src: url('/static/fonts/soehne-mono-web-buch.woff2') format('woff2'),
+ url('/static/fonts/soehne-mono-web-buch.woff') format('woff');
font-weight: 400;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'Soehne';
- src: url('/static/fonts/soehne-web-buch.otf') format('opentype');
+ src: url('/static/fonts/soehne-web-buch.woff2') format('woff2'),
+ url('/static/fonts/soehne-web-buch.woff') format('woff');
font-weight: 400;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'Soehne';
- src: url('/static/fonts/soehne-web-kraftig_1.otf') format('opentype');
+ src: url('/static/fonts/soehne-web-kraftig_1.woff2') format('woff2'),
+ url('/static/fonts/soehne-web-kraftig_1.woff') format('woff');
font-weight: 500;
font-display: swap;
font-style: normal;
}
@font-face {
font-family: 'Soehne';
- src: url('/static/fonts/soehne-web-halbfett_1.otf') format('opentype');
+ src: url('/static/fonts/soehne-web-halbfett_1.woff2') format('woff2'),
+ url('/static/fonts/soehne-web-halbfett_1.woff') format('woff');
font-weight: 600;
font-display: swap;
font-style: normal;