-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c2c9bf
commit dd64908
Showing
23 changed files
with
236 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { CldOgImage } from '../../../next-cloudinary'; | ||
|
||
const OgImage = ({ title, ...props }) => { | ||
return ( | ||
<CldOgImage | ||
src="images/next-cloudinary-social-background" | ||
overlays={[ | ||
{ | ||
width: 2000, | ||
crop: 'fit', | ||
position: { | ||
y: -160 | ||
}, | ||
text: { | ||
color: 'white', | ||
fontFamily: 'Source Sans Pro', | ||
fontSize: 200, | ||
fontWeight: 'black', | ||
text: title, | ||
alignment: 'center', | ||
lineSpacing: -50 | ||
} | ||
}, | ||
{ | ||
publicId: 'images/cloudinary-white', | ||
position: { | ||
x: -200, | ||
y: 180, | ||
}, | ||
}, | ||
{ | ||
publicId: 'images/nextjs-white', | ||
position: { | ||
x: 350, | ||
y: 180, | ||
}, | ||
}, | ||
{ | ||
position: { | ||
y: 320 | ||
}, | ||
text: { | ||
color: 'white', | ||
fontFamily: 'Source Sans Pro', | ||
fontSize: 60, | ||
fontWeight: 'bold', | ||
text: 'next-cloudinary.spacejelly.dev' | ||
} | ||
} | ||
]} | ||
{...props} | ||
/> | ||
) | ||
} | ||
|
||
export default OgImage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from './OgImage'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
import Head from 'next/head'; | ||
|
||
import OgImage from '../../../components/OgImage'; | ||
|
||
<Head> | ||
<title>CldUploadButton Configuration - Next Cloudinary</title> | ||
</Head> | ||
|
||
<OgImage title="CldUploadButton Configuration" /> | ||
|
||
# CldUploadButton Configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
import Head from 'next/head'; | ||
|
||
import OgImage from '../../../components/OgImage'; | ||
|
||
<Head> | ||
<title>CldUploadWidget Configuration - Next Cloudinary</title> | ||
</Head> | ||
|
||
<OgImage title="CldUploadWidget Configuration" /> | ||
|
||
# CldUploadWidget Configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
dd64908
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
next-cloudinary – ./
next-cloudinary-example.vercel.app
next-cloudinary-colbyfayock.vercel.app
next-cloudinary.spacejelly.dev
next-cloudinary-git-main-colbyfayock.vercel.app