Skip to content

Commit

Permalink
Added opengraph image (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayasingam-paddle authored Sep 16, 2024
1 parent 1864ca4 commit eb11ce6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Toaster } from '@/components/ui/toaster';
const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
metadataBase: new URL('https://paddle-billing.vercel.app'),
title: 'AeroEdit',
description:
'AeroEdit is a powerful team design collaboration app and image editor. With plans for businesses of all sizes, streamline your workflow with real-time collaboration, advanced editing tools, and seamless project management.',
Expand Down
Binary file added src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/authentication/login-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function LoginForm() {

function handleLogin() {
login({ email, password }).then((data) => {
if (data.error) {
if (data?.error) {
toast({ description: 'Invalid email or password', variant: 'destructive' });
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/authentication/sign-up-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function SignupForm() {

function handleSignup() {
signup({ email, password }).then((data) => {
if (data.error) {
if (data?.error) {
toast({ description: 'Something went wrong. Please try again', variant: 'destructive' });
}
});
Expand Down

0 comments on commit eb11ce6

Please sign in to comment.