Skip to content

Commit a347ea2

Browse files
chore: lint and color
1 parent c8464bd commit a347ea2

File tree

15 files changed

+44
-44
lines changed

15 files changed

+44
-44
lines changed

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]/files/loading.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const COLUMN_COUNT = 6
66
export default function FilesLoading() {
77
return (
88
<div className='flex h-full flex-1 flex-col overflow-hidden bg-[var(--bg)]'>
9-
<div className='border-b border-[var(--border)] px-[24px] py-[10px]'>
9+
<div className='border-[var(--border)] border-b px-[24px] py-[10px]'>
1010
<div className='flex items-center justify-between'>
1111
<div className='flex items-center gap-[12px]'>
1212
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
@@ -18,7 +18,7 @@ export default function FilesLoading() {
1818
</div>
1919
</div>
2020
</div>
21-
<div className='border-b border-[var(--border)] px-[24px] py-[10px]'>
21+
<div className='border-[var(--border)] border-b px-[24px] py-[10px]'>
2222
<div className='flex items-center'>
2323
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
2424
<Skeleton className='ml-[10px] h-[14px] w-[120px] rounded-[4px]' />
@@ -27,7 +27,7 @@ export default function FilesLoading() {
2727
<div className='min-h-0 flex-1 overflow-auto'>
2828
<table className='w-full'>
2929
<thead>
30-
<tr className='border-b border-[var(--border)]'>
30+
<tr className='border-[var(--border)] border-b'>
3131
<th className='w-[40px] px-[12px] py-[8px]'>
3232
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
3333
</th>
@@ -40,7 +40,7 @@ export default function FilesLoading() {
4040
</thead>
4141
<tbody>
4242
{Array.from({ length: SKELETON_ROW_COUNT }).map((_, rowIndex) => (
43-
<tr key={rowIndex} className='border-b border-[var(--border)]'>
43+
<tr key={rowIndex} className='border-[var(--border)] border-b'>
4444
<td className='w-[40px] px-[12px] py-[10px]'>
4545
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
4646
</td>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const COLUMN_COUNT = 4
66
export default function DocumentLoading() {
77
return (
88
<div className='flex h-full flex-1 flex-col overflow-hidden bg-[var(--bg)]'>
9-
<div className='border-b border-[var(--border)] px-[16px] py-[8.5px]'>
9+
<div className='border-[var(--border)] border-b px-[16px] py-[8.5px]'>
1010
<div className='flex items-center justify-between'>
1111
<div className='flex items-center gap-[8px]'>
1212
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
@@ -18,7 +18,7 @@ export default function DocumentLoading() {
1818
</div>
1919
</div>
2020
</div>
21-
<div className='border-b border-[var(--border)] px-[24px] py-[10px]'>
21+
<div className='border-[var(--border)] border-b px-[24px] py-[10px]'>
2222
<div className='flex items-center justify-between'>
2323
<div className='flex items-center'>
2424
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
@@ -32,7 +32,7 @@ export default function DocumentLoading() {
3232
<div className='min-h-0 flex-1 overflow-auto'>
3333
<table className='w-full'>
3434
<thead>
35-
<tr className='border-b border-[var(--border)]'>
35+
<tr className='border-[var(--border)] border-b'>
3636
<th className='w-[40px] px-[12px] py-[8px]'>
3737
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
3838
</th>
@@ -45,7 +45,7 @@ export default function DocumentLoading() {
4545
</thead>
4646
<tbody>
4747
{Array.from({ length: SKELETON_ROW_COUNT }).map((_, rowIndex) => (
48-
<tr key={rowIndex} className='border-b border-[var(--border)]'>
48+
<tr key={rowIndex} className='border-[var(--border)] border-b'>
4949
<td className='w-[40px] px-[12px] py-[10px]'>
5050
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
5151
</td>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const COLUMN_COUNT = 7
66
export default function KnowledgeBaseLoading() {
77
return (
88
<div className='flex h-full flex-1 flex-col overflow-hidden bg-[var(--bg)]'>
9-
<div className='border-b border-[var(--border)] px-[16px] py-[8.5px]'>
9+
<div className='border-[var(--border)] border-b px-[16px] py-[8.5px]'>
1010
<div className='flex items-center justify-between'>
1111
<div className='flex items-center gap-[8px]'>
1212
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
@@ -19,7 +19,7 @@ export default function KnowledgeBaseLoading() {
1919
</div>
2020
</div>
2121
</div>
22-
<div className='border-b border-[var(--border)] px-[24px] py-[10px]'>
22+
<div className='border-[var(--border)] border-b px-[24px] py-[10px]'>
2323
<div className='flex items-center justify-between'>
2424
<div className='flex items-center'>
2525
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
@@ -34,7 +34,7 @@ export default function KnowledgeBaseLoading() {
3434
<div className='min-h-0 flex-1 overflow-auto'>
3535
<table className='w-full'>
3636
<thead>
37-
<tr className='border-b border-[var(--border)]'>
37+
<tr className='border-[var(--border)] border-b'>
3838
<th className='w-[40px] px-[12px] py-[8px]'>
3939
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
4040
</th>
@@ -47,7 +47,7 @@ export default function KnowledgeBaseLoading() {
4747
</thead>
4848
<tbody>
4949
{Array.from({ length: SKELETON_ROW_COUNT }).map((_, rowIndex) => (
50-
<tr key={rowIndex} className='border-b border-[var(--border)]'>
50+
<tr key={rowIndex} className='border-[var(--border)] border-b'>
5151
<td className='w-[40px] px-[12px] py-[10px]'>
5252
<Skeleton className='h-[14px] w-[14px] rounded-[2px]' />
5353
</td>

0 commit comments

Comments
 (0)