Replace AdminLayout with SettingsLayout (#4311)

* Replace AdminLayout with SettingsLayout

* Revert "Replace AdminLayout with SettingsLayout"

This reverts commit cc30ddcb6aa7a61157d53e46d60054f1cc565796.

* Revert to changes

* Add back changes

* Few nits + translate language to each local language

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-09-09 12:57:31 +00:00
1 parent 15a0216cc5
commit 0cab371db4
8 files changed
+83 -47

No files matched your search

@@ -153,7 +153,7 @@ export default function SettingsLayout({
<MobileSettingsContainer onSideContainerOpen={() => setSideContainerOpen(!sideContainerOpen)} />
}>
<div className="flex flex-1 [&>*]:flex-1">
<div className="color-black mt-8 justify-center px-4 sm:px-6 md:px-8 ">
<div className="color-black mx-auto mt-8 max-w-4xl justify-center px-4 sm:px-6 md:px-8 ">
<ShellHeader />
{children}
</div>
@@ -168,7 +168,7 @@ function ShellHeader() {
const { meta } = useMeta();
const { t, isLocaleReady } = useLocale();
return (
<header className="mx-auto block max-w-4xl justify-between sm:flex md:px-12 md:pt-8">
<header className="mx-auto block max-w-4xl justify-between sm:flex md:pt-8">
<div className="mb-8 w-full border-b border-gray-200 pb-8">
{meta.title && isLocaleReady ? (
<h1 className="font-cal mb-1 text-xl font-bold capitalize tracking-wide text-black">