Skip to content

Commit 8fa4f3f

Browse files
Sg312emir-karabeg
andauthored
fix(mothership): thinking and subagent text (#3613)
* Thinking v0 * Change * Fix * improvement(ui/ux): mothership chat experience * user input animation * improvement(landing): desktop complete * auth and 404 * mobile friendliness and home templates * improvement(home): templates * fix: feature flags * address comments --------- Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu>
1 parent b3d9e54 commit 8fa4f3f

File tree

127 files changed

+3101
-819
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3101
-819
lines changed

apps/docs/app/layout.tsx

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
import type { ReactNode } from 'react'
2+
import type { Viewport } from 'next'
23

34
export default function RootLayout({ children }: { children: ReactNode }) {
45
return children
56
}
67

8+
export const viewport: Viewport = {
9+
width: 'device-width',
10+
initialScale: 1,
11+
maximumScale: 1,
12+
userScalable: false,
13+
themeColor: [
14+
{ media: '(prefers-color-scheme: light)', color: '#ffffff' },
15+
{ media: '(prefers-color-scheme: dark)', color: '#0c0c0c' },
16+
],
17+
}
18+
719
export const metadata = {
820
metadataBase: new URL('https://docs.sim.ai'),
921
title: {
@@ -12,6 +24,9 @@ export const metadata = {
1224
},
1325
description:
1426
'Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.',
27+
applicationName: 'Sim Docs',
28+
generator: 'Next.js',
29+
referrer: 'origin-when-cross-origin' as const,
1530
keywords: [
1631
'AI agents',
1732
'agentic workforce',
@@ -37,17 +52,28 @@ export const metadata = {
3752
manifest: '/favicon/site.webmanifest',
3853
icons: {
3954
icon: [
55+
{ url: '/icon.svg', type: 'image/svg+xml', sizes: 'any' },
4056
{ url: '/favicon/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
4157
{ url: '/favicon/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
58+
{ url: '/favicon/android-chrome-192x192.png', sizes: '192x192', type: 'image/png' },
59+
{ url: '/favicon/android-chrome-512x512.png', sizes: '512x512', type: 'image/png' },
4260
],
4361
apple: '/favicon/apple-touch-icon.png',
44-
shortcut: '/favicon/favicon.ico',
62+
shortcut: '/icon.svg',
4563
},
4664
appleWebApp: {
4765
capable: true,
4866
statusBarStyle: 'default',
4967
title: 'Sim Docs',
5068
},
69+
formatDetection: {
70+
telephone: false,
71+
},
72+
other: {
73+
'apple-mobile-web-app-capable': 'yes',
74+
'mobile-web-app-capable': 'yes',
75+
'msapplication-TileColor': '#33C482',
76+
},
5177
openGraph: {
5278
type: 'website',
5379
locale: 'en_US',
Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,42 @@
11
{
2-
"name": "MyWebSite",
3-
"short_name": "MySite",
2+
"name": "Sim Documentation — Build AI Agents & Run Your Agentic Workforce",
3+
"short_name": "Sim Docs",
4+
"description": "Documentation for Sim — the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.",
5+
"start_url": "/",
6+
"scope": "/",
47
"icons": [
58
{
6-
"src": "/web-app-manifest-192x192.png",
9+
"src": "/favicon/web-app-manifest-192x192.png",
710
"sizes": "192x192",
811
"type": "image/png",
912
"purpose": "maskable"
1013
},
1114
{
12-
"src": "/web-app-manifest-512x512.png",
15+
"src": "/favicon/web-app-manifest-512x512.png",
1316
"sizes": "512x512",
1417
"type": "image/png",
1518
"purpose": "maskable"
19+
},
20+
{
21+
"src": "/favicon/android-chrome-192x192.png",
22+
"sizes": "192x192",
23+
"type": "image/png"
24+
},
25+
{
26+
"src": "/favicon/android-chrome-512x512.png",
27+
"sizes": "512x512",
28+
"type": "image/png"
29+
},
30+
{
31+
"src": "/favicon/apple-touch-icon.png",
32+
"sizes": "180x180",
33+
"type": "image/png"
1634
}
1735
],
18-
"theme_color": "#ffffff",
36+
"theme_color": "#33C482",
1937
"background_color": "#ffffff",
20-
"display": "standalone"
38+
"display": "standalone",
39+
"categories": ["productivity", "developer", "business"],
40+
"lang": "en-US",
41+
"dir": "ltr"
2142
}

apps/docs/public/icon.svg

Lines changed: 14 additions & 0 deletions
Loading

apps/sim/app/(auth)/components/branded-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const BrandedButton = forwardRef<HTMLButtonElement, BrandedButtonProps>(
5555
onMouseEnter={handleMouseEnter}
5656
onMouseLeave={handleMouseLeave}
5757
className={cn(
58-
'group inline-flex h-[30px] items-center justify-center gap-[7px] rounded-[5px] border px-[9px] text-[13.5px] transition-colors disabled:cursor-not-allowed disabled:opacity-50',
58+
'group inline-flex h-[32px] items-center justify-center gap-[8px] rounded-[5px] border px-[10px] font-[430] font-season text-[14px] transition-colors disabled:cursor-not-allowed disabled:opacity-50',
5959
!hasCustomColor &&
6060
'border-[#FFFFFF] bg-[#FFFFFF] text-black hover:border-[#E0E0E0] hover:bg-[#E0E0E0]',
6161
fullWidth && 'w-full',

apps/sim/app/(auth)/components/status-page-layout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ export function StatusPageLayout({
2828
<div className='w-full max-w-lg px-4'>
2929
<div className='flex flex-col items-center justify-center'>
3030
<div className='space-y-1 text-center'>
31-
<h1 className='font-[500] text-[#ECECEC] text-[32px] tracking-tight'>{title}</h1>
32-
<p className='font-[380] text-[#999] text-[16px]'>{description}</p>
31+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
32+
{title}
33+
</h1>
34+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
35+
{description}
36+
</p>
3337
</div>
3438
{children && <div className='mt-8 w-full max-w-[410px] space-y-3'>{children}</div>}
3539
</div>

apps/sim/app/(auth)/login/login-form.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,12 @@ export default function LoginPage({
383383
return (
384384
<>
385385
<div className='space-y-1 text-center'>
386-
<h1 className='font-[500] text-[#ECECEC] text-[32px] tracking-tight'>Sign in</h1>
387-
<p className='font-[380] text-[#999] text-[16px]'>Enter your details</p>
386+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
387+
Sign in
388+
</h1>
389+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
390+
Enter your details
391+
</p>
388392
</div>
389393

390394
{/* SSO Login Button (primary top-only when it is the only method) */}

apps/sim/app/(auth)/oauth/consent/page.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,12 @@ export default function OAuthConsentPage() {
127127
return (
128128
<div className='flex flex-col items-center justify-center'>
129129
<div className='space-y-1 text-center'>
130-
<h1 className={'font-[500] text-[#ECECEC] text-[32px] tracking-tight'}>
130+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
131131
Authorize Application
132132
</h1>
133-
<p className={'font-[380] text-[#999] text-[16px]'}>Loading application details...</p>
133+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
134+
Loading application details...
135+
</p>
134136
</div>
135137
</div>
136138
)
@@ -140,10 +142,12 @@ export default function OAuthConsentPage() {
140142
return (
141143
<div className='flex flex-col items-center justify-center'>
142144
<div className='space-y-1 text-center'>
143-
<h1 className={'font-[500] text-[#ECECEC] text-[32px] tracking-tight'}>
145+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
144146
Authorization Error
145147
</h1>
146-
<p className={'font-[380] text-[#999] text-[16px]'}>{error}</p>
148+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
149+
{error}
150+
</p>
147151
</div>
148152
<div className='mt-8 w-full max-w-[410px] space-y-3'>
149153
<BrandedButton onClick={() => router.push('/')}>Return to Home</BrandedButton>
@@ -181,10 +185,10 @@ export default function OAuthConsentPage() {
181185
</div>
182186

183187
<div className='space-y-1 text-center'>
184-
<h1 className={'font-[500] text-[#ECECEC] text-[32px] tracking-tight'}>
188+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
185189
Authorize Application
186190
</h1>
187-
<p className={'font-[380] text-[#999] text-[16px]'}>
191+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
188192
<span className='font-medium text-[#ECECEC]'>{clientName}</span> is requesting access to
189193
your account
190194
</p>

apps/sim/app/(auth)/reset-password/reset-password-content.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ function ResetPasswordContent() {
7474
return (
7575
<>
7676
<div className='space-y-1 text-center'>
77-
<h1 className='font-[500] text-[#ECECEC] text-[32px] tracking-tight'>
77+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
7878
Reset your password
7979
</h1>
80-
<p className='font-[380] text-[#999] text-[16px]'>Enter a new password for your account</p>
80+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
81+
Enter a new password for your account
82+
</p>
8183
</div>
8284

8385
<div className='mt-8'>

apps/sim/app/(auth)/signup/signup-form.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,12 @@ function SignupFormContent({
341341
return (
342342
<>
343343
<div className='space-y-1 text-center'>
344-
<h1 className='font-[500] text-[#ECECEC] text-[32px] tracking-tight'>Create an account</h1>
345-
<p className='font-[380] text-[#999] text-[16px]'>Create an account or log in</p>
344+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
345+
Create an account
346+
</h1>
347+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
348+
Create an account or log in
349+
</p>
346350
</div>
347351

348352
{/* SSO Login Button (primary top-only when it is the only method) */}

apps/sim/app/(auth)/verify/verify-content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ function VerificationForm({
5959
return (
6060
<>
6161
<div className='space-y-1 text-center'>
62-
<h1 className='font-[500] text-[#ECECEC] text-[32px] tracking-tight'>
62+
<h1 className='font-[430] font-season text-[40px] text-white leading-[110%] tracking-[-0.02em]'>
6363
{isVerified ? 'Email Verified!' : 'Verify Your Email'}
6464
</h1>
65-
<p className='font-[380] text-[#999] text-[16px]'>
65+
<p className='font-[430] font-season text-[#F6F6F6]/60 text-[18px] leading-[125%] tracking-[0.02em]'>
6666
{isVerified
6767
? 'Your email has been verified. Redirecting to dashboard...'
6868
: !isEmailVerificationEnabled

0 commit comments

Comments
 (0)