-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from Sahil-Connect/SAH-107
[SAH-107]: Website Refactor
- Loading branch information
Showing
48 changed files
with
1,681 additions
and
600 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,81 @@ | ||
import { ComingSoon, GridContainer, PageTitle } from "@/components/shared"; | ||
import { | ||
ContactCard, | ||
ContactCardProps, | ||
GridContainer, | ||
PageTitle, | ||
} from "@/components/shared"; | ||
import { Cta, Faqs } from "@/components/segments"; | ||
import { HiEnvelope, HiMapPin, HiPhone } from "react-icons/hi2"; | ||
|
||
export const metadata = { | ||
title: "Contact Us - Sahil App", | ||
description: "We’re here to help and would love to hear from you.", | ||
}; | ||
|
||
const contactDetails: ContactCardProps[] = [ | ||
{ | ||
icon: HiEnvelope, | ||
title: "Drop us a line", | ||
content: "[email protected]", | ||
linkHref: "mailto:[email protected]", | ||
colorScheme: "neutral" | ||
}, | ||
{ | ||
icon: HiMapPin, | ||
title: "Our Head Office", | ||
content: ( | ||
<> | ||
Norrsken House Kigali <br/> | ||
1 KN 78 St, Kigali - Rwanda | ||
</> | ||
), | ||
colorScheme: "gray" | ||
}, | ||
{ | ||
icon: HiPhone, | ||
title: "Book a Call", | ||
content: "+250-790-336-525", | ||
linkHref: "tel:+250790336525", | ||
colorScheme: "slate" | ||
} | ||
]; | ||
|
||
export default function ContactPage() { | ||
return ( | ||
<> | ||
<PageTitle | ||
title="Contact Us" | ||
subtitle="Get in Touch" | ||
subtitle="Contact Us" | ||
title="Get in Touch" | ||
description="Have questions? We'd love to hear from you. Get in touch with us." | ||
/> | ||
<GridContainer> | ||
<ComingSoon /> | ||
<section className="pt-16 pb-8"> | ||
<div className="w-full"> | ||
<div> | ||
<h3 className="text-xl font-semibold mb-8 lg:text-2xl"> | ||
<span className="yellow-line">Reach Us</span> | ||
</h3> | ||
<p className="mb-2 text-gray-500 lg:mb-12"> | ||
If you have any questions or need assistance, feel free to reach out to us through our contact details below. | ||
</p> | ||
<div className="mt-12 grid lg:grid-cols-3 gap-3"> | ||
{contactDetails.map((contact, index) => ( | ||
<ContactCard | ||
key={index} | ||
icon={contact.icon} | ||
title={contact.title} | ||
content={contact.content} | ||
linkHref={contact.linkHref} | ||
colorScheme={contact.colorScheme} | ||
/> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</GridContainer> | ||
<Faqs /> | ||
<Cta /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { Input, PartnerTitle } from "@/components/shared"; | ||
import { HiOutlineArrowUpRight } from "react-icons/hi2"; | ||
|
||
export const metadata = { | ||
title: "Partners - Sahil App", | ||
description: | ||
"We foster a culture of partnership and building strong, collaborative relationships. Partner with Sahil. Sahil logistics.", | ||
}; | ||
|
||
export default function BusinessesPage() { | ||
return ( | ||
<> | ||
<div className="mt-16 w-full max-w-xl mx-auto px-8 md:px-0 md:mt-20"> | ||
<PartnerTitle | ||
title="Businesses" | ||
description="Join 100+ businesses (retailers) working with Sahil. Work with trusted suppliers to reduce costs and focus on serving your customers" | ||
/> | ||
<form> | ||
<div className="flex flex-col space-y-8"> | ||
<Input | ||
type="text" | ||
label="Name" | ||
placeholder="John Doe" | ||
required={true} | ||
/> | ||
<div className="grid md:grid-cols-2 gap-3"> | ||
<Input | ||
type="email" | ||
label="Email" | ||
placeholder="[email protected]" | ||
required={true} | ||
/> | ||
<Input | ||
type="phone" | ||
label="Phone Number (optional)" | ||
placeholder="070*****00" | ||
required={false} | ||
/> | ||
</div> | ||
<Input | ||
type="text" | ||
label="Company Name" | ||
placeholder="Sunset Restaurant" | ||
required={true} | ||
/> | ||
</div> | ||
<div className="buttonss mt-8 flex items-center md:justify-end"> | ||
<button | ||
type="submit" | ||
className="group btn btn-primary font-medium text-white rounded-full" | ||
> | ||
Submit | ||
<span className="relative group flex justify-center items-center rounded-full"> | ||
<HiOutlineArrowUpRight className="group-hover:rotate-45 transition" /> | ||
</span> | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import { Input, PartnerTitle, Select } from "@/components/shared"; | ||
import { HiOutlineArrowUpRight } from "react-icons/hi2"; | ||
|
||
export const metadata = { | ||
title: "Partners - Sahil App", | ||
description: | ||
"We foster a culture of partnership and building strong, collaborative relationships. Partner with Sahil. Sahil logistics.", | ||
}; | ||
|
||
export default function CouriersPage() { | ||
return ( | ||
<> | ||
<div className="mt-16 w-full max-w-xl mx-auto px-8 md:px-0 md:mt-20"> | ||
<PartnerTitle | ||
title="Couriers" | ||
description="Become a courier rider at Sahil, delivery goods and packages from suppliers to businesses or directly to consumers." | ||
/> | ||
<form> | ||
<div className="flex flex-col space-y-8"> | ||
<Input | ||
type="text" | ||
label="Name" | ||
placeholder="John Doe" | ||
required={true} | ||
/> | ||
<div className="grid md:grid-cols-2 gap-3"> | ||
<Input | ||
type="email" | ||
label="Email" | ||
placeholder="[email protected]" | ||
required={true} | ||
/> | ||
<Input | ||
type="phone" | ||
label="Phone Number (optional)" | ||
placeholder="070*****00" | ||
required={false} | ||
/> | ||
</div> | ||
<Select | ||
label="Do you own a vehicle?" | ||
/> | ||
</div> | ||
<div className="buttonss mt-8 flex items-center md:justify-end"> | ||
<button | ||
type="submit" | ||
className="group btn btn-primary font-medium text-white rounded-full" | ||
> | ||
Submit | ||
<span className="relative group flex justify-center items-center rounded-full"> | ||
<HiOutlineArrowUpRight className="group-hover:rotate-45 transition" /> | ||
</span> | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { | ||
Benefits, | ||
Cta, | ||
ParterWithUs | ||
} from "@/components/segments"; | ||
import { PageTitle } from "@/components/shared"; | ||
|
||
export const metadata = { | ||
title: "Partners - Sahil App", | ||
description: | ||
"We foster a culture of partnership and building strong, collaborative relationships. Partner with Sahil. Sahil logistics.", | ||
}; | ||
|
||
export default function PartnersPage() { | ||
return ( | ||
<> | ||
<PageTitle | ||
subtitle="Partners" | ||
title="Work with Us" | ||
description="We foster a culture of partnership and building strong, collaborative relationships." | ||
/> | ||
<ParterWithUs /> | ||
<Benefits /> | ||
<Cta /> | ||
</> | ||
); | ||
} |
Oops, something went wrong.