Skip to content

Commit 983db4c

Browse files
committed
Removed from the environment variables on DesktopVersion FIle, changed fade direction in events, and desktophero. Removed underline feature on Mission component
1 parent abbd3a5 commit 983db4c

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/components/ContactUs/DesktopVersion.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ReCAPTCHA from 'react-google-recaptcha';
88
export default function DesktopVersion() {
99
const [captchaComplete, setCaptchaComplete] = useState<boolean>(false);
1010

11-
const [state, handleSubmit] = useForm("process.env.NEXT_PUBLIC_FORMSPREE_ID!");
11+
const [state, handleSubmit] = useForm(process.env.NEXT_PUBLIC_FORMSPREE_ID!);
1212

1313
const handleRecaptchaResult = (result: string | null) => {
1414
if (result) {
@@ -84,7 +84,7 @@ export default function DesktopVersion() {
8484
/>
8585

8686
<ReCAPTCHA
87-
sitekey={"process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY!"}
87+
sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY!}
8888
onChange={handleRecaptchaResult}
8989
/>
9090

src/components/Events/Events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function Events() {
6161
id="events"
6262
className="relative flex flex-col items-center justify-center w-full py-16 bg-white md:py-20 gap-y-2 md:gap-y-5"
6363
>
64-
<Fade direction='right'>
64+
<Fade direction='down'>
6565
<h2 className="flex text-2xl border-b-2 border-slate-400 items-center justify-center font-light tracking-wide">
6666
Events
6767
</h2>

src/components/HeroHeader/DesktopHero.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ export default function HeroHeader() {
1919
<Navbar />
2020
</div>
2121
<div className="w-full flex flex-col items-center justify-center z-10">
22-
<Fade direction='left'>
22+
<Fade direction='down'>
2323
<h1 className="font-montserrat font-bold text-center text-white text-[40px] leading-10 w-[388px] mx-auto mt-20">
2424
React Developer Community Kenya
2525
</h1>
2626
<p className="font-montserrat text-white w-[570px] mx-auto text-center mt-5 mb-[45px]">
2727
We are a tech community in Kenya focused on the React JS library and
2828
its ecosystem.
2929
</p>
30-
</Fade>
31-
<Fade direction='right'>
3230
<div className="flex items-center justify-center mb-44 relative">
3331
<LinkButton
3432
className="flex justify-center items-center bg-[#EC0505] w-[307px] h-[61px] rounded-md text-white font-montserrat font-bold"

src/components/MissionPillars/MissionPillars.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {Fade} from "react-awesome-reveal"
55
export default function MissionPillars() {
66
return (
77
<section className="flex flex-col w-full md:justify-center items-center bg-white md:bg-[#CEEDF4] py-12 space-y-10">
8-
<h2 className="md:uppercase border-b-2 border-slate-400 font-bold md:font-light text-2xl md:text-5xl">
8+
<h2 className="md:uppercase font-bold md:font-light text-2xl md:text-5xl">
99
Our Mission Pillars
1010
</h2>
1111
<div className="flex flex-col md:flex-row md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6">

0 commit comments

Comments
 (0)