Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_API_URL="http://127.0.0.1:8000"
VITE_API_URL="http://127.0.0.1:8080"
# VITE_API_URL="https://pic-prism-my-jngk.vercel.app"
VITE_CLOUDINARY_API_KEY="918647814468562"
VITE_CLOUDINARY_CLOUD_NAME="dde6ql8hv"
Expand Down
29 changes: 29 additions & 0 deletions client/data/CtaData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// data.js
import icon from "../src/assets/Icon (2).png"
export const cardData = [
{
id: 1,
image: "../src/assets/Icon (1).png", // Relative path to the asset
date: "10th Oct 2022",
title: "Start Earning",
description:
"Choose between auctions and fixed-price listings. Start earning by selling your NFTs or trading others.",
},
{
id: 2,
image: "../src/assets/Icon (2).png",
date: "12th Nov 2022",
title: "Create Collection",
description:
"Upload your work and setup your collection. Add a description, social links and floor price.",
},
{
id: 3,
image: "../src/assets/Icon.png",
date: "15th Dec 2022",
title: "Setup Your Wallet",
description:
"Set up your wallet of choice. Connect it to the Animarket by clicking the wallet icon in the top right corner.",
},
];

26 changes: 26 additions & 0 deletions client/data/FooterData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export const footerData = {
about: [
"We are a passionate team dedicated to delivering the best services to our customers.",
"Our goal is to provide seamless experiences with quality products.",
"Join us on our journey to innovate and inspire the community.",
],
links: [
{ name: "Home", url: "/" },
{ name: "About Us", url: "/about" },
{ name: "Services", url: "/services" },

{ name: "Contact Us", url: "/contact" },
],
contact: {
address: "123 Tech Street, Innovation City, 45678",
phone: "+1 234 567 890",
email: "support@example.com",
},
social: [
{ name: "Facebook", url: "https://facebook.com" },
{ name: "Twitter", url: "https://twitter.com" },
{ name: "Instagram", url: "https://instagram.com" },
{ name: "LinkedIn", url: "https://linkedin.com" },
],
};

6 changes: 5 additions & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href=""



/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pic-Store</title>
</head>
Expand Down
12 changes: 12 additions & 0 deletions client/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 client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@fontsource/space-mono": "^5.1.2",
"@ramonak/react-progress-bar": "^5.3.0",
"@reduxjs/toolkit": "^2.2.7",
"axios": "^1.7.5",
Expand Down
46 changes: 5 additions & 41 deletions client/src/App.css
Original file line number Diff line number Diff line change
@@ -1,42 +1,6 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}

.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}

.card {
padding: 2em;
}

.read-the-docs {
color: #888;
}
background-color: #2B2B2B; /* Replace with your desired color */
min-height: 100vh; /* Ensures the background covers the full viewport */
margin: 0;
padding: 0;
}
Binary file added client/src/assets/Icon (1).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 client/src/assets/Icon (2).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 client/src/assets/Icon.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 client/src/assets/Photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions client/src/components/CtaPage.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import React from "react";

import { cardData } from "../../data/CtaData";
import sice from "../../src/assets/Photo.png";

function CtaPage() {
return (
<div className="bg-[#2B2B2B] pt-10 h-[1270px] ">
<div className="ml-28">
<h1 className="text-4xl font-spaceMono font-bold text-[#ffff]">
How It Works
</h1>
<p className="text-[#ffff] text-2xl mt-3">
Find Out How To Get Started
</p>
</div>
<div className="w-[85%] h-[500px] mt-10 m-auto flex flex-wrap gap-5 justify-center">
{cardData.map((card) => (
<div
key={card.id}
className="w-[31%] mt-10 bg-[#3B3B3B] rounded-3xl overflow-hidden transition hover:shadow-lg"
>
<div className="flex justify-center items-center">
<img alt={card.title} src={card.image} className=" w-[80%]" />
</div>
<div className="p-4 sm:p-6">
<a href="#">
<h3 className="mt-0.5 text-xl font-bold font-spaceMono text-center text-[#ffff] ">
{card.title}
</h3>
</a>
<p className="mt-2 line-clamp-3 text-center text-base text-[#ffff]">
{card.description}
</p>
</div>
</div>
))}
</div>

<div className="bg-[#3B3B3B] rounded-3xl flex m-auto mt-28 w-[82%] h-[423px] ">
<div className="w-[50%] flex items-center ">
<div className="p-12 ">
<img src={sice} alt="" className="w-[100%]" />
</div>
</div>

<div className="p-14 mt-10 w-[50%] ">
<div className="flex flex-col md:flex-row items-center justify-between">
<div className=" ">
<h2 className="text-4xl font-spaceMono text-[#ffff] font-bold ">
Join Our Weekly Digest
</h2>
<p className="text-xl mb-6 mt-5 font-sans text-[#CCCCCC] w-[80%]">
Get Exclusive Promotions & Updates Straight To Your Inbox.
</p>
<div className="flex items-center">
<input
type="email"
placeholder="Enter your email here"
className="rounded-l-md px-6 py-4 border-t border-l border-b border-gray-700 focus:outline-none focus:ring-0 focus:ring-purple-500"
/>
<button className="bg-purple-500 hover:bg-purple-700 text-white font-bold py-4 px-6 rounded-r-md border-t border-r border-b border-gray-700">
Subscribe
</button>
</div>
</div>
</div>
</div>
</div>
</div>
);
}

export default CtaPage;
Loading