Skip to content

Commit 88b1c79

Browse files
chore: lint and color
1 parent 6255b3e commit 88b1c79

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

apps/sim/app/(landing)/blog/[slug]/animated-blocks.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import { useEffect, useRef, useState } from 'react'
44

5-
const COLORS = ['#2ABBF8', '#FA4EDF', '#FFCC02', '#00F701'] as const
5+
const COLORS = ['#5fc5ff', '#F472B6', '#fcd34d', '#4BDE80', '#FF8533'] as const
66

77
const ENTER_STAGGER_MS = 60
88
const ENTER_DURATION_MS = 300
99
const HOLD_MS = 3000
1010
const EXIT_STAGGER_MS = 120
1111
const EXIT_DURATION_MS = 500
1212

13-
const RE_ENTER_OPACITIES = [1, 0.8, 0.6, 0.9] as const
13+
const RE_ENTER_OPACITIES = [1, 0.8, 0.6, 0.9, 0.7] as const
1414

1515
function setBlockOpacity(el: HTMLSpanElement | null, opacity: number, animate: boolean) {
1616
if (!el) return

apps/sim/app/(landing)/blog/authors/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default async function AuthorPage({
9090
</div>
9191
)}
9292
<div>
93-
<div className='mb-1 font-season text-[#FA4EDF] text-[10px] uppercase tracking-widest'>
93+
<div className='mb-1 font-season text-[#F472B6] text-[10px] uppercase tracking-widest'>
9494
Author
9595
</div>
9696
<h1 className='font-[500] text-[#ECECEC] text-[32px] leading-tight tracking-[-0.02em]'>

apps/sim/app/(landing)/blog/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getNavBlogPosts } from '@/lib/blog/registry'
21
import type { Metadata } from 'next'
2+
import { getNavBlogPosts } from '@/lib/blog/registry'
33
import { martianMono } from '@/app/_styles/fonts/martian-mono/martian-mono'
44
import { season } from '@/app/_styles/fonts/season/season'
55
import Footer from '@/app/(home)/components/footer/footer'

apps/sim/app/(landing)/blog/og/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export async function GET(request: NextRequest) {
5959
return new Response('Font assets not found', { status: 500 })
6060
}
6161

62-
const COLORS = ['#2ABBF8', '#FA4EDF', '#FFCC02', '#00F701'] as const
62+
const COLORS = ['#5fc5ff', '#F472B6', '#fcd34d', '#4BDE80', '#FF8533'] as const
6363

6464
return new ImageResponse(
6565
<div

apps/sim/app/(landing)/blog/post-grid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function PostCard({ post, priority = false }: { post: Post; priority?: boolean }
9393
</span>
9494
)}
9595
</div>
96-
<h3 className='mb-3 line-clamp-2 font-[500] text-[#ECECEC] text-[20px] leading-tight tracking-[-0.01em] transition-colors duration-150 [@media(hover:hover)]:group-hover:text-[#00F701]'>
96+
<h3 className='mb-3 line-clamp-2 font-[500] text-[#ECECEC] text-[20px] leading-tight tracking-[-0.01em] transition-colors duration-150 [@media(hover:hover)]:group-hover:text-[#4BDE80]'>
9797
{post.title}
9898
</h3>
9999
<p className='mb-6 line-clamp-2 text-[#999] text-[15px] leading-relaxed'>

apps/sim/app/(landing)/blog/tag-colors.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ export interface Category {
55
}
66

77
export const CATEGORIES: Category[] = [
8-
{ id: 'announcements', label: 'Announcements', color: '#FA4EDF' },
9-
{ id: 'product', label: 'Product', color: '#00F701' },
10-
{ id: 'engineering', label: 'Engineering', color: '#2ABBF8' },
11-
{ id: 'design', label: 'Design', color: '#8B5CF6' },
12-
{ id: 'insights', label: 'Insights', color: '#FFCC02' },
8+
{ id: 'announcements', label: 'Announcements', color: '#F472B6' },
9+
{ id: 'product', label: 'Product', color: '#4BDE80' },
10+
{ id: 'engineering', label: 'Engineering', color: '#5fc5ff' },
11+
{ id: 'design', label: 'Design', color: '#FF8533' },
12+
{ id: 'insights', label: 'Insights', color: '#fcd34d' },
1313
] as const
1414

1515
const TAG_TO_CATEGORY: Record<string, string> = {

apps/sim/app/(landing)/blog/tags/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default async function TagsIndex() {
2222
return (
2323
<div className='mx-auto max-w-5xl px-8 py-16 lg:px-12'>
2424
<div className='mb-8 flex items-center gap-2 font-season text-[#666] text-[11px] uppercase tracking-widest'>
25-
<span className='inline-block h-2 w-2 bg-[#FA4EDF]' aria-hidden='true' />
25+
<span className='inline-block h-2 w-2 bg-[#F472B6]' aria-hidden='true' />
2626
Browse by Category
2727
</div>
2828

apps/sim/app/workspace/[workspaceId]/knowledge/loading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ export default function KnowledgeLoading() {
6060
</div>
6161
</div>
6262
)
63-
}
63+
}

0 commit comments

Comments
 (0)