Skip to content

Commit

Permalink
About page looking better
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Nov 19, 2024
1 parent d550179 commit a01b351
Show file tree
Hide file tree
Showing 12 changed files with 146 additions and 53 deletions.
183 changes: 132 additions & 51 deletions packages/nextjs/app/about/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,72 +16,153 @@ export const About = () => {
<div className="hero bg-base-200 ">
<div className="hero-content flex-col lg:flex-row-reverse lg:p-14">
<Image
src="./placeholder.png"
src="/socialmonetization.jpg"
alt="Animation clicking a like button and increasing USDC balance"
className="max-w-sm rounded-lg shadow-2xl"
className="max-w-sm rounded-lg shadow-2xl border-2"
width={500}
height={500}
/>
<div>
<h1 className="text-5xl font-bold">What if your social interactions earned you money? 💸</h1>
<h1 className="text-6xl font-mono">What if you earned 💸 money from socializing?</h1>
<p className="py-6">
Imagine a platform where every like, comment, or share sends USDC directly to your wallet.
<div className="flex justify-center items-center gap-1 flex-wrap">
<span className="text-xl text-center">
What if <span className="text-orange-600 font-bold">every like, comment, and share</span> changed the
</span>
<span className="text-xl text-blue-600 font-bold">USDC</span>
<Image src="/usdc-logo.png" alt="USDC" width={20} height={20} />
<span className="text-xl">balance of your life?</span>
</div>
<br />
With PunkSociety, we&apos;re building a social protocol that transforms how you interact, earn, and
connect!
<div className="flex text-xl italic justify-center text-center">
We&apos;re building a social protocol that transforms how you interact, earn, and connect!
</div>
</p>
<button className="btn btn-primary bg-green-600 border-0 hover:bg-green-700">Create a profile!</button>
<div className="flex justify-around gap-3">
<button className="w-1/3 h-16 text-xl btn btn-primary text-white bg-orange-600 border-0 hover:bg-orange-700">
See some posts!
</button>

<button className="w-1/3 h-16 text-xl btn btn-primary text-white bg-blue-600 border-0 hover:bg-blue-700">
Create a profile!
</button>
</div>
</div>
</div>
</div>
<div className="hero bg-base-300 ">
<div className="hero-content flex flex-col">
<div className="card bg-base-100 shadow-xl">
<figure className="px-10 pt-10">
<Image
src="https://img.daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.webp"
alt="Shoes"
className="rounded-xl"
/>
<div className="w-full pt-2 bg-base-300">
<h1 className="text-6xl font-mono text-center">Features! 🤘</h1>
</div>
<div className="hero bg-base-300 flex flex-wrap justify-around gap-3 lg:p-4">
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/usdc-flag.jpg" alt="USDC Flag" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl font-mono">Pay for transactions with USDC!</h2>
<p>USDC is the native gas! We&apos;ll use our own Avalanche L1 for that.</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between items-center bg-base-100 shadow-xl">
<div className="lg:h-[300px] mt-10 w-full overflow-hidden flex justify-center items-center">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/revenue.jpg" alt="Revenue" className="rounded-xl object-cover" width={500} height={500} />
</figure>
<div className="card-body items-center text-center">
<h2 className="card-title">Shoes!</h2>
<p>If a dog chews shoes whose shoes does he choose?</p>
<div className="card-actions">
<button className="btn btn-primary">Buy Now</button>
</div>
</div>
</div>
{/* <div className="card bg-base-100 w-96 shadow-xl">
<figure className="px-10 pt-10">
<img
src="https://img.daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.webp"
alt="Shoes"
className="rounded-xl"
/>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl font-mono">Track your revenue!</h2>
<p>Analyze your earnings and spendings in your revenue dashboard.</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between rounded-none lg:rounded-xl bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image
src="/socialmonetization.jpg"
alt="Social monetization"
className="rounded-xl"
width={500}
height={500}
/>
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl font-mono">Social monetization!</h2>
<p>When liking, commenting and sharing, you send USDC to the post creator.</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/post-types.png" alt="Post types" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl font-mono">Several post types!</h2>
<p>Posts can have text, image, audio, video, links and polls.</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<div className="lg:h-[300px] mt-10 w-full overflow-hidden flex justify-center items-center">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/customize-profile.jpg" alt="Notifications" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center">
<h2 className="card-title">Shoes!</h2>
<p>If a dog chews shoes whose shoes does he choose?</p>
<div className="card-actions">
<button className="btn btn-primary">Buy Now</button>
</div>
</div>
</div>
<div className="card bg-base-100 w-96 shadow-xl">
<figure className="px-10 pt-10">
<img
src="https://img.daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.webp"
alt="Shoes"
className="rounded-xl"
/>

<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl">Customize your profile!</h2>
<p>Change colors, cover photo, create post collections, and so much more...</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<div className="lg:h-[300px] mt-10 w-full overflow-hidden flex justify-center items-center">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/messaging.jpg" alt="Messaging" width={500} height={500} />
</figure>
<div className="card-body items-center text-center">
<h2 className="card-title">Shoes!</h2>
<p>If a dog chews shoes whose shoes does he choose?</p>
<div className="card-actions">
<button className="btn btn-primary">Buy Now</button>
</div>
</div>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl">Message with others!</h2>
<p>Encrypted direct messaging and group chats.</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/social-login.jpeg" alt="Notifications" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl">Social login!</h2>
<p>Access with your wallet or your social accounts!</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/notifications.png" alt="Notifications" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl">Notifications!</h2>
<p>Get them on our web, on your phone, on your mail...</p>
</div>
</div>
<div className="card lg:h-[500px] flex flex-col justify-between bg-base-100 shadow-xl">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/accesibility.jpg" alt="Accesibility" className="rounded-xl" width={500} height={500} />
</figure>
<div className="card-body items-center text-center flex-grow overflow-hidden">
<h2 className="card-title text-3xl">Accesibility!</h2>
<p>PunkSocial can be used by anyone, including people with disabilities.</p>
</div>
</div>
</div>
<div className="w-full pt-2 bg-base-200">
<h1 className="text-6xl font-mono text-center">Meet the team! 🤘</h1>
</div>
<div className="hero bg-base-200 ">
<div className="hero-content flex-col lg:flex-row-reverse ">
<div className="flex flex-col items-center gap-3">
<figure className="px-10 pt-10 flex-shrink-0">
<Image src="/lulox.jpg" alt="Lulox" className="rounded-xl" width={300} height={300} />
</figure>
<div className="flex flex-col items-center justify-center">
<h2 className="text-3xl">Lulox</h2>
<span className="italic">founder, builder</span>
</div>
</div> */}
</div>
</div>
</div>
</div>
Expand Down
10 changes: 8 additions & 2 deletions packages/nextjs/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Footer = () => {

return (
<>
{pathname !== "/search" && (
{pathname !== "/search" && pathname !== "/about" && (
<div
className={`fixed bottom-16 lg:bottom-8 right-8 p-3 bg-blue-600 cursor-pointer hover:bg-blue-800 text-white rounded-full shadow-lg ${
showPlusIcon ? "animate-show" : "animate-hide"
Expand All @@ -81,9 +81,15 @@ export const Footer = () => {
<div className="w-full">
<ul className="menu menu-horizontal w-full">
<div className="flex justify-center items-center gap-2 text-sm w-full">
<div className="text-center">
<Link className="link" href="/about" passHref>
About
</Link>
</div>
<span>·</span>
<div className="text-center">
<a href="https://github.com/luloxi/PunkSociety/" target="_blank" rel="noreferrer" className="link">
Fork me
Code
</a>
</div>
<span>·</span>
Expand Down
6 changes: 6 additions & 0 deletions packages/nextjs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ const nextConfig = {
port: "",
pathname: "/ipfs/**",
},
{
protocol: "https",
hostname: "img.daisyui.com",
port: "",
pathname: "/**",
},
],
},
};
Expand Down
Binary file added packages/nextjs/public/accesibility.jpg
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 packages/nextjs/public/customize-profile.jpg
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 packages/nextjs/public/messaging.jpg
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 packages/nextjs/public/notifications.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 packages/nextjs/public/post-types.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 packages/nextjs/public/revenue.jpg
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 packages/nextjs/public/social-login.jpeg
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 packages/nextjs/public/socialmonetization.jpg
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 packages/nextjs/public/usdc-flag.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a01b351

Please sign in to comment.