Skip to content

Commit

Permalink
updated portfolio and added image and removed pexels outgoing from co…
Browse files Browse the repository at this point in the history
…nfig
  • Loading branch information
RikhiSingh committed May 8, 2024
1 parent fbb4958 commit e9e2676
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 23 deletions.
10 changes: 0 additions & 10 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
images:{
// loader: "custom",
// loaderFile: "./loader.js",
remotePatterns:[
{
protocol:"https",
hostname:'images.pexels.com',
},
],
},
};

export default nextConfig;
Expand Down
Binary file added public/CMSAdmin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/WebStore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/duolingo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/portfolio.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/app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Homepage = () => {
<div className="h-full flex flex-col lg:flex-row px-4 sm:px-8 md:px-12 lg:px-20 xl:px-48">
{/* Image container */}
<div className="h-1/2 lg:h-full lg:w-1/2 relative">
<Image src='/hero.webp' alt="hero Image" fill className="object-contain" />
<Image src='./hero.webp' alt="hero Image" fill className="object-contain" />
</div>
{/* Text container */}
<div className="h-1/2 lg:h-full lg:w-1/2 flex flex-col gap-8 items-center justify-center">
Expand Down
27 changes: 15 additions & 12 deletions src/app/portfolio/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ const items = [
color: "from-red-300 to-blue-300",
title: "CMS Admin Dashboard",
desc: "Developed and Designed Web Content Management System using Next.JS, by using Clerk for authentication, TypeScript, TailwindCSS, Zod, Cloudinary, MySQL, Prisma, AXion, ShadCN and more!",
img: "https://images.pexels.com/photos/18073372/pexels-photo-18073372/free-photo-of-young-man-sitting-in-a-car-on-a-night-street.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load",
link: "https://github.com/RikhiSingh",
img: "./CMSAdmin.png",
link: "https://github.com/RikhiSingh?tab=repositories",
},
{
id: 2,
color: "from-blue-300 to-violet-300",
title: "Web Store",
title: "CMS based Web Store",
desc: "Fully Designed Web store for customer with Stripe integration, which fetching products and updating order details in the Admin CMS, using TypeScript, ShadCN, TailwindCSS and other latest web technologies!",
img: "https://images.pexels.com/photos/18023772/pexels-photo-18023772/free-photo-of-close-up-of-a-person-holding-a-wristwatch.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load",
link: "https://github.com/RikhiSingh",
img: "./webStore.png",
link: "https://github.com/RikhiSingh?tab=repositories",
},
{
id: 3,
color: "from-violet-300 to-purple-300",
title: "Portfolio Website",
desc: "Developed Portfolio Website using Next.JS, Tailwind CSS, MailJS, Motion-Framer and latest web technologies!",
img: "https://images.pexels.com/photos/6894528/pexels-photo-6894528.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load",
link: "https://github.com/RikhiSingh",
img: "./portfolio.png",
link: "https://github.com/RikhiSingh/rikhisingh.github.io",
},
{
id: 4,
color: "from-purple-300 to-red-300",
title: "Upcoming..",
desc: "In Development (Private Repo)",
img: "https://images.pexels.com/photos/18540208/pexels-photo-18540208/free-photo-of-wood-landscape-water-hill.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2",
title: "Duolingo (Upcoming)",
desc: "Duolingo Clone, currently under development and unfortunately is a private repo for the moment!",
img: "./duolingo.png",
link: "https://github.com/RikhiSingh",
},
];
Expand Down Expand Up @@ -109,8 +109,11 @@ const PortfolioPage = () => {
<p className="w-80 md:w96 lg:w-[500px] lg:text-lg xl:w-[600px]">
{item.desc}
</p>
<Link href={item.link} className="flex justify-end">
<button className="p-2 text-sm md:p-4 md:text-md lg:p-8 lg:text-lg bg-white text-gray-600 font-semibold m-4 rounded">See Demo</button>
<Link href={item.link} className="flex justify-end" target="_blank">
<button className="p-2 text-sm md:p-4 md:text-md lg:p-8 lg:text-lg bg-white text-gray-600 font-semibold m-4 rounded flex flex-row gap-2">

<Image src='./github.png' alt="github logo" width={24} height={24} />Github
</button>
</Link>
</div>
</div>
Expand Down

0 comments on commit e9e2676

Please sign in to comment.