Skip to content

Commit c720c00

Browse files
committed
fix: add new message in hello component
1 parent 36027db commit c720c00

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/components/Hello.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ export const Hello = async () => {
1212
{`👋 `}
1313
{t('hello_message', { email: user?.emailAddresses[0]?.emailAddress })}
1414
</p>
15+
<p>
16+
{t.rich('alternative_message', {
17+
url: () => (
18+
<a
19+
className="text-blue-700 hover:border-b-2 hover:border-blue-700"
20+
href="https://nextjs-boilerplate.com/pro-saas-starter-kit"
21+
>
22+
Next.js Boilerplate SaaS
23+
</a>
24+
),
25+
})}
26+
</p>
1527
<Sponsors />
1628
</>
1729
);

src/locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
},
6262
"Dashboard": {
6363
"meta_title": "Dashboard",
64-
"hello_message": "Hello {email}!"
64+
"hello_message": "Hello {email}!",
65+
"alternative_message": "Want to build your SaaS faster using the same stack? <url></url>."
6566
},
6667
"UserProfile": {
6768
"meta_title": "User Profile"

0 commit comments

Comments
 (0)