Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/components/profile/public-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ export function PublicProfile({ user, storageBonus, domainBonus, linkedAccounts,
{files.map((file) => (
<a
key={file.id}
href={file.url}
href={`https://embrly.ca/${file.url}`}
target="_blank"
rel="noopener noreferrer"
className="block p-4 rounded-lg border border-primary/10 hover:border-primary/30 hover:bg-primary/5 transition-all group"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/profile/referrals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function ProfileReferrals() {
const shareReferral = async () => {
if (!stats?.referralCode) return

const referralUrl = `${process.env.NEXT_PUBLIC_APP_URL || 'https://emberly.dev'}/auth/register?ref=${stats.referralCode}`
const referralUrl = `${process.env.NEXT_PUBLIC_APP_URL || 'https://embrly.ca'}/auth/register?ref=${stats.referralCode}`
const shareText = `Join Emberly and get $10 in billing credits! Use my referral link: ${referralUrl}`

if (navigator.share) {
Expand Down
6 changes: 3 additions & 3 deletions packages/lib/emails/templates/account-change.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ interface AccountChangeEmailProps {
export function AccountChangeEmail({
userName,
changes,
manageUrl = 'https://emberly.dev/dashboard/profile',
supportUrl = 'https://emberly.dev/contact',
manageUrl = 'https://embrly.ca/dashboard/profile',
supportUrl = 'https://embrly.ca/contact',
}: AccountChangeEmailProps) {
return (
<Html>
Expand All @@ -40,7 +40,7 @@ export function AccountChangeEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/admin-broadcast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function AdminBroadcastEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down Expand Up @@ -109,7 +109,7 @@ export function AdminBroadcastEmail({
<Text className="m-0 text-xs text-gray-600">
<strong>Questions?</strong> Please reach out to the Emberly team via{' '}
<Link
href="https://emberly.dev/contact"
href="https://embrly.ca/contact"
className="text-orange-600 no-underline font-semibold"
>
contact
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/emails/templates/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function BasicEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/new-login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function NewLoginEmail({
loginLocation = 'Unknown location',
loginTime = new Date().toLocaleString(),
loginDevice = 'Unknown device',
reviewUrl = 'https://emberly.dev/dashboard/security',
reviewUrl = 'https://embrly.ca/dashboard/profile?tab=security',
}: NewLoginEmailProps) {
return (
<Html>
Expand All @@ -40,7 +40,7 @@ export function NewLoginEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/password-reset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function PasswordResetEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down Expand Up @@ -112,7 +112,7 @@ export function PasswordResetEmail({
<Text className="m-0 text-sm text-blue-900">
<strong>Didn't request this?</strong> If you didn't request a password reset, you can safely ignore this email or{' '}
<Link
href="https://emberly.dev/contact"
href="https://embrly.ca/contact"
className="text-blue-700 font-semibold no-underline"
>
contact support
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/perk-gained.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function PerkGainedEmail({
perkDescription,
perkIcon = '🎉',
expiresAt,
viewUrl = 'https://emberly.dev/profile',
viewUrl = 'https://embrly.ca/dashboard/profile',
}: PerkGainedEmailProps) {
const expiryDate = expiresAt ? new Date(expiresAt).toLocaleDateString('en-US', {
year: 'numeric',
Expand All @@ -48,7 +48,7 @@ export function PerkGainedEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/quota-reached.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function QuotaReachedEmail({
quotaLimit,
percentage,
unit = 'GB',
dashboardUrl = 'https://emberly.dev/dashboard',
dashboardUrl = 'https://embrly.ca/dashboard',
}: QuotaReachedEmailProps) {
const percentageBar = Math.round(percentage / 5) // 20 segments for visual bar
const filledSegments = Math.round(percentageBar)
Expand All @@ -45,7 +45,7 @@ export function QuotaReachedEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/emails/templates/storage-assigned.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface StorageAssignedEmailProps {
export function StorageAssignedEmail({
storageAmount,
reason = 'as part of your subscription',
usageUrl = 'https://emberly.dev/dashboard/uploads',
usageUrl = 'https://embrly.ca/dashboard/',
}: StorageAssignedEmailProps) {
return (
<Html>
Expand All @@ -38,7 +38,7 @@ export function StorageAssignedEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/emails/templates/verification-code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function VerificationCodeEmail({
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down
8 changes: 4 additions & 4 deletions packages/lib/emails/templates/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function WelcomeEmail({ name = 'there', verificationUrl }: WelcomeEmailPr
<Section className="mb-8">
<Row>
<Column align="left">
<Link href="https://emberly.dev" className="inline-block">
<Link href="https://embrly.ca" className="inline-block">
<Text className="m-0 text-xl font-bold text-orange-600">
Emberly
</Text>
Expand Down Expand Up @@ -114,7 +114,7 @@ export function WelcomeEmail({ name = 'there', verificationUrl }: WelcomeEmailPr
<Text className="m-0 text-sm text-gray-600">
Have questions?{' '}
<Link
href="https://emberly.dev/contact"
href="https://embrly.ca/contact"
className="text-orange-600 font-semibold no-underline"
>
Get in touch
Expand All @@ -138,14 +138,14 @@ export function WelcomeEmail({ name = 'there', verificationUrl }: WelcomeEmailPr
<Column align="center">
<Text className="m-0 mt-2 text-xs text-gray-400">
<Link
href="https://emberly.dev/privacy"
href="https://embrly.ca/legal/privacy"
className="text-gray-400 no-underline mr-3"
>
Privacy
</Link>
{' | '}
<Link
href="https://emberly.dev/terms"
href="https://embrly.ca/legal/terms"
className="text-gray-400 no-underline ml-3"
>
Terms
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/events/handlers/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function sendEmail(options: {
perkDescription: typeof variables.perkDescription === 'string' ? variables.perkDescription : undefined,
perkIcon: typeof variables.perkIcon === 'string' ? variables.perkIcon : '🎉',
expiresAt: typeof variables.expiresAt === 'string' ? variables.expiresAt : null,
viewUrl: typeof variables.viewUrl === 'string' ? variables.viewUrl : 'https://emberly.dev/profile',
viewUrl: typeof variables.viewUrl === 'string' ? variables.viewUrl : 'https://embrly.ca/dashboard/profile',
},
skipTracking: true,
})
Expand Down
Loading