mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-14 16:41:48 +02:00
Remove gradients
This commit is contained in:
parent
e44afd84cc
commit
1f792a5d2b
5 changed files with 178 additions and 165 deletions
|
@ -6,7 +6,7 @@ import CursorClick from "@/components/icons/cursor-click.svg";
|
||||||
|
|
||||||
const Bonus: React.VoidFunctionComponent = () => {
|
const Bonus: React.VoidFunctionComponent = () => {
|
||||||
return (
|
return (
|
||||||
<div className="py-16 max-w-7xl mx-auto px-8">
|
<div className="pt-8 pb-24 max-w-7xl mx-auto px-8">
|
||||||
<h2 className="heading">Principles</h2>
|
<h2 className="heading">Principles</h2>
|
||||||
<p className="subheading">We're not like the others</p>
|
<p className="subheading">We're not like the others</p>
|
||||||
<div className="grid grid-cols-4 gap-16">
|
<div className="grid grid-cols-4 gap-16">
|
||||||
|
|
|
@ -12,12 +12,8 @@ const Home: React.VoidFunctionComponent = () => {
|
||||||
<title>Rallly - Schedule group meetings</title>
|
<title>Rallly - Schedule group meetings</title>
|
||||||
</Head>
|
</Head>
|
||||||
<Hero />
|
<Hero />
|
||||||
<div className="bg-gradient-to-b from-transparent via-white to-white">
|
<Features />
|
||||||
<Features />
|
<Bonus />
|
||||||
</div>
|
|
||||||
<div className="bg-gradient-to-b from-white via-white to-transparent pb-16">
|
|
||||||
<Bonus />
|
|
||||||
</div>
|
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -72,38 +72,36 @@ const PageLayout: React.VoidFunctionComponent<PageLayoutProps> = ({
|
||||||
}) => {
|
}) => {
|
||||||
const breakpoint = useBreakpoint();
|
const breakpoint = useBreakpoint();
|
||||||
return (
|
return (
|
||||||
<div className="bg-pattern h-full overflow-x-hidden">
|
<div className="bg-pattern min-h-full overflow-x-hidden">
|
||||||
<Head>
|
<Head>
|
||||||
<title>Rallly - Support</title>
|
<title>Rallly - Support</title>
|
||||||
</Head>
|
</Head>
|
||||||
<div className="">
|
<div className="py-8 flex items-center px-8 max-w-7xl mx-auto">
|
||||||
<div className="py-8 flex items-center px-8 max-w-7xl mx-auto">
|
<div className="grow">
|
||||||
<div className="grow">
|
<div className="inline-block relative">
|
||||||
<div className="inline-block relative">
|
<Link href="/">
|
||||||
<Link href="/">
|
<a>
|
||||||
<a>
|
<Logo className="w-40 text-indigo-500" alt="Rallly" />
|
||||||
<Logo className="w-40 text-indigo-500" alt="Rallly" />
|
</a>
|
||||||
</a>
|
</Link>
|
||||||
</Link>
|
<span className="absolute transition-colors text-sm text-slate-400 -bottom-6 right-0">
|
||||||
<span className="absolute transition-colors text-sm text-slate-400 -bottom-6 right-0">
|
Yes—with 3 <em>L</em>s
|
||||||
Yes—with 3 <em>L</em>s
|
</span>
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<Menu className="hidden md:flex space-x-8 items-center" />
|
|
||||||
{breakpoint === "sm" ? (
|
|
||||||
<Popover
|
|
||||||
placement="left-start"
|
|
||||||
trigger={
|
|
||||||
<button className="text-gray-400 hover:text-indigo-500 hover:underline-offset-2 hover:no-underline transition-colors">
|
|
||||||
<DotsVertical className="w-5" />
|
|
||||||
</button>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<Menu className="flex flex-col space-y-2" />
|
|
||||||
</Popover>
|
|
||||||
) : null}
|
|
||||||
</div>
|
</div>
|
||||||
|
<Menu className="hidden md:flex space-x-8 items-center" />
|
||||||
|
{breakpoint === "sm" ? (
|
||||||
|
<Popover
|
||||||
|
placement="left-start"
|
||||||
|
trigger={
|
||||||
|
<button className="text-gray-400 hover:text-indigo-500 hover:underline-offset-2 hover:no-underline transition-colors">
|
||||||
|
<DotsVertical className="w-5" />
|
||||||
|
</button>
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<Menu className="flex flex-col space-y-2" />
|
||||||
|
</Popover>
|
||||||
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
<div className="md:min-h-[calc(100vh-460px)]">{children}</div>
|
<div className="md:min-h-[calc(100vh-460px)]">{children}</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
|
@ -7,10 +7,10 @@ import Logo from "../../public/logo.svg";
|
||||||
const Footer: React.VoidFunctionComponent = () => {
|
const Footer: React.VoidFunctionComponent = () => {
|
||||||
const { t } = useTranslation("homepage");
|
const { t } = useTranslation("homepage");
|
||||||
return (
|
return (
|
||||||
<div className="bg-gradient-to-b from-transparent via-slate-50 to-slate-100">
|
<div className="bg-gray-100">
|
||||||
<div className="py-24 px-8 mx-auto max-w-7xl grid grid-cols-12 gap-8">
|
<div className="py-20 px-8 mx-auto max-w-7xl grid grid-cols-12 gap-8">
|
||||||
<div className="col-span-12 md:col-span-4">
|
<div className="col-span-12 md:col-span-4">
|
||||||
<Logo className="w-32 text-slate-300 mb-8" />
|
<Logo className="w-32 text-gray-400/75 mb-8" />
|
||||||
</div>
|
</div>
|
||||||
<div className="col-span-6 md:col-span-2">
|
<div className="col-span-6 md:col-span-2">
|
||||||
<div className="font-medium mb-4">Links</div>
|
<div className="font-medium mb-4">Links</div>
|
||||||
|
|
|
@ -10,134 +10,153 @@ const Support: React.VoidFunctionComponent = () => {
|
||||||
const { t } = useTranslation("support");
|
const { t } = useTranslation("support");
|
||||||
return (
|
return (
|
||||||
<PageLayout>
|
<PageLayout>
|
||||||
<div className="bg-gradient-to-b from-transparent via-white to-transparent">
|
<div className="pt-16 px-8 mx-auto max-w-7xl">
|
||||||
<div className="py-16 px-8 mx-auto max-w-7xl">
|
<h1 className="text-5xl">Support</h1>
|
||||||
<h1 className="text-5xl">Support</h1>
|
<div className="lg:flex py-16">
|
||||||
<div className="lg:flex py-16">
|
<div className="grow mb-8">
|
||||||
<div className="grow mb-8">
|
<h2 className="text-3xl mb-4">General</h2>
|
||||||
<h2 className="text-3xl mb-4">General</h2>
|
<Disclosure
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
as="div"
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
<Trans t={t} i18nKey="howDoIShareQuestion" />
|
>
|
||||||
</Disclosure.Button>
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
<Trans t={t} i18nKey="howDoIShareQuestion" />
|
||||||
<Trans
|
</Disclosure.Button>
|
||||||
t={t}
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
i18nKey="howDoIShareAnswer"
|
<Trans
|
||||||
components={{ b: <strong /> }}
|
t={t}
|
||||||
/>
|
i18nKey="howDoIShareAnswer"
|
||||||
</Disclosure.Panel>
|
components={{ b: <strong /> }}
|
||||||
</Disclosure>
|
/>
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
</Disclosure.Panel>
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
</Disclosure>
|
||||||
<Trans
|
<Disclosure
|
||||||
t={t}
|
as="div"
|
||||||
i18nKey="canRalllyDoQuestion"
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
components={{ em: <em /> }}
|
>
|
||||||
/>
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
</Disclosure.Button>
|
<Trans
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
t={t}
|
||||||
<Trans
|
i18nKey="canRalllyDoQuestion"
|
||||||
t={t}
|
components={{ em: <em /> }}
|
||||||
i18nKey="canRalllyDoAnswer"
|
/>
|
||||||
components={{
|
</Disclosure.Button>
|
||||||
a: (
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
<a href="https://github.com/lukevella/Rallly/discussions" />
|
<Trans
|
||||||
),
|
t={t}
|
||||||
}}
|
i18nKey="canRalllyDoAnswer"
|
||||||
/>
|
components={{
|
||||||
</Disclosure.Panel>
|
a: (
|
||||||
</Disclosure>
|
<a href="https://github.com/lukevella/Rallly/discussions" />
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
),
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
}}
|
||||||
{t("legacyPollsQuestion")}
|
/>
|
||||||
</Disclosure.Button>
|
</Disclosure.Panel>
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
</Disclosure>
|
||||||
<Trans
|
<Disclosure
|
||||||
t={t}
|
as="div"
|
||||||
i18nKey="legacyPollsAnswer"
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
components={{ a: <a href="mailto:support@rallly.co" /> }}
|
>
|
||||||
/>
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
</Disclosure.Panel>
|
{t("legacyPollsQuestion")}
|
||||||
</Disclosure>
|
</Disclosure.Button>
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
<Trans
|
||||||
{t("contributeQuestion")}
|
t={t}
|
||||||
</Disclosure.Button>
|
i18nKey="legacyPollsAnswer"
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
components={{ a: <a href="mailto:support@rallly.co" /> }}
|
||||||
<Trans
|
/>
|
||||||
t={t}
|
</Disclosure.Panel>
|
||||||
i18nKey="contributeAnswer"
|
</Disclosure>
|
||||||
components={{
|
<Disclosure
|
||||||
a: <a href="https://github.com/sponsors/lukevella" />,
|
as="div"
|
||||||
}}
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
/>
|
>
|
||||||
</Disclosure.Panel>
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
</Disclosure>
|
{t("contributeQuestion")}
|
||||||
<h2 className="text-3xl mb-4 mt-8">Privacy & Security</h2>
|
</Disclosure.Button>
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
<Trans
|
||||||
{t("isMyDataSafeQuestion")}
|
t={t}
|
||||||
</Disclosure.Button>
|
i18nKey="contributeAnswer"
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
components={{
|
||||||
<Trans
|
a: <a href="https://github.com/sponsors/lukevella" />,
|
||||||
t={t}
|
}}
|
||||||
i18nKey="isMyDataSafeAnswer"
|
/>
|
||||||
components={{ a: <a href="mailto:support@rallly.co" /> }}
|
</Disclosure.Panel>
|
||||||
/>
|
</Disclosure>
|
||||||
</Disclosure.Panel>
|
<h2 className="text-3xl mb-4 mt-8">Privacy & Security</h2>
|
||||||
</Disclosure>
|
<Disclosure
|
||||||
<h2 className="text-3xl mb-4 mt-8">Self-hosting</h2>
|
as="div"
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
>
|
||||||
{t("selfHostQuestion")}
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
</Disclosure.Button>
|
{t("isMyDataSafeQuestion")}
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
</Disclosure.Button>
|
||||||
<Trans
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
t={t}
|
<Trans
|
||||||
i18nKey="selfHostAnswer"
|
t={t}
|
||||||
components={{
|
i18nKey="isMyDataSafeAnswer"
|
||||||
a: <a href="https://github.com/lukevella/Rallly" />,
|
components={{ a: <a href="mailto:support@rallly.co" /> }}
|
||||||
}}
|
/>
|
||||||
/>
|
</Disclosure.Panel>
|
||||||
</Disclosure.Panel>
|
</Disclosure>
|
||||||
</Disclosure>
|
<h2 className="text-3xl mb-4 mt-8">Self-hosting</h2>
|
||||||
<Disclosure as="div" className="bg-slate-50 p-2 rounded-lg mb-4">
|
<Disclosure
|
||||||
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-lg active:bg-slate-200 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-100 cursor-pointer">
|
as="div"
|
||||||
{t("canYouHelpMeSetUpRalllyQuestion")}
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
</Disclosure.Button>
|
>
|
||||||
<Disclosure.Panel className="text py-2 px-3">
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
<Trans
|
{t("selfHostQuestion")}
|
||||||
t={t}
|
</Disclosure.Button>
|
||||||
i18nKey="canYouHelpMeSetUpRalllyAnswer"
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
components={{
|
<Trans
|
||||||
a: (
|
t={t}
|
||||||
<a href="https://github.com/lukevella/Rallly/discussions" />
|
i18nKey="selfHostAnswer"
|
||||||
),
|
components={{
|
||||||
}}
|
a: <a href="https://github.com/lukevella/Rallly" />,
|
||||||
/>
|
}}
|
||||||
</Disclosure.Panel>
|
/>
|
||||||
</Disclosure>
|
</Disclosure.Panel>
|
||||||
</div>
|
</Disclosure>
|
||||||
<div className="lg:ml-16 shrink-0 lg:w-96">
|
<Disclosure
|
||||||
<div className="p-8 bg-white rounded-xl shadow-md">
|
as="div"
|
||||||
<div className="flex lg:flex-col items-start max-w-3xl">
|
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||||
<Chat className="hidden sm:block w-20 text-indigo-500 shrink-0 mr-8 mb-8" />
|
>
|
||||||
<div>
|
<Disclosure.Button className="font-medium text-lg py-2 px-3 rounded-md active:bg-slate-100 block w-full text-left font-slate hover:text-indigo-500 hover:bg-slate-50 cursor-pointer">
|
||||||
<h2 className="mb-2">{t("supportContactTitle")}</h2>
|
{t("canYouHelpMeSetUpRalllyQuestion")}
|
||||||
<p className="text">
|
</Disclosure.Button>
|
||||||
<Trans
|
<Disclosure.Panel className="text py-2 px-3">
|
||||||
t={t}
|
<Trans
|
||||||
i18nKey="supportContactMessage"
|
t={t}
|
||||||
components={{
|
i18nKey="canYouHelpMeSetUpRalllyAnswer"
|
||||||
a: <a href="mailto:support@rallly.co" />,
|
components={{
|
||||||
}}
|
a: (
|
||||||
/>
|
<a href="https://github.com/lukevella/Rallly/discussions" />
|
||||||
</p>
|
),
|
||||||
<Button icon={<Chat />} onClick={showCrispChat}>
|
}}
|
||||||
{t("chatWithSupport")}
|
/>
|
||||||
</Button>
|
</Disclosure.Panel>
|
||||||
</div>
|
</Disclosure>
|
||||||
|
</div>
|
||||||
|
<div className="lg:ml-16 shrink-0 lg:w-96">
|
||||||
|
<div className="p-8 bg-white rounded-xl shadow-md">
|
||||||
|
<div className="flex lg:flex-col items-start max-w-3xl">
|
||||||
|
<Chat className="hidden sm:block w-20 text-indigo-500 shrink-0 mr-8 mb-8" />
|
||||||
|
<div>
|
||||||
|
<h2 className="mb-2">{t("supportContactTitle")}</h2>
|
||||||
|
<p className="text">
|
||||||
|
<Trans
|
||||||
|
t={t}
|
||||||
|
i18nKey="supportContactMessage"
|
||||||
|
components={{
|
||||||
|
a: <a href="mailto:support@rallly.co" />,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<Button icon={<Chat />} onClick={showCrispChat}>
|
||||||
|
{t("chatWithSupport")}
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue