Skip to content

Commit f64be3c

Browse files
authored
feat(community): add /linkedin redirect and route email footer LinkedIn through it (#5654)
1 parent 2e5b33c commit f64be3c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

apps/sim/components/emails/components/email-footer.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ export function EmailFooter({
8181
</Link>
8282
</td>
8383
<td align='left' style={{ padding: '0 8px' }}>
84-
<Link
85-
href='https://www.linkedin.com/company/simdotai'
86-
rel='noopener noreferrer'
87-
>
84+
<Link href={`${baseUrl}/linkedin`} rel='noopener noreferrer'>
8885
<Img
8986
src={`${baseUrl}/static/linkedin-icon.png`}
9087
width='20'

apps/sim/next.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,11 @@ const nextConfig: NextConfig = {
339339
destination: 'https://x.com/simdotai',
340340
permanent: false,
341341
},
342+
{
343+
source: '/linkedin',
344+
destination: 'https://www.linkedin.com/company/simstudioai/',
345+
permanent: false,
346+
},
342347
{
343348
source: '/github',
344349
destination: 'https://github.com/simstudioai/sim',

0 commit comments

Comments
 (0)