Skip to content

Commit

Permalink
Merge pull request #5 from gmook9/dev
Browse files Browse the repository at this point in the history
updated card images and colors
  • Loading branch information
gmook9 authored Aug 7, 2024
2 parents b6981e3 + da3e42c commit 35663aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added public/images/ebwebstore.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/images/stardelicwebstore.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/components/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface CardProps {
const Card: React.FC<CardProps> = ({ imageUrl, cardName, cardBodyText, btnColor, cardColor, btnLink }) => {
return (
<div className="card bg-base-100 w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-sm shadow-xl pb-109">
<figure className="flex justify-center items-center p-4 bg-white">
<figure className="flex justify-center items-center p-4 bg-gray-200">
<img
src={imageUrl}
alt={cardName}
Expand Down
6 changes: 3 additions & 3 deletions src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Card from '../components/card';
const Home: React.FC = () => {
return (
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-900 text-white pb-16">
<div className="mb-8">
<div className="mb-8 pt-4">
<Image
src="/images/profileImage.jpg"
alt="Profile Image"
Expand All @@ -24,7 +24,7 @@ const Home: React.FC = () => {
btnLink="https://github.com/gmook9"
/>
<Card
imageUrl="/images/eblogo.png"
imageUrl="/images/ebwebstore.png"
cardName="Shop Enchanting Butterfly"
cardBodyText="Explore our collection of enchanting products on Grailed."
btnColor="bg-gray-900 hover:bg-blue-500"
Expand All @@ -40,7 +40,7 @@ const Home: React.FC = () => {
btnLink="https://enchantingbutterfly.com/"
/>
<Card
imageUrl="/images/stardeliclogo.png"
imageUrl="/images/stardelicwebstore.png"
cardName="Shop Stardelic"
cardBodyText="Discover unique items from Stardelic on Depop."
btnColor="bg-gray-900 hover:bg-indigo-500"
Expand Down

0 comments on commit 35663aa

Please sign in to comment.