Skip to content
Open
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
4 changes: 3 additions & 1 deletion src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import Link from "next/link";
import { ModeToggle } from "@/components/mode-toggle";

export function Footer() {
const year = new Date().getFullYear();

return (
<>
<footer className="border-t bg-gray-100 dark:bg-background">
Expand Down Expand Up @@ -51,7 +53,7 @@ export function Footer() {
<footer className="py-8 px-5 border-t">
<div className="text-center">
<span className="block text-sm text-center text-gray-500 dark:text-gray-400">
© 2024 <Link href="/">{applicationName}</Link>. All Rights Reserved.
© {year} <Link href="/">{applicationName}</Link>. All Rights Reserved.
Built with ❤️ by {companyName}
</span>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/emails/invite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const BASE_URL = env.HOST_NAME;

export function InviteEmail({ group, token }: { group: Group; token: string }) {
const previewText = `You're been invted to a group!`;
const year = new Date().getFullYear();

return (
<Html>
<Head />
Expand Down Expand Up @@ -61,7 +63,7 @@ export function InviteEmail({ group, token }: { group: Group; token: string }) {
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full " />

<Text className="text-[#666666] text-[12px] leading-[24px] flex items-center justify-center">
© 2024 {applicationName}. All rights reserved.
© {year} {applicationName}. All rights reserved.
</Text>
</Container>
</Body>
Expand Down
4 changes: 3 additions & 1 deletion src/emails/magic-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const BASE_URL = env.HOST_NAME;

export function MagicLinkEmail({ token }: { token: string }) {
const previewText = `You're been invted to a group!`;
const year = new Date().getFullYear();

return (
<Html>
<Head />
Expand Down Expand Up @@ -58,7 +60,7 @@ export function MagicLinkEmail({ token }: { token: string }) {
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />

<Text className="text-[#666666] text-[12px] leading-[24px] flex items-center justify-center">
© 2024 {applicationName}. All rights reserved.
© {year} {applicationName}. All rights reserved.
</Text>
</Container>
</Body>
Expand Down
4 changes: 3 additions & 1 deletion src/emails/reset-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { applicationName } from "@/app-config";
export const BASE_URL = env.HOST_NAME;

export function ResetPasswordEmail({ token }: { token: string }) {
const year = new Date().getFullYear();

return (
<Html>
<Head />
Expand Down Expand Up @@ -57,7 +59,7 @@ export function ResetPasswordEmail({ token }: { token: string }) {
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />

<Text className="text-[#666666] text-[12px] leading-[24px] flex items-center justify-center">
© 2024 {applicationName}. All rights reserved.
© {year} {applicationName}. All rights reserved.
</Text>
</Container>
</Body>
Expand Down
4 changes: 3 additions & 1 deletion src/emails/verify-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { applicationName } from "@/app-config";
export const BASE_URL = env.HOST_NAME;

export function VerifyEmail({ token }: { token: string }) {
const year = new Date().getFullYear();

return (
<Html>
<Head />
Expand Down Expand Up @@ -57,7 +59,7 @@ export function VerifyEmail({ token }: { token: string }) {
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />

<Text className="text-[#666666] text-[12px] leading-[24px] flex items-center justify-center">
© 2024 {applicationName}. All rights reserved.
© {year} {applicationName}. All rights reserved.
</Text>
</Container>
</Body>
Expand Down