Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion apps/sim/app/(landing)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,21 @@ import { LandingShell } from '@/app/(landing)/components'
*
* Each page supplies only its `<main id='main-content'>` content (and any
* page-specific metadata / JSON-LD). `metadataBase` here lets pages express
* relative canonical/OG URLs; every other metadata field stays per-page.
* relative canonical/OG URLs; shared icon metadata keeps favicons consistent,
* while every other metadata field stays per-page.
*/
export const metadata: Metadata = {
metadataBase: new URL(SITE_URL),
icons: {
icon: [
{ url: '/icon.svg', type: 'image/svg+xml', sizes: 'any' },
{ url: '/favicon/favicon.svg', type: 'image/svg+xml', sizes: 'any' },
{ url: '/favicon/favicon-32x32.png', type: 'image/png', sizes: '32x32' },
{ url: '/favicon/favicon-16x16.png', type: 'image/png', sizes: '16x16' },
],
shortcut: '/favicon/favicon.ico',
apple: '/favicon/apple-touch-icon.png',
},
}

export default function LandingLayout({ children }: { children: ReactNode }) {
Expand Down
22 changes: 11 additions & 11 deletions apps/sim/app/(landing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import Landing from '@/app/(landing)/landing'

export const revalidate = 3600

const SOCIAL_IMAGE = {
url: '/brand/social/sim-og-image.png',
width: 1200,
height: 630,
alt: 'Sim, The AI Workspace for Teams',
type: 'image/png',
} as const

export const metadata: Metadata = {
metadataBase: new URL(SITE_URL),
title: {
Expand All @@ -29,15 +37,7 @@ export const metadata: Metadata = {
url: SITE_URL,
siteName: 'Sim',
locale: 'en_US',
images: [
{
url: '/logo/426-240/reverse/small.png',
width: 2130,
height: 1200,
alt: 'Sim, The AI Workspace for Teams',
type: 'image/png',
},
],
images: [SOCIAL_IMAGE],
},
twitter: {
card: 'summary_large_image',
Expand All @@ -47,8 +47,8 @@ export const metadata: Metadata = {
description:
'Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Connect 1,000+ integrations and every major LLM to create agents that automate real work.',
images: {
url: '/logo/426-240/reverse/small.png',
alt: 'Sim, The AI Workspace for Teams',
url: SOCIAL_IMAGE.url,
alt: SOCIAL_IMAGE.alt,
},
},
alternates: {
Expand Down
Binary file added apps/sim/public/brand/social/sim-og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/favicon.ico
Binary file not shown.
4 changes: 1 addition & 3 deletions apps/sim/public/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/sim/public/favicon/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/sim/public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading