feat: ipad res
This commit is contained in:
parent
be9140c493
commit
1102852f6e
@ -2,7 +2,7 @@ import Link from "next/link";
|
|||||||
|
|
||||||
const Navbar = ({ name, logo }) => (
|
const Navbar = ({ name, logo }) => (
|
||||||
<nav className="flex py-2 border-b dark:border-neutral-800 hover:opacity-70">
|
<nav className="flex py-2 border-b dark:border-neutral-800 hover:opacity-70">
|
||||||
<div className="w-3/12 md:w-7/12 md:mx-auto">
|
<div className="w-3/12 md:w-full lg:w-7/12 md:mx-11 lg:mx-auto">
|
||||||
<div className="md:w-2/12">
|
<div className="md:w-2/12">
|
||||||
<Link href="/">
|
<Link href="/">
|
||||||
{logo ? (
|
{logo ? (
|
||||||
|
@ -9,12 +9,12 @@ import config from "../config.json";
|
|||||||
|
|
||||||
const Content = ({ children }) => (
|
const Content = ({ children }) => (
|
||||||
<div className="flex items-center justify-between w-full my-5">
|
<div className="flex items-center justify-between w-full my-5">
|
||||||
<div className="lg:w-7/12 mx-auto">{children}</div>
|
<div className="md:w-11/12 lg:w-7/12 mx-auto">{children}</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
const App = ({ Component, pageProps }) => (
|
const App = ({ Component, pageProps }) => (
|
||||||
<div className='bg-white dark:bg-black dark:text-neutral-200'>
|
<div className='min-h-screen bg-white dark:bg-black dark:text-neutral-200'>
|
||||||
<Navbar name={config.navbar.logotype} logo={config.navbar.logo} />
|
<Navbar name={config.navbar.logotype} logo={config.navbar.logo} />
|
||||||
<Content>
|
<Content>
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
|
@ -2,6 +2,16 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Somehow tailwind doesn't include this??? */
|
/* Somehow tailwind doesn't include this??? */
|
||||||
.aspect-photos {
|
.aspect-photos {
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user