Skip to content

Commit 33f1791

Browse files
Merge branch 'harini-1597-homepage'
2 parents bf2ff2b + dcc5857 commit 33f1791

File tree

4 files changed

+115
-4
lines changed

4 files changed

+115
-4
lines changed

public/assets/imgA.png

478 KB
Loading

public/assets/imgB.png

217 KB
Loading

public/assets/imgC.png

362 KB
Loading

src/components/pages/home/index.tsx

Lines changed: 115 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,93 @@ function HomePage({ accountId }: { accountId: string | undefined }) {
9999
}}
100100
>
101101
<Image
102-
src="/assets/palettegram-for.png"
102+
src="/assets/imgA.png"
103+
alt="What is palettegram section"
104+
loading="lazy"
105+
width={600}
106+
height={500}
107+
className="mx-auto rounded"
108+
/>
109+
</motion.div>
110+
</figure>
111+
<article>
112+
<motion.h1
113+
initial={{ opacity: 0, x: 100 }}
114+
whileInView={{ opacity: 1, x: 0 }}
115+
viewport={{ once: true }}
116+
transition={{
117+
duration: 1,
118+
type: "spring",
119+
stiffness: 80,
120+
delay: 0,
121+
}}
122+
className="text-3xl md:text-6xl text-center font-extrabold tracking-wide text-black dark:text-white md:text-right"
123+
>
124+
What is Palettegram?
125+
</motion.h1>
126+
<motion.p
127+
initial={{ opacity: 0, x: 100 }}
128+
whileInView={{ opacity: 1, x: 0 }}
129+
viewport={{ once: true }}
130+
transition={{
131+
duration: 0.5,
132+
type: "spring",
133+
stiffness: 80,
134+
delay: 0.1,
135+
}}
136+
className="text-xl md:text-2xl text-center my-8 text-black dark:text-white md:text-right"
137+
>
138+
A social media platform built exclusively for design professionals to share, discover and discuss cutting-edge UI/UX designs and color palettes.
139+
</motion.p>
140+
</article>
141+
</section>
142+
143+
<section className="flex flex-col items-center mt-32 mb-32 gap-4 md:flex-row md:justify-between">
144+
<article>
145+
<motion.h1
146+
initial={{ opacity: 0, x: 100 }}
147+
whileInView={{ opacity: 1, x: 0 }}
148+
viewport={{ once: true }}
149+
transition={{
150+
duration: 1,
151+
type: "spring",
152+
stiffness: 110,
153+
delay: 0,
154+
}}
155+
className="text-3xl font-bold text-center tracking-wide text-secondary dark:text-white md:text-6xl md:text-left"
156+
>
157+
Who is it for?
158+
</motion.h1>
159+
<motion.p
160+
initial={{ opacity: 0, x: -100 }}
161+
whileInView={{ opacity: 1, x: 0 }}
162+
viewport={{ once: true }}
163+
transition={{
164+
duration: 0.5,
165+
type: "spring",
166+
stiffness: 110,
167+
delay: 0.1,
168+
}}
169+
className="text-xl my-6 font-medium text-center text-secondary dark:text-white md:text-2xl md:text-left"
170+
>
171+
Are you a developer looking for design inspiration for your next website? Browse through a variety of styles by other developers and get inspired!
172+
</motion.p>
173+
</article>
174+
175+
<figure className="w-[70%]">
176+
<motion.div
177+
initial={{ opacity: 0, x: -100 }}
178+
whileInView={{ opacity: 1, x: 0 }}
179+
viewport={{ once: true }}
180+
transition={{
181+
duration: 0.5,
182+
type: "spring",
183+
stiffness: 80,
184+
delay: 0.2,
185+
}}
186+
>
187+
<Image
188+
src="/assets/imgB.png"
103189
alt="Who is palettegram for section"
104190
loading="lazy"
105191
width={600}
@@ -108,6 +194,31 @@ function HomePage({ accountId }: { accountId: string | undefined }) {
108194
/>
109195
</motion.div>
110196
</figure>
197+
</section>
198+
199+
<section className="flex items-center flex-col-reverse md:flex-row gap-4 mt-32 mb-32">
200+
<figure className="w-[70%]">
201+
<motion.div
202+
initial={{ opacity: 0, x: -100 }}
203+
whileInView={{ opacity: 1, x: 0 }}
204+
viewport={{ once: true }}
205+
transition={{
206+
duration: 0.5,
207+
type: "spring",
208+
stiffness: 80,
209+
delay: 0.2,
210+
}}
211+
>
212+
<Image
213+
src="/assets/imgC.png"
214+
alt="What you can do section"
215+
loading="lazy"
216+
width={600}
217+
height={500}
218+
className="mx-auto rounded"
219+
/>
220+
</motion.div>
221+
</figure>
111222
<article>
112223
<motion.h1
113224
initial={{ opacity: 0, x: 100 }}
@@ -121,7 +232,7 @@ function HomePage({ accountId }: { accountId: string | undefined }) {
121232
}}
122233
className="text-3xl md:text-6xl text-center font-extrabold tracking-wide text-black dark:text-white md:text-right"
123234
>
124-
Who is <br /> Palettegram for?
235+
Create, Showcase Collaborate
125236
</motion.h1>
126237
<motion.p
127238
initial={{ opacity: 0, x: 100 }}
@@ -135,11 +246,11 @@ function HomePage({ accountId }: { accountId: string | undefined }) {
135246
}}
136247
className="text-xl md:text-2xl text-center my-8 text-black dark:text-white md:text-right"
137248
>
138-
Anyone who wants to share their designs and color palettes to get the review among the
139-
professionals.
249+
Show off your design talent through projects, blogs and get feedback from other developers. Partner up with others, be a part of a collaborative community.
140250
</motion.p>
141251
</article>
142252
</section>
253+
143254
</main>
144255
</>
145256
);

0 commit comments

Comments
 (0)