Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions app/components/OgImage/Community.takumi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ const idLabel = computed(() => {
<div style="display:flex;flex-direction:column;width:1200px;height:600px;background-color:#f9fafb;">
<div style="display:flex;flex:1;flex-direction:column;padding:56px;">
<div style="display:flex;flex-direction:row;width:1088px;align-items:flex-start;justify-content:space-between;gap:32px;">
<p class="block font-mono text-[34px] leading-none font-normal text-[#404040] underline decoration-primary decoration-[3px]">
communityfix.org
</p>
<!-- eslint-disable-next-line vue/singleline-html-element-content-newline -->
<p class="block font-mono text-[34px] leading-none font-normal text-[#404040] underline decoration-primary decoration-[3px]">communityfix.org</p>
<div style="display:flex;flex-direction:column;align-items:flex-end;">
<p style="display:block;margin:0;font-family:Oswald;font-size:26px;line-height:1;font-weight:500;letter-spacing:3px;text-transform:uppercase;color:#6b7280;">
{{ kind }}
Expand Down
5 changes: 2 additions & 3 deletions app/components/OgImage/Editorial.takumi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ withDefaults(
<div style="display:flex;flex-direction:column;width:1200px;height:600px;background-color:#f9fafb;">
<div style="display:flex;flex:1;flex-direction:column;padding:56px;">
<div style="display:flex;flex-direction:row;width:1088px;align-items:flex-start;justify-content:space-between;gap:32px;">
<p class="block font-mono text-[34px] leading-none font-normal text-[#404040] underline decoration-primary decoration-[3px]">
communityfix.org
</p>
<!-- eslint-disable-next-line vue/singleline-html-element-content-newline -->
<p class="block font-mono text-[34px] leading-none font-normal text-[#404040] underline decoration-primary decoration-[3px]">communityfix.org</p>
<p style="display:block;margin:0;font-family:Oswald;font-size:30px;line-height:1;font-weight:500;letter-spacing:4px;text-transform:uppercase;color:#3b82f6;">
{{ category }}
</p>
Expand Down
5 changes: 2 additions & 3 deletions app/components/OgImage/Home.takumi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ defineOptions({ inheritAttrs: false })
<template>
<div style="display:flex;flex-direction:column;width:1200px;height:600px;background-color:#f9fafb;">
<div style="display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;">
<p class="block font-mono text-[104px] leading-none font-normal text-[#111827] underline decoration-primary decoration-10">
communityfix.org
</p>
<!-- eslint-disable-next-line vue/singleline-html-element-content-newline -->
<p class="block font-mono text-[104px] leading-none font-normal text-[#111827] underline decoration-primary decoration-10">communityfix.org</p>
</div>
<div style="width:1200px;height:28px;background-color:#3b82f6;" />
</div>
Expand Down
5 changes: 5 additions & 0 deletions vize.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@ export default defineConfig({
// own format on every db:generate — leave them alone so a new migration
// doesn't trip fmt --check.
'server/database/migrations',
// OG image components rendered by takumi/satori, where whitespace is
// significant: the formatter would break tight <p>content</p> onto its own
// line, and the leading/trailing whitespace then renders (e.g. an
// underline stretched past the text). Keep these hand-tuned as authored.
'**/*.takumi.vue',
],
})
Loading