Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakSKumar committed Oct 3, 2023
1 parent e595aa7 commit 6de7c4e
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 4,428 deletions.
32 changes: 0 additions & 32 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feel free to fork it and use it for your website!
You can achieve deployment fully from the website without cloning the repository.

1. Fork the repository
2. Replace the public/images/logo.jpg with your logo. Make sure it has the same file name.
2. Replace the public/images/logo.png with your logo. Make sure it has the same file name.

This is optional, replacing the logo will grant you the ease of using the api without having to add your logo link on the parameters every time.

Expand Down
Binary file removed public/images/logo.jpg
Binary file not shown.
Binary file added public/images/logo.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/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const defaultMeta = {
siteName: 'Open Graph Generator',
description: 'Made for personal use by Sarthak S Kumar',
url: deploymentURL,
image: `${deploymentURL}/images/logo.jpg`,
image: `${deploymentURL}/images/logo.png`,
type: 'website',
robots: 'follow, index',
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function openGraph({
siteName,
templateTitle,
description,
logo = `${deploymentURL}/images/logo.jpg`,
logo = `${deploymentURL}/images/logo.png`,
}: OpenGraphType): string {
const ogLogo = encodeURIComponent(logo);
const ogSiteName = encodeURIComponent(siteName.trim());
Expand Down
4 changes: 2 additions & 2 deletions src/pages/api/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default async function handler(req: NextRequest) {
style={{ margin: 0 }}
tw={clsx('text-2xl font-normal text-gray-300')}
>
theodorusclarence.com/blog
sarthakskumar.com/shorts
</h3>
<h1 tw={clsx('mt-0', 'text-4xl leading-tight font-normal')}>
<span
Expand Down Expand Up @@ -98,7 +98,7 @@ export default async function handler(req: NextRequest) {
>
<img
tw='w-[80px] rounded-full'
src='https://res.cloudinary.com/theodorusclarence/image/upload/c_fill,g_auto:face,h_160,w_160/v1673957822/theodorusclarence/about/self-3_square_jtiwai.jpg'
src='https://res.cloudinary.com/diqvllts4/image/upload/c_fill,g_auto:face,h_160,w_160/v1673957822/portfolio-website/profile-pic'
alt='Photo of me'
/>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/general.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function handler(req: NextRequest) {
siteName: siteName ?? 'Site Name',
description: description ?? 'Description',
theme: theme ?? 'dark',
logo: logo ?? `${deploymentURL}/images/logo.jpg`,
logo: logo ?? `${deploymentURL}/images/logo.png`,
templateTitle,
logoWidth: logoWidth ? +logoWidth : 100,
logoHeight: logoHeight ? +logoHeight : undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/gradient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function handler(req: NextRequest) {
siteName: siteName ?? 'Site Name',
description: description ?? 'Description',
theme: theme ?? 'dark',
logo: logo ?? `${deploymentURL}/images/logo.jpg`,
logo: logo ?? `${deploymentURL}/images/logo.png`,
templateTitle,
logoWidth: logoWidth ? +logoWidth : 100,
logoHeight: logoHeight ? +logoHeight : undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function BuildPage() {
<Input
id='logo'
label='Logo Links'
helperText={`default: ${deploymentURL}/images/logo.jpg`}
helperText={`default: ${deploymentURL}/images/logo.png`}
/>
<Input
id='banner'
Expand Down
Loading

0 comments on commit 6de7c4e

Please sign in to comment.