feat: redesign landing page with brand system and section blocks
Build & Push Docker Image / build (push) Has been cancelled
Build & Push Docker Image / build (push) Has been cancelled
Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import { type } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
function formatInlineMarkdown(text: string): string {
|
||||
return text
|
||||
.replace(/`([^`]+)`/g, "<code>$1</code>")
|
||||
@@ -7,7 +10,13 @@ function formatInlineMarkdown(text: string): string {
|
||||
export function ChangelogItem({ text }: { text: string }) {
|
||||
return (
|
||||
<li
|
||||
className="list-disc text-[13px] leading-relaxed text-muted-foreground marker:text-muted-foreground/50 [&_code]:rounded [&_code]:bg-muted [&_code]:px-1 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[11px] [&_strong]:font-medium [&_strong]:text-foreground/90"
|
||||
className={cn(
|
||||
type["body-sm"],
|
||||
"list-disc text-muted-foreground marker:text-muted-foreground/50",
|
||||
"[&_code]:rounded [&_code]:bg-muted [&_code]:px-1 [&_code]:py-0.5",
|
||||
"[&_code]:font-mono [&_code]:text-[0.6875rem]",
|
||||
"[&_strong]:font-medium [&_strong]:text-foreground/90"
|
||||
)}
|
||||
dangerouslySetInnerHTML={{ __html: formatInlineMarkdown(text) }}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user