mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-11 15:11:50 +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 = () => {
|
||||
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>
|
||||
<p className="subheading">We're not like the others</p>
|
||||
<div className="grid grid-cols-4 gap-16">
|
||||
|
|
|
@ -12,12 +12,8 @@ const Home: React.VoidFunctionComponent = () => {
|
|||
<title>Rallly - Schedule group meetings</title>
|
||||
</Head>
|
||||
<Hero />
|
||||
<div className="bg-gradient-to-b from-transparent via-white to-white">
|
||||
<Features />
|
||||
</div>
|
||||
<div className="bg-gradient-to-b from-white via-white to-transparent pb-16">
|
||||
<Bonus />
|
||||
</div>
|
||||
</PageLayout>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -72,11 +72,10 @@ const PageLayout: React.VoidFunctionComponent<PageLayoutProps> = ({
|
|||
}) => {
|
||||
const breakpoint = useBreakpoint();
|
||||
return (
|
||||
<div className="bg-pattern h-full overflow-x-hidden">
|
||||
<div className="bg-pattern min-h-full overflow-x-hidden">
|
||||
<Head>
|
||||
<title>Rallly - Support</title>
|
||||
</Head>
|
||||
<div className="">
|
||||
<div className="py-8 flex items-center px-8 max-w-7xl mx-auto">
|
||||
<div className="grow">
|
||||
<div className="inline-block relative">
|
||||
|
@ -104,7 +103,6 @@ const PageLayout: React.VoidFunctionComponent<PageLayoutProps> = ({
|
|||
</Popover>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
<div className="md:min-h-[calc(100vh-460px)]">{children}</div>
|
||||
<Footer />
|
||||
</div>
|
||||
|
|
|
@ -7,10 +7,10 @@ import Logo from "../../public/logo.svg";
|
|||
const Footer: React.VoidFunctionComponent = () => {
|
||||
const { t } = useTranslation("homepage");
|
||||
return (
|
||||
<div className="bg-gradient-to-b from-transparent via-slate-50 to-slate-100">
|
||||
<div className="py-24 px-8 mx-auto max-w-7xl grid grid-cols-12 gap-8">
|
||||
<div className="bg-gray-100">
|
||||
<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">
|
||||
<Logo className="w-32 text-slate-300 mb-8" />
|
||||
<Logo className="w-32 text-gray-400/75 mb-8" />
|
||||
</div>
|
||||
<div className="col-span-6 md:col-span-2">
|
||||
<div className="font-medium mb-4">Links</div>
|
||||
|
|
|
@ -10,14 +10,16 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
const { t } = useTranslation("support");
|
||||
return (
|
||||
<PageLayout>
|
||||
<div className="bg-gradient-to-b from-transparent via-white to-transparent">
|
||||
<div className="py-16 px-8 mx-auto max-w-7xl">
|
||||
<div className="pt-16 px-8 mx-auto max-w-7xl">
|
||||
<h1 className="text-5xl">Support</h1>
|
||||
<div className="lg:flex py-16">
|
||||
<div className="grow mb-8">
|
||||
<h2 className="text-3xl mb-4">General</h2>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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={t} i18nKey="howDoIShareQuestion" />
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -28,8 +30,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
/>
|
||||
</Disclosure.Panel>
|
||||
</Disclosure>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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={t}
|
||||
i18nKey="canRalllyDoQuestion"
|
||||
|
@ -48,8 +53,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
/>
|
||||
</Disclosure.Panel>
|
||||
</Disclosure>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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">
|
||||
{t("legacyPollsQuestion")}
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -60,8 +68,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
/>
|
||||
</Disclosure.Panel>
|
||||
</Disclosure>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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">
|
||||
{t("contributeQuestion")}
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -75,8 +86,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
</Disclosure.Panel>
|
||||
</Disclosure>
|
||||
<h2 className="text-3xl mb-4 mt-8">Privacy & Security</h2>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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">
|
||||
{t("isMyDataSafeQuestion")}
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -88,8 +102,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
</Disclosure.Panel>
|
||||
</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.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
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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">
|
||||
{t("selfHostQuestion")}
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -102,8 +119,11 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
/>
|
||||
</Disclosure.Panel>
|
||||
</Disclosure>
|
||||
<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">
|
||||
<Disclosure
|
||||
as="div"
|
||||
className="bg-white p-2 rounded-lg mb-4 shadow-md"
|
||||
>
|
||||
<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">
|
||||
{t("canYouHelpMeSetUpRalllyQuestion")}
|
||||
</Disclosure.Button>
|
||||
<Disclosure.Panel className="text py-2 px-3">
|
||||
|
@ -143,7 +163,6 @@ const Support: React.VoidFunctionComponent = () => {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</PageLayout>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue