diff --git a/app/assets/main.css b/app/assets/main.css index bce110f018..672107976c 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -1,3 +1,53 @@ +/* Static aliases used while OG images are prerendered, before build assets exist. */ +@font-face { + font-family: 'Geist OG'; + src: url('/fonts/Geist-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Geist OG'; + src: url('/fonts/Geist-Medium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Geist OG'; + src: url('/fonts/Geist-SemiBold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Geist OG'; + src: url('/fonts/Geist-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + +@font-face { + font-family: 'Geist Mono OG'; + src: url('/fonts/GeistMono-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Geist Mono OG'; + src: url('/fonts/GeistMono-Medium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Geist Mono OG'; + src: url('/fonts/GeistMono-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + /* Base reset and defaults */ *, *::before, diff --git a/app/components/OgImage/BlogPost.takumi.vue b/app/components/OgImage/BlogPost.takumi.vue index c5ff51b96b..d16b6d0d04 100644 --- a/app/components/OgImage/BlogPost.takumi.vue +++ b/app/components/OgImage/BlogPost.takumi.vue @@ -69,7 +69,7 @@ const formattedAuthorNames = computed(() => {
{{ title }} diff --git a/app/components/OgImage/Compare.takumi.vue b/app/components/OgImage/Compare.takumi.vue index 8677507f35..f9f3ce15e5 100644 --- a/app/components/OgImage/Compare.takumi.vue +++ b/app/components/OgImage/Compare.takumi.vue @@ -122,7 +122,7 @@ const summaryRemainder = computed(() =>
-

+

./compare

@@ -137,7 +137,7 @@ const summaryRemainder = computed(() =>
{{ title }} diff --git a/app/components/OgImage/Package.takumi.vue b/app/components/OgImage/Package.takumi.vue index 5ac1301b51..fe54115e08 100644 --- a/app/components/OgImage/Package.takumi.vue +++ b/app/components/OgImage/Package.takumi.vue @@ -251,13 +251,13 @@ const sparklineSrc = computed(() => {
{{ pkgNameParts.org }}
{
{{ versionLabel }} @@ -393,7 +393,7 @@ const sparklineSrc = computed(() => {
{
{{ title }} diff --git a/app/components/OgImage/Profile.takumi.vue b/app/components/OgImage/Profile.takumi.vue index 678e61be7b..fc5f48f123 100644 --- a/app/components/OgImage/Profile.takumi.vue +++ b/app/components/OgImage/Profile.takumi.vue @@ -37,11 +37,11 @@ const getInitials = (name: string) =>
-
+
{{ displayName }}
-
+
~{{ handle }}
diff --git a/app/components/OgImage/UserProfile.takumi.vue b/app/components/OgImage/UserProfile.takumi.vue index 7612bf2a5f..0ce7214fad 100644 --- a/app/components/OgImage/UserProfile.takumi.vue +++ b/app/components/OgImage/UserProfile.takumi.vue @@ -23,7 +23,7 @@ const description = computed(() =>
{{ `~${username}` }} diff --git a/app/components/OgLayout.vue b/app/components/OgLayout.vue index a05bfe46a9..405b6ef142 100644 --- a/app/components/OgLayout.vue +++ b/app/components/OgLayout.vue @@ -1,7 +1,7 @@