diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 5548fd7e74b..06e06b83ead 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -1,9 +1,21 @@ import type { ReactNode } from 'react' +import type { Viewport } from 'next' export default function RootLayout({ children }: { children: ReactNode }) { return children } +export const viewport: Viewport = { + width: 'device-width', + initialScale: 1, + maximumScale: 1, + userScalable: false, + themeColor: [ + { media: '(prefers-color-scheme: light)', color: '#ffffff' }, + { media: '(prefers-color-scheme: dark)', color: '#0c0c0c' }, + ], +} + export const metadata = { metadataBase: new URL('https://docs.sim.ai'), title: { @@ -12,6 +24,9 @@ export const metadata = { }, 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.', + applicationName: 'Sim Docs', + generator: 'Next.js', + referrer: 'origin-when-cross-origin' as const, keywords: [ 'AI agents', 'agentic workforce', @@ -37,17 +52,28 @@ export const metadata = { manifest: '/favicon/site.webmanifest', icons: { icon: [ + { url: '/icon.svg', type: 'image/svg+xml', sizes: 'any' }, { url: '/favicon/favicon-16x16.png', sizes: '16x16', type: 'image/png' }, { url: '/favicon/favicon-32x32.png', sizes: '32x32', type: 'image/png' }, + { url: '/favicon/android-chrome-192x192.png', sizes: '192x192', type: 'image/png' }, + { url: '/favicon/android-chrome-512x512.png', sizes: '512x512', type: 'image/png' }, ], apple: '/favicon/apple-touch-icon.png', - shortcut: '/favicon/favicon.ico', + shortcut: '/icon.svg', }, appleWebApp: { capable: true, statusBarStyle: 'default', title: 'Sim Docs', }, + formatDetection: { + telephone: false, + }, + other: { + 'apple-mobile-web-app-capable': 'yes', + 'mobile-web-app-capable': 'yes', + 'msapplication-TileColor': '#33C482', + }, openGraph: { type: 'website', locale: 'en_US', diff --git a/apps/docs/public/favicon/site.webmanifest b/apps/docs/public/favicon/site.webmanifest index 981d97f1563..e0af1ce7df9 100644 --- a/apps/docs/public/favicon/site.webmanifest +++ b/apps/docs/public/favicon/site.webmanifest @@ -1,21 +1,42 @@ { - "name": "MyWebSite", - "short_name": "MySite", + "name": "Sim Documentation — Build AI Agents & Run Your Agentic Workforce", + "short_name": "Sim Docs", + "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.", + "start_url": "/", + "scope": "/", "icons": [ { - "src": "/web-app-manifest-192x192.png", + "src": "/favicon/web-app-manifest-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { - "src": "/web-app-manifest-512x512.png", + "src": "/favicon/web-app-manifest-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" + }, + { + "src": "/favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "/favicon/apple-touch-icon.png", + "sizes": "180x180", + "type": "image/png" } ], - "theme_color": "#ffffff", + "theme_color": "#33C482", "background_color": "#ffffff", - "display": "standalone" + "display": "standalone", + "categories": ["productivity", "developer", "business"], + "lang": "en-US", + "dir": "ltr" } diff --git a/apps/docs/public/icon.svg b/apps/docs/public/icon.svg new file mode 100644 index 00000000000..f5a6477f769 --- /dev/null +++ b/apps/docs/public/icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/apps/sim/app/(auth)/components/branded-button.tsx b/apps/sim/app/(auth)/components/branded-button.tsx index b044e3f33ce..245cd7c9c6e 100644 --- a/apps/sim/app/(auth)/components/branded-button.tsx +++ b/apps/sim/app/(auth)/components/branded-button.tsx @@ -55,7 +55,7 @@ export const BrandedButton = forwardRef( onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave} className={cn( - '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', + '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', !hasCustomColor && 'border-[#FFFFFF] bg-[#FFFFFF] text-black hover:border-[#E0E0E0] hover:bg-[#E0E0E0]', fullWidth && 'w-full', diff --git a/apps/sim/app/(auth)/components/status-page-layout.tsx b/apps/sim/app/(auth)/components/status-page-layout.tsx index 30a1081930f..7e353e0f19d 100644 --- a/apps/sim/app/(auth)/components/status-page-layout.tsx +++ b/apps/sim/app/(auth)/components/status-page-layout.tsx @@ -28,8 +28,12 @@ export function StatusPageLayout({
-

{title}

-

{description}

+

+ {title} +

+

+ {description} +

{children &&
{children}
}
diff --git a/apps/sim/app/(auth)/login/login-form.tsx b/apps/sim/app/(auth)/login/login-form.tsx index 464071321ad..85e924fd328 100644 --- a/apps/sim/app/(auth)/login/login-form.tsx +++ b/apps/sim/app/(auth)/login/login-form.tsx @@ -383,8 +383,12 @@ export default function LoginPage({ return ( <>
-

Sign in

-

Enter your details

+

+ Sign in +

+

+ Enter your details +

{/* SSO Login Button (primary top-only when it is the only method) */} diff --git a/apps/sim/app/(auth)/oauth/consent/page.tsx b/apps/sim/app/(auth)/oauth/consent/page.tsx index 96269c586d0..0138a7dd6d9 100644 --- a/apps/sim/app/(auth)/oauth/consent/page.tsx +++ b/apps/sim/app/(auth)/oauth/consent/page.tsx @@ -127,10 +127,12 @@ export default function OAuthConsentPage() { return (
-

+

Authorize Application

-

Loading application details...

+

+ Loading application details... +

) @@ -140,10 +142,12 @@ export default function OAuthConsentPage() { return (
-

+

Authorization Error

-

{error}

+

+ {error} +

router.push('/')}>Return to Home @@ -181,10 +185,10 @@ export default function OAuthConsentPage() {
-

+

Authorize Application

-

+

{clientName} is requesting access to your account

diff --git a/apps/sim/app/(auth)/reset-password/reset-password-content.tsx b/apps/sim/app/(auth)/reset-password/reset-password-content.tsx index 8d72c687a64..9127c6e0b42 100644 --- a/apps/sim/app/(auth)/reset-password/reset-password-content.tsx +++ b/apps/sim/app/(auth)/reset-password/reset-password-content.tsx @@ -74,10 +74,12 @@ function ResetPasswordContent() { return ( <>
-

+

Reset your password

-

Enter a new password for your account

+

+ Enter a new password for your account +

diff --git a/apps/sim/app/(auth)/signup/signup-form.tsx b/apps/sim/app/(auth)/signup/signup-form.tsx index 498ebf19d45..b04ad8af4c9 100644 --- a/apps/sim/app/(auth)/signup/signup-form.tsx +++ b/apps/sim/app/(auth)/signup/signup-form.tsx @@ -341,8 +341,12 @@ function SignupFormContent({ return ( <>
-

Create an account

-

Create an account or log in

+

+ Create an account +

+

+ Create an account or log in +

{/* SSO Login Button (primary top-only when it is the only method) */} diff --git a/apps/sim/app/(auth)/verify/verify-content.tsx b/apps/sim/app/(auth)/verify/verify-content.tsx index dafdf1f9e9b..392811ff2ed 100644 --- a/apps/sim/app/(auth)/verify/verify-content.tsx +++ b/apps/sim/app/(auth)/verify/verify-content.tsx @@ -59,10 +59,10 @@ function VerificationForm({ return ( <>
-

+

{isVerified ? 'Email Verified!' : 'Verify Your Email'}

-

+

{isVerified ? 'Your email has been verified. Redirecting to dashboard...' : !isEmailVerificationEnabled diff --git a/apps/sim/app/(home)/components/collaboration/collaboration.tsx b/apps/sim/app/(home)/components/collaboration/collaboration.tsx index 9f6b2102f76..383779ac835 100644 --- a/apps/sim/app/(home)/components/collaboration/collaboration.tsx +++ b/apps/sim/app/(home)/components/collaboration/collaboration.tsx @@ -222,34 +222,15 @@ export default function Collaboration() {