Skip to content

Commit

Permalink
Trying cloudinary as my image server
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanobaz committed Jan 27, 2024
1 parent 02627ef commit bbb3311
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="dfrugnsw9"
8 changes: 5 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import Image from 'next/image';
import headshot from '../public/finalheadshotedit.png';
import { CldImage } from 'next-cloudinary';
import styles from '../styles/Main.module.css';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
Expand Down Expand Up @@ -33,12 +33,14 @@ export default function Home() {
transition={{ delay: 0.4 }}
>
<Link className="cursor-pointer" href={'/'}>
<Image
<CldImage
id="pictureImage"
className={styles['picture-image']}
src={headshot}
src="https://res.cloudinary.com/dfrugnsw9/image/upload/v1685401832/finalheadshotedit_tfqes4.png"
alt="Portrait of Urbano Baz"
loading="lazy"
width={300}
height={300}
/>
</Link>
</motion.div>
Expand Down
58 changes: 58 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"eslint-config-next": "13.4.4",
"framer-motion": "^10.12.22",
"next": "^14.1.0",
"next-cloudinary": "^5.20.0",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down

1 comment on commit bbb3311

@vercel
Copy link

@vercel vercel bot commented on bbb3311 Jan 27, 2024

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:

portfolio-v3 – ./

portfolio-v3-ubazdevelops.vercel.app
portfolio-v3-git-main-ubazdevelops.vercel.app
urbanobaz.com

Please sign in to comment.