Skip to content

Commit c96e7c7

Browse files
committed
suggested changes done.
1 parent 18314b2 commit c96e7c7

File tree

4 files changed

+13
-23
lines changed

4 files changed

+13
-23
lines changed

src/components/Aboutpage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function AboutUsSection() {
1919
duration: 1,
2020
type: "spring",
2121
stiffness: 100,
22-
delay: 0.5,
22+
delay: 0.2,
2323
}}
2424
>
2525
<Heading as={"h1"}>About Us</Heading>

src/components/HomePage/Header.tsx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,8 @@ import { motion } from "framer-motion";
1313
const HeaderContent = () => {
1414
return (
1515
<div className="chh__header-content">
16-
<motion.h1
17-
initial={{ opacity: 0, y: -150 }}
18-
whileInView={{ opacity: 1, y: 0 }}
19-
viewport={{ once: true }}
20-
transition={{
21-
duration: 1,
22-
type: "spring",
23-
stiffness: 100,
24-
delay: 0.5,
25-
}}
26-
className="gradient__text"
27-
>Level Up Skills with CodeHarborHub</motion.h1>
16+
<h1 className="gradient__text"
17+
>Level Up Skills with CodeHarborHub</h1>
2818
<motion.p
2919
initial={{ opacity: 0, x: -150 }}
3020
whileInView={{ opacity: 1, x: 0 }}
@@ -33,7 +23,7 @@ const HeaderContent = () => {
3323
duration: 1,
3424
type: "spring",
3525
stiffness: 100,
36-
delay: 0.5,
26+
delay: 0.2,
3727
}}
3828
>
3929
Tired of limitations? CodeHarborHub shatters them. We&apos;re the

src/pages/contact/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function Contact(): JSX.Element {
5555
duration: 1,
5656
type: "spring",
5757
stiffness: 100,
58-
delay: 0.5,
58+
delay: 0.2,
5959
}}
6060
className={styles.contact_us}
6161
>

src/pages/showcase/index.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function ShowcaseHeader() {
124124
duration: 1,
125125
type: "spring",
126126
stiffness: 100,
127-
delay: 0.5,
127+
delay: 0.2,
128128
}}
129129
>{TITLE}</motion.h1>
130130
<motion.p
@@ -177,7 +177,7 @@ function useSiteCountPlural() {
177177
'Pluralized label for the number of sites found on the showcase. Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',
178178
message: '1 site|{sitesCount} sites',
179179
},
180-
{ sitesCount },
180+
{sitesCount},
181181
),
182182
);
183183
}
@@ -197,7 +197,7 @@ function ShowcaseFilters() {
197197
duration: 1,
198198
type: "spring",
199199
stiffness: 100,
200-
delay: 1.4,
200+
delay: 1,
201201
}}
202202
>
203203
<Translate id="showcase.filters.title">Filters</Translate>
@@ -210,7 +210,7 @@ function ShowcaseFilters() {
210210
duration: 1,
211211
type: "spring",
212212
stiffness: 100,
213-
delay: 1.4,
213+
delay: 1,
214214
}}
215215
>
216216
<span>{siteCountPlural(filteredUsers.length)}</span>
@@ -226,12 +226,12 @@ function ShowcaseFilters() {
226226
duration: 4,
227227
type: "spring",
228228
stiffness: 100,
229-
delay: 1.4,
229+
delay: 1.2,
230230
}}
231231
className={clsx('clean-list', styles.checkboxList)}
232232
>
233233
{TagList.map((tag, i) => {
234-
const { label, description, color } = Tags[tag];
234+
const {label, description, color} = Tags[tag];
235235
const id = `showcase_checkbox_id_${tag}`;
236236

237237
return (
@@ -350,7 +350,7 @@ function ShowcaseCards() {
350350
duration: 1,
351351
type: "spring",
352352
stiffness: 100,
353-
delay: 1.4,
353+
delay: 1,
354354
}}
355355
>
356356
<Translate id="showcase.favoritesList.title">
@@ -365,7 +365,7 @@ function ShowcaseCards() {
365365
duration: 1,
366366
type: "spring",
367367
stiffness: 100,
368-
delay: 1.4,
368+
delay: 1,
369369
}}
370370
>
371371
<FavoriteIcon svgClass={styles.svgIconFavorite} />

0 commit comments

Comments
 (0)