Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

comment out discord and academy links from the app

Forhad Hosaine7aa95b9698f
diff --git a/packages/app/src/react/features/account/modal/block-account-delete.tsx b/packages/app/src/react/features/account/modal/block-account-delete.tsx
index 5fdc351f..a7fefad6 100644
--- a/packages/app/src/react/features/account/modal/block-account-delete.tsx
+++ b/packages/app/src/react/features/account/modal/block-account-delete.tsx
@@ -160,7 +160,10 @@ export default function BlockAccountDeleteModal({ handleToggle, deleteAccRequire
rel="noopener noreferrer"
>
documentation
- </a>{' '}
+ </a>
+ {
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ /* {' '}
or{' '}
<a
href="https://discord.gg/smythos"
@@ -169,7 +172,8 @@ export default function BlockAccountDeleteModal({ handleToggle, deleteAccRequire
rel="noopener noreferrer"
>
contact support
- </a>
+ </a> */
+ }
</p>
</div>
</CardContent>
diff --git a/packages/app/src/react/features/agent-settings/pages/AgentSettingsPage.tsx b/packages/app/src/react/features/agent-settings/pages/AgentSettingsPage.tsx
index 11f34408..5fad2504 100644
--- a/packages/app/src/react/features/agent-settings/pages/AgentSettingsPage.tsx
+++ b/packages/app/src/react/features/agent-settings/pages/AgentSettingsPage.tsx
@@ -183,7 +183,9 @@ export const AgentSettingsPageBody = () => {
if (agentQuery?.error?.['status'] == 403 || agentTestDomainQuery?.error?.['status'] == 403) {
window.location.href = '/error/403';
} else if (agentQuery.isError) {
- return <FullScreenError error={{ message: 'Agent doesn\'t exist', code: '404' }} />;
+ // We need to disable the eslint rule because the message contains single quotes.
+ // eslint-disable-next-line
+ return <FullScreenError error={{ message: "Agent doesn't exist", code: '404' }} />;
} else if (agentTestDomainQuery.isError) {
return <FullScreenError error={{ message: 'Application Error', code: '500' }} />;
}
@@ -218,13 +220,17 @@ export const AgentSettingsPageBody = () => {
<div className="flex justify-between items-center">{breadcrumb}</div>
<div className="mt-3 flex justify-between items-center">
<h2 className="text-3xl font-semibold">
- Agent Settings{' '}
+ Agent Settings
+ {
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ /*
<p className=" text-base inline text-gray-500 hidden">
- Alpha Prerelease -{' '}
<a href="https://discord.gg/smythos" target="_blank" className="text-blue-500">
Feedback
</a>
- </p>
+ </p> */
+ }
</h2>
<div className="flex gap-4">
diff --git a/packages/app/src/react/features/agents/data/onboarding-tasks.ts b/packages/app/src/react/features/agents/data/onboarding-tasks.ts
index 027a803c..13d9762a 100644
--- a/packages/app/src/react/features/agents/data/onboarding-tasks.ts
+++ b/packages/app/src/react/features/agents/data/onboarding-tasks.ts
@@ -16,7 +16,9 @@ export const onboardingTasks: OnboardingTaskProps[] = [
completeOnClick: true,
},
],
- completeDescription: 'You\'ve successfully completed the interactive quickstart guide',
+ // We need to disable the eslint rule because the description contains single quotes.
+ // eslint-disable-next-line
+ completeDescription: "You've successfully completed the interactive quickstart guide",
},
{
type: OnboardingTaskType.INVITE_TEAM_MEMBERS,
@@ -31,7 +33,9 @@ export const onboardingTasks: OnboardingTaskProps[] = [
type: OnboardingTaskType.INVITE_TEAM_MEMBERS,
},
],
- completeDescription: 'You\'ve successfully invited your team members to the platform',
+ // We need to disable the eslint rule because the description contains single quotes.
+ // eslint-disable-next-line
+ completeDescription: "You've successfully invited your team members to the platform",
},
{
type: OnboardingTaskType.TRY_AGENT_TEMPLATE,
@@ -46,24 +50,27 @@ export const onboardingTasks: OnboardingTaskProps[] = [
completeOnClick: true,
},
],
- completeDescription: 'You\'ve successfully created an agent using our template',
- },
- {
- type: OnboardingTaskType.JOIN_COMMUNITY,
- title: 'Join Community',
- icon: '/img/onboard/community.svg',
- description: 'Get live support in our vibrant community.',
- completed: false,
- buttons: [
- {
- label: 'Join our Discord',
- link: 'https://discord.gg/smythos',
- external: true,
- completeOnClick: true,
- },
- ],
- completeDescription: 'You\'ve successfully joined our community',
+ // We need to disable the eslint rule because the description contains single quotes.
+ // eslint-disable-next-line
+ completeDescription: "You've successfully created an agent using our template",
},
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ // {
+ // type: OnboardingTaskType.JOIN_COMMUNITY,
+ // title: 'Join Community',
+ // icon: '/img/onboard/community.svg',
+ // description: 'Get live support in our vibrant community.',
+ // completed: false,
+ // buttons: [
+ // {
+ // label: 'Join our Discord',
+ // link: 'https://discord.gg/smythos',
+ // external: true,
+ // completeOnClick: true,
+ // },
+ // ],
+ // completeDescription: 'You\'ve successfully joined our community',
+ // },
{
type: OnboardingTaskType.CREATE_FIRST_AGENT,
title: 'Build Agent from Scratch',
@@ -78,6 +85,8 @@ export const onboardingTasks: OnboardingTaskProps[] = [
external: true,
},
],
- completeDescription: 'You\'ve successfully created an agent using our step-by-step guide',
+ // We need to disable the eslint rule because the description contains single quotes.
+ // eslint-disable-next-line
+ completeDescription: "You've successfully created an agent using our step-by-step guide",
},
];
diff --git a/packages/app/src/react/features/builder/modals/mobile-warning-modal.tsx b/packages/app/src/react/features/builder/modals/mobile-warning-modal.tsx
index f71b4525..1fbdbcf4 100644
--- a/packages/app/src/react/features/builder/modals/mobile-warning-modal.tsx
+++ b/packages/app/src/react/features/builder/modals/mobile-warning-modal.tsx
@@ -164,11 +164,14 @@ export function MobileHandler({
Need help? Visit our{' '}
<a href={SMYTHOS_DOCS_URL} className="text-[#3C89F9] hover:underline">
documentation
- </a>{' '}
+ </a>
+ {/*
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ {' '}
or{' '}
<a href="https://discord.gg/smythos" className="text-[#3C89F9] hover:underline">
contact support
- </a>
+ </a> */}
</p>
</div>
</CardContent>
diff --git a/packages/app/src/react/features/onboarding/components/agent-onboarding-section/Learn.tsx b/packages/app/src/react/features/onboarding/components/agent-onboarding-section/Learn.tsx
index a71f4c46..7f45e9f6 100644
--- a/packages/app/src/react/features/onboarding/components/agent-onboarding-section/Learn.tsx
+++ b/packages/app/src/react/features/onboarding/components/agent-onboarding-section/Learn.tsx
@@ -10,21 +10,23 @@ const learnCards: LearnCardProps[] = [
'Basics, Tutorials, Components, Integrations, Data, Deployment, Security, Advanced Topics, Best Practices, Troubleshooting, and more. ',
link: SMYTHOS_DOCS_URL,
},
- {
- image: '/img/onboard/life-ring.png',
- title: 'Community Support',
- description: 'Join Discord for live support from our team and thousands of agent engineers.',
- link: 'https://discord.gg/smythos',
- external: true,
- },
- {
- image: '/img/onboard/academy.png',
- title: 'Visit Academy',
- description:
- 'Access free courses and certifications to master building AI agents and boost your skills.',
- link: 'https://academy.smythos.com',
- external: true,
- },
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ // {
+ // image: '/img/onboard/life-ring.png',
+ // title: 'Community Support',
+ // description: 'Join Discord for live support from our team and thousands of agent engineers.',
+ // link: 'https://discord.gg/smythos',
+ // external: true,
+ // },
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ // {
+ // image: '/img/onboard/academy.png',
+ // title: 'Visit Academy',
+ // description:
+ // 'Access free courses and certifications to master building AI agents and boost your skills.',
+ // link: 'https://academy.smythos.com',
+ // external: true,
+ // },
];
export const Learn = () => {
diff --git a/packages/app/src/react/shared/constants/navigation.ts b/packages/app/src/react/shared/constants/navigation.ts
index 9268e540..69008b97 100644
--- a/packages/app/src/react/shared/constants/navigation.ts
+++ b/packages/app/src/react/shared/constants/navigation.ts
@@ -1,6 +1,7 @@
import { plugins, PluginTarget, PluginType } from '@src/react/shared/plugins/Plugins';
import { SMYTHOS_DOCS_URL } from '@src/shared/constants/general';
-import { BookIcon, DiscordIcon, HomeIcon, KeyIcon } from '../components/svgs';
+// TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+import { BookIcon, /* DiscordIcon, */ HomeIcon, KeyIcon } from '../components/svgs';
export const PRICING_PLAN_REDIRECT = 'https://smythos.com/pricing/';
@@ -30,12 +31,13 @@ export const getSidebarMenuItems = (): SidebarMenuItem[] => {
export const bottomLinks = [
{ title: 'Docs', path: SMYTHOS_DOCS_URL, icon: BookIcon, isExternal: true },
- {
- title: 'Discord Support',
- path: 'https://discord.gg/smythos',
- icon: DiscordIcon,
- isExternal: true,
- },
+ // TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability.
+ // {
+ // title: 'Discord Support',
+ // path: 'https://discord.gg/smythos',
+ // icon: DiscordIcon,
+ // isExternal: true,
+ // },
];
export const profileDropdownItems = () => {
diff --git a/packages/app/views/pages/partials/studio/builder-menu.ejs b/packages/app/views/pages/partials/studio/builder-menu.ejs
index 7fa157c8..a05067cb 100644
--- a/packages/app/views/pages/partials/studio/builder-menu.ejs
+++ b/packages/app/views/pages/partials/studio/builder-menu.ejs
@@ -402,7 +402,8 @@
>Documentation</a
>
</li>
- <li class="block w-full hover:bg-gray-100">
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <li class="block w-full hover:bg-gray-100">
<a
href="https://discord.gg/smythos"
target="_blank"
@@ -410,7 +411,7 @@
class="block px-4 py-2 text-sm text-gray-700"
>Discord</a
>
- </li>
+ </li> -->
</ul>
</div>
</div>
diff --git a/packages/app/views/pages/partials/studio/left-sidebar-help.ejs b/packages/app/views/pages/partials/studio/left-sidebar-help.ejs
index ae638a6d..6872c3c2 100644
--- a/packages/app/views/pages/partials/studio/left-sidebar-help.ejs
+++ b/packages/app/views/pages/partials/studio/left-sidebar-help.ejs
@@ -162,7 +162,8 @@
<%- include('icons/book.ejs'); -%> Documentation
</a>
</li>
- <li data-id="23">
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <li data-id="23">
<a
href="https://academy.smythos.com"
target="_blank"
@@ -171,8 +172,9 @@
>
<%- include('icons/academy.ejs'); -%> Academy
</a>
- </li>
- <li data-id="23">
+ </li> -->
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <li data-id="23">
<a
href="https://discord.gg/smythos"
target="_blank"
@@ -181,7 +183,7 @@
>
<%- include('icons/chat.ejs'); -%> Ask SmythOS developers
</a>
- </li>
+ </li> -->
<li data-id="23">
<a
href="mailto:[email protected]"
@@ -192,7 +194,8 @@
<%- include('icons/email.ejs'); -%> Email support
</a>
</li>
- <li data-id="23">
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <li data-id="23">
<a
href="https://discord.gg/smythos"
target="_blank"
@@ -201,7 +204,7 @@
>
<%- include('icons/discord.ejs'); -%> Discord
</a>
- </li>
+ </li> -->
<li data-id="23">
<button
onclick="showKeyboardShortcutsModal()"
diff --git a/packages/middleware/src/views/emails/subscription-cancellation-scheduled.ejs b/packages/middleware/src/views/emails/subscription-cancellation-scheduled.ejs
index 6b440737..0ebdcac5 100644
--- a/packages/middleware/src/views/emails/subscription-cancellation-scheduled.ejs
+++ b/packages/middleware/src/views/emails/subscription-cancellation-scheduled.ejs
@@ -99,10 +99,11 @@
<!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
Linkedin
</a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
+ </a> -->
</div>
<div>
<a href="mailto:[email protected]">Contact Us</a>
diff --git a/packages/middleware/src/views/emails/subscription-created.ejs b/packages/middleware/src/views/emails/subscription-created.ejs
index ff21d7e2..00364dc9 100644
--- a/packages/middleware/src/views/emails/subscription-created.ejs
+++ b/packages/middleware/src/views/emails/subscription-created.ejs
@@ -99,10 +99,11 @@
<!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
Linkedin
</a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
+ </a> -->
</div>
<div>
<!-- <a href="{{ unsubscribe_link_all }}">Unsubscribe</a> | -->
diff --git a/packages/middleware/src/views/emails/successful-team-join.ejs b/packages/middleware/src/views/emails/successful-team-join.ejs
index dd376694..9e275c40 100644
--- a/packages/middleware/src/views/emails/successful-team-join.ejs
+++ b/packages/middleware/src/views/emails/successful-team-join.ejs
@@ -1,115 +1,122 @@
<!DOCTYPE html>
<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to Your Team</title>
<style type="text/css">
- body {
- margin: 0;
- padding: 0;
- background-color: #f2f2f2;
- font-family: 'Inter', Arial, sans-serif;
- }
+ body {
+ margin: 0;
+ padding: 0;
+ background-color: #f2f2f2;
+ font-family: 'Inter', Arial, sans-serif;
+ }
+ .container {
+ width: 100%;
+ max-width: 600px;
+ background-color: #ffffff;
+ margin: 0 auto;
+ padding: 20px;
+ text-align: center;
+ border-collapse: collapse;
+ }
+ .logo img {
+ background-color: #ffffff;
+ width: 150px;
+ height: auto;
+ padding: 20px;
+ }
+ .content {
+ padding: 20px 20px;
+ color: #1d1d1d;
+ }
+ .content h2 {
+ color: #2aad8e;
+ }
+ .content h3 {
+ color: #1d1d1d;
+ }
+ .content h4 {
+ color: #1d1d1d;
+ }
+ .button {
+ background-color: #2aad8e;
+ color: white;
+ padding: 10px 20px;
+ text-decoration: none;
+ display: inline-block;
+ margin: 20px 0;
+ border-radius: 5px;
+ }
+ .footer {
+ font-size: 12px;
+ color: #1d1d1d;
+ padding: 20px;
+ }
+ .social-icons img {
+ width: 24px;
+ height: auto;
+ margin: 0 5px;
+ }
+
+ /* Responsive styles */
+ @media only screen and (max-width: 620px) {
.container {
- width: 100%;
- max-width: 600px;
- background-color: #ffffff;
- margin: 0 auto;
- padding: 20px;
- text-align: center;
- border-collapse: collapse;
- }
- .logo img{
- background-color: #ffffff;
- width: 150px;
- height: auto;
- padding: 20px;
- }
- .content {
- padding: 20px 20px;
- color: #1d1d1d;
- }
- .content h2 {
- color: #2AAD8E;
- }
- .content h3 {
- color: #1d1d1d;
+ width: 100%;
+ padding: 10px;
}
- .content h4 {
- color: #1d1d1d;
+ .logo img {
+ width: 100px; /* Adjust based on your logo size */
}
.button {
- background-color: #2AAD8E;
- color: white;
- padding: 10px 20px;
- text-decoration: none;
- display: inline-block;
- margin: 20px 0;
- border-radius: 5px;
- }
- .footer {
- font-size: 12px;
- color: #1d1d1d;
- padding: 20px;
+ width: 100%;
+ padding: 15px 0;
}
.social-icons img {
- width: 24px;
- height: auto;
- margin: 0 5px;
- }
-
- /* Responsive styles */
- @media only screen and (max-width: 620px) {
- .container {
- width: 100%;
- padding: 10px;
- }
- .logo img {
- width: 100px; /* Adjust based on your logo size */
- }
- .button {
- width: 100%;
- padding: 15px 0;
- }
- .social-icons img {
- width: 20px;
- }
+ width: 20px;
}
+ }
</style>
-</head>
-<body>
+ </head>
+ <body>
<div class="container">
- <div class="logo">
- <!-- Include your logo image here -->
- <img src="https://app.smythos.dev/img/smythos-logo.png" alt="SmythOS Logo" />
- </div>
- <div class="content">
- <h2>It's Official!</h2>
- <p>You're in! This message is to confirm that you have successfully joined <strong><%= inviter.name %>'s</strong> <strong style="color: #2AAD8E; font-weight: bold;"><%= team.name %> team</strong>.</p>
- <a href="<%= config.FRONTEND_BASE_URL %>" class="button">Go to Agent Studio</a>
- <p>Now that you're officially part of <%= inviter.name %>'s team, you'll be able to collaborate with your team members. Your role and permissions will be defined by your team admin.</p>
- <p>We're excited to see what powerful AI agents you'll build with your team!</p>
- </div>
- <div class="footer">
- <div class="social-icons">
- <!-- Include your LinkedIn and Discord icons here -->
- <p>Join our community:</p>
- <a href="https://www.linkedin.com/company/smythos/mycompany/" target="_blank">
- <!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
- Linkedin
- </a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <div class="logo">
+ <!-- Include your logo image here -->
+ <img src="https://app.smythos.dev/img/smythos-logo.png" alt="SmythOS Logo" />
+ </div>
+ <div class="content">
+ <h2>It's Official!</h2>
+ <p>
+ You're in! This message is to confirm that you have successfully joined <strong><%= inviter.name %>'s</strong>
+ <strong style="color: #2aad8e; font-weight: bold"><%= team.name %> team</strong>.
+ </p>
+ <a href="<%= config.FRONTEND_BASE_URL %>" class="button">Go to Agent Studio</a>
+ <p>
+ Now that you're officially part of <%= inviter.name %>'s team, you'll be able to collaborate with your team members. Your role and
+ permissions will be defined by your team admin.
+ </p>
+ <p>We're excited to see what powerful AI agents you'll build with your team!</p>
+ </div>
+ <div class="footer">
+ <div class="social-icons">
+ <!-- Include your LinkedIn and Discord icons here -->
+ <p>Join our community:</p>
+ <a href="https://www.linkedin.com/company/smythos/mycompany/" target="_blank">
+ <!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
+ Linkedin
+ </a>
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
- </div>
- <div>
- <a href="mailto:[email protected]">Contact Us</a>
- </div>
- <p>© 2024 SmythOS an INK Content, Inc. company • 1321 Upland Dr. 1036 • Houston, TX 77339</p>
- <a href="https://smythos.com" target="_blank">www.smythos.com</a>
+ </a> -->
+ </div>
+ <div>
+ <a href="mailto:[email protected]">Contact Us</a>
</div>
+ <p>© 2024 SmythOS an INK Content, Inc. company • 1321 Upland Dr. 1036 • Houston, TX 77339</p>
+ <a href="https://smythos.com" target="_blank">www.smythos.com</a>
+ </div>
</div>
-</body>
+ </body>
</html>
diff --git a/packages/middleware/src/views/emails/team-invitation-accepted.ejs b/packages/middleware/src/views/emails/team-invitation-accepted.ejs
index 5eeddad3..bf291f35 100644
--- a/packages/middleware/src/views/emails/team-invitation-accepted.ejs
+++ b/packages/middleware/src/views/emails/team-invitation-accepted.ejs
@@ -101,10 +101,11 @@
<!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
Linkedin
</a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
+ </a> -->
</div>
<div>
<a href="mailto:[email protected]">Contact Us</a>
diff --git a/packages/middleware/src/views/emails/team-invitation-sent.ejs b/packages/middleware/src/views/emails/team-invitation-sent.ejs
index 8f873d1d..531c2bf6 100644
--- a/packages/middleware/src/views/emails/team-invitation-sent.ejs
+++ b/packages/middleware/src/views/emails/team-invitation-sent.ejs
@@ -102,10 +102,11 @@
<!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
Linkedin
</a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
+ </a> -->
</div>
<div>
<a href="mailto:[email protected]">Contact Us</a>
diff --git a/packages/middleware/src/views/emails/upcoming-subscription-renewal.ejs b/packages/middleware/src/views/emails/upcoming-subscription-renewal.ejs
index 4f6af0d2..2e12494f 100644
--- a/packages/middleware/src/views/emails/upcoming-subscription-renewal.ejs
+++ b/packages/middleware/src/views/emails/upcoming-subscription-renewal.ejs
@@ -1,114 +1,118 @@
<!DOCTYPE html>
<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Subscription Renewal</title>
<style type="text/css">
- body {
- margin: 0;
- padding: 0;
- background-color: #f2f2f2;
- font-family: 'Inter', Arial, sans-serif;
- }
+ body {
+ margin: 0;
+ padding: 0;
+ background-color: #f2f2f2;
+ font-family: 'Inter', Arial, sans-serif;
+ }
+ .container {
+ width: 100%;
+ max-width: 600px;
+ background-color: #ffffff;
+ margin: 0 auto;
+ padding: 20px;
+ text-align: center;
+ border-collapse: collapse;
+ }
+ .logo img {
+ background-color: #ffffff;
+ width: 150px;
+ height: auto;
+ padding: 20px;
+ }
+ .content {
+ padding: 20px 20px;
+ color: #1d1d1d;
+ }
+ .content h2 {
+ color: #2aad8e;
+ }
+ .content h3 {
+ color: #1d1d1d;
+ }
+ .content h4 {
+ color: #1d1d1d;
+ }
+ .button {
+ background-color: #2aad8e;
+ color: white;
+ padding: 10px 20px;
+ text-decoration: none;
+ display: inline-block;
+ margin: 20px 0;
+ border-radius: 5px;
+ }
+ .footer {
+ font-size: 12px;
+ color: #1d1d1d;
+ padding: 20px;
+ }
+ .social-icons img {
+ width: 24px;
+ height: auto;
+ margin: 0 5px;
+ }
+
+ /* Responsive styles */
+ @media only screen and (max-width: 620px) {
.container {
- width: 100%;
- max-width: 600px;
- background-color: #ffffff;
- margin: 0 auto;
- padding: 20px;
- text-align: center;
- border-collapse: collapse;
- }
- .logo img{
- background-color: #ffffff;
- width: 150px;
- height: auto;
- padding: 20px;
- }
- .content {
- padding: 20px 20px;
- color: #1d1d1d;
- }
- .content h2 {
- color: #2AAD8E;
- }
- .content h3 {
- color: #1d1d1d;
+ width: 100%;
+ padding: 10px;
}
- .content h4 {
- color: #1d1d1d;
+ .logo img {
+ width: 100px; /* Adjust based on your logo size */
}
.button {
- background-color: #2AAD8E;
- color: white;
- padding: 10px 20px;
- text-decoration: none;
- display: inline-block;
- margin: 20px 0;
- border-radius: 5px;
- }
- .footer {
- font-size: 12px;
- color: #1d1d1d;
- padding: 20px;
+ width: 100%;
+ padding: 15px 0;
}
.social-icons img {
- width: 24px;
- height: auto;
- margin: 0 5px;
- }
-
- /* Responsive styles */
- @media only screen and (max-width: 620px) {
- .container {
- width: 100%;
- padding: 10px;
- }
- .logo img {
- width: 100px; /* Adjust based on your logo size */
- }
- .button {
- width: 100%;
- padding: 15px 0;
- }
- .social-icons img {
- width: 20px;
- }
+ width: 20px;
}
+ }
</style>
-</head>
-<body>
+ </head>
+ <body>
<div class="container">
- <div class="logo">
- <!-- Include your logo image here -->
- <img src="https://app.smythos.dev/img/smythos-logo.png" alt="SmythOS Logo" />
- </div>
- <div class="content">
- <h2>Your Subscription is Due for Renewal</h2>
- <p>This is a quick reminder that your subscription is up for renewal on <strong>{{renewalDate}}</strong> and your card on file will be charged automatically on the said date.</p>
- <p>Please ensure that your account is up-to-date to prevent usage interruptions.</p>
- <a href="<%= config.FRONTEND_BASE_URL %>/my-plan" class="button">Check Billing Account</a>
- </div>
- <div class="footer">
- <div class="social-icons">
- <!-- Include your LinkedIn and Discord icons here -->
- <p>Join our community:</p>
- <a href="https://www.linkedin.com/company/smythos/mycompany/" target="_blank">
- <!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
- Linkedin
- </a>
- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
- <!-- <img src="path-to-discord-icon.png" alt="Discord" /> -->
+ <div class="logo">
+ <!-- Include your logo image here -->
+ <img src="https://app.smythos.dev/img/smythos-logo.png" alt="SmythOS Logo" />
+ </div>
+ <div class="content">
+ <h2>Your Subscription is Due for Renewal</h2>
+ <p>
+ This is a quick reminder that your subscription is up for renewal on <strong>{{ renewalDate }}</strong> and your card on file will be
+ charged automatically on the said date.
+ </p>
+ <p>Please ensure that your account is up-to-date to prevent usage interruptions.</p>
+ <a href="<%= config.FRONTEND_BASE_URL %>/my-plan" class="button">Check Billing Account</a>
+ </div>
+ <div class="footer">
+ <div class="social-icons">
+ <!-- Include your LinkedIn and Discord icons here -->
+ <p>Join our community:</p>
+ <a href="https://www.linkedin.com/company/smythos/mycompany/" target="_blank">
+ <!-- <img src="path-to-linkedin-icon.png" alt="LinkedIn" /> -->
+ Linkedin
+ </a>
+ <!-- TODO: Delete this commented block once removal is confirmed. Discord & Academy links were removed from the app; code kept for traceability. -->
+ <!-- <a href="https://discord.gg/pF8GSzbBEM" target="_blank">
+ <img src="path-to-discord-icon.png" alt="Discord" />
Discord
- </a>
- </div>
- <div>
- <a href="mailto:[email protected]">Contact Us</a>
- </div>
- <p>© 2024 SmythOS an INK Content, Inc. company • 1321 Upland Dr. 1036 • Houston, TX 77339</p>
- <a href="https://smythos.com" target="_blank">www.smythos.com</a>
+ </a> -->
+ </div>
+ <div>
+ <a href="mailto:[email protected]">Contact Us</a>
</div>
+ <p>© 2024 SmythOS an INK Content, Inc. company • 1321 Upland Dr. 1036 • Houston, TX 77339</p>
+ <a href="https://smythos.com" target="_blank">www.smythos.com</a>
+ </div>
</div>
-</body>
+ </body>
</html>