Skip to content
Draft
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 app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function RootLayout({
<html lang="en">
<head>
<PlausibleProvider
domain="papermark.io"
domain="papermark.com"
enabled={process.env.NEXT_PUBLIC_VERCEL_ENV === "production"}
/>
</head>
Expand Down
2 changes: 1 addition & 1 deletion components/links/link-sheet/allow-list-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function AllowListSection({
className="focus:ring-inset"
rows={5}
placeholder={`Enter allowed emails/domains, one per line, e.g.
marc@papermark.io
marc@papermark.com
@example.org`}
value={allowListInput}
onChange={handleAllowListChange}
Expand Down
2 changes: 1 addition & 1 deletion components/links/link-sheet/deny-list-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function DenyListSection({
className="focus:ring-inset"
rows={5}
placeholder={`Enter blocked emails/domains, one per line, e.g.
marc@papermark.io
marc@papermark.com
@example.org`}
value={denyListInput}
onChange={handleDenyListChange}
Expand Down
2 changes: 1 addition & 1 deletion components/profile-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const ProfileMenu = ({ className, size }: ProfileMenuProps) => {
</button>

<a
href="mailto:support@papermark.io"
href="mailto:support@papermark.com"
className="my-1 flex items-center px-3 py-2 text-sm duration-200 hover:bg-gray-200 dark:hover:bg-muted"
>
<HelpCircle className="mr-2 h-4 w-4" />
Expand Down
4 changes: 2 additions & 2 deletions components/sidebar/nav-user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export function NavUser() {
</DropdownMenuItem>
<DropdownMenuItem
onClick={() => {
navigator.clipboard.writeText("support@papermark.io");
toast.success("support@papermark.io copied to clipboard");
navigator.clipboard.writeText("support@papermark.com");
toast.success("support@papermark.com copied to clipboard");
}}
>
<MailIcon />
Expand Down
2 changes: 1 addition & 1 deletion components/ui/progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Progress = React.forwardRef<
<div className="absolute inset-0 flex items-center justify-center py-2">
<div className="absolute inset-0 flex items-center justify-center gap-x-2 overflow-hidden bg-destructive text-destructive-foreground">
<span className="text-xs">{text}</span>
<a href="mailto:support@papermark.io" title="Contact Support">
<a href="mailto:support@papermark.com" title="Contact Support">
<HelpCircleIcon className="size-4" />
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/middleware/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function DomainMiddleware(req: NextRequest) {
headers: {
"X-Robots-Tag": "noindex",
"X-Powered-By":
"Papermark.io - Document sharing infrastructure for the modern web",
"Papermark.com - Document sharing infrastructure for the modern web",
},
});
}
12 changes: 6 additions & 6 deletions lib/resend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ export const sendEmail = async ({
const fromAddress =
from ??
(marketing
? "Marc from Papermark <[email protected].io>"
? "Marc from Papermark <[email protected].com>"
: system
? "Papermark <system@papermark.io>"
? "Papermark <system@papermark.com>"
: verify
? "Papermark <[email protected].io>"
? "Papermark <[email protected].com>"
: !!scheduledAt
? "Marc Seitz <marc@papermark.io>"
: "Marc from Papermark <marc@papermark.io>");
? "Marc Seitz <marc@papermark.com>"
: "Marc from Papermark <marc@papermark.com>");

try {
const { data, error } = await resend.emails.send({
from: fromAddress,
to: test ? "[email protected]" : to,
cc: cc,
replyTo: marketing ? "marc@papermark.io" : replyTo,
replyTo: marketing ? "marc@papermark.com" : replyTo,
subject,
react,
scheduledAt,
Expand Down
2 changes: 1 addition & 1 deletion lib/year-in-review/send-emails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export async function processEmailQueue() {

return {
email: {
from: "Papermark <system@papermark.io>",
from: "Papermark <system@papermark.com>",
to: userTeam.user.email || "[email protected]",
subject: "2024 in Review: Your Year with Papermark",
react,
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function App({
<PostHogCustomProvider>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem>
<PlausibleProvider
domain="papermark.io"
domain="papermark.com"
enabled={process.env.NEXT_PUBLIC_VERCEL_ENV === "production"}
>
<NuqsAdapter>
Expand Down