2022-03-15 14:58:02 +00:00
|
|
|
import * as React from "react";
|
2022-04-06 09:10:28 +00:00
|
|
|
import { StaticImage } from "gatsby-plugin-image";
|
2022-03-15 14:58:02 +00:00
|
|
|
|
|
|
|
import UserSettingsLayout from "../../layouts/UserSettingsLayout";
|
|
|
|
|
|
|
|
import { Switch } from "../../components/Switch";
|
2022-04-06 09:10:28 +00:00
|
|
|
import { Metadata } from "../../components/Metadata";
|
2022-03-15 14:58:02 +00:00
|
|
|
|
|
|
|
const NotificationsPage = () => {
|
|
|
|
return (
|
|
|
|
<>
|
2022-04-06 09:10:28 +00:00
|
|
|
<Metadata>
|
|
|
|
<title>Notifications</title>
|
|
|
|
</Metadata>
|
2022-03-15 14:58:02 +00:00
|
|
|
<div className="flex">
|
|
|
|
<div className="flex flex-col gap-10 lg:shrink-0 lg:max-w-[576px] xl:max-w-[524px]">
|
|
|
|
<h4>Notifications</h4>
|
|
|
|
<section>
|
|
|
|
{/* TODO: saves on change */}
|
|
|
|
<Switch onChange={console.info.bind(console)} labelClassName="!items-start flex-col md:flex-row">
|
2022-03-16 13:07:56 +00:00
|
|
|
I agreee to get the latest news, updates and special offers delivered to my email inbox.
|
2022-03-15 14:58:02 +00:00
|
|
|
</Switch>
|
|
|
|
</section>
|
|
|
|
<hr />
|
|
|
|
<section>
|
|
|
|
<h6 className="text-palette-300">Statistics</h6>
|
|
|
|
{/* TODO: proper content :) */}
|
|
|
|
<p>
|
|
|
|
Si sine causa, nollem me tamen laudandis maioribus meis corrupisti nec in malis. Si sine causa, mox
|
|
|
|
videro.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<ul className="mt-7 flex flex-col gap-2">
|
|
|
|
<li>
|
|
|
|
{/* TODO: saves on change */}
|
|
|
|
<Switch onChange={console.info.bind(console)}>Storage limit</Switch>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
{/* TODO: saves on change */}
|
|
|
|
<Switch onChange={console.info.bind(console)}>File limit</Switch>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</div>
|
2022-03-16 08:06:00 +00:00
|
|
|
<div className="hidden xl:block text-right w-full pr-14 pt-20">
|
2022-03-15 14:58:02 +00:00
|
|
|
<StaticImage src="../../../static/images/inbox.svg" alt="" placeholder="none" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
NotificationsPage.Layout = UserSettingsLayout;
|
|
|
|
|
|
|
|
export default NotificationsPage;
|