mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-20 09:53:06 +00:00
fix responsiveness
This commit is contained in:
parent
046f8a539f
commit
c8b34613db
3 changed files with 49 additions and 43 deletions
|
|
@ -72,7 +72,7 @@ export default async function RootLayout(props: { children: React.ReactNode }) {
|
||||||
style={{ colorScheme: 'light' }}
|
style={{ colorScheme: 'light' }}
|
||||||
suppressHydrationWarning
|
suppressHydrationWarning
|
||||||
>
|
>
|
||||||
<body className="antialiased w-screen scrollbar-hide">
|
<body className="antialiased w-screen scrollbar-hide overflow-hidden">
|
||||||
<ThemeProvider attribute="class">
|
<ThemeProvider attribute="class">
|
||||||
<SpeedInsights />
|
<SpeedInsights />
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
|
|
||||||
|
|
@ -3,47 +3,46 @@ import Image from 'next/image'
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<main
|
<main className="h-screen w-screen bg-[url(/BG.jpg)] bg-cover bg-center overflow-y-scroll no-scrollbar flex">
|
||||||
className="w-screen h-screen bg-center bg-cover flex flex-col items-center justify-center"
|
<div className="flex flex-col p-2 lg:grid lg:grid-cols-[55%_45%] max-w-300 m-auto">
|
||||||
style={{ backgroundImage: 'url(/BG.jpg)' }}
|
<h1 className="text-left mb-4 mt-8 text-3xl xs:text-4xl sm:text-center lg:text-left lg:text-6xl">
|
||||||
>
|
FIQUE POR DENTRO
|
||||||
<div className="flex flex-col max-w-300 gap-12">
|
<br />
|
||||||
<div className="relative flex flex-col gap-5">
|
DO <span className="text-[#f9844e]">NOSSO MANDATO!</span>
|
||||||
<h1 className="text-5xl text-left">
|
</h1>
|
||||||
FIQUE POR DENTRO
|
<h2 className="text-sm 2xs:text-base xs:text-lg sm:text-center lg:text-left lg:col-start-1 lg:text-2xl lg:mb-4">
|
||||||
|
PARTICIPE DA NOSSA{' '}
|
||||||
|
<strong className="font-bold">
|
||||||
|
COMUNIDADE EXCLUSIVA
|
||||||
<br />
|
<br />
|
||||||
DO <span className="text-[#f9844e]">NOSSO MANDATO!</span>
|
NO WHATSAPP
|
||||||
</h1>
|
</strong>{' '}
|
||||||
<h2 className="text-2xl font-light">
|
E FIQUE POR DENTRO DE TODAS
|
||||||
PARTICIPE DA NOSSA{' '}
|
<br />
|
||||||
<strong className="font-bold">
|
AS VOTAÇÕES, PROJETOS E BASTIDORES.
|
||||||
COMUNIDADE EXCLUSIVA
|
</h2>
|
||||||
<br />
|
<Image
|
||||||
NO WHATSAPP
|
className="-mb-10 sm:-mb-15 sm:max-w-120 lg:max-w-[140%] self-center sm:row-span-3 lg:row-start-1 lg:col-start-2 lg:-mx-5 lg:place-self-center lg:-translate-x-18 lg:translate-y-18"
|
||||||
</strong>{' '}
|
src="/LULA_E_SOLLA.png"
|
||||||
E FIQUE POR DENTRO DE TODAS
|
width={956}
|
||||||
<br />
|
height={948}
|
||||||
AS VOTAÇÕES, PROJETOS E BASTIDORES.
|
alt=""
|
||||||
</h2>
|
/>
|
||||||
<WhatsappForm classname="flex-1 w-[40%]" />
|
<WhatsappForm classname="flex-1 lg:max-w-[75%]" />
|
||||||
<Image
|
<Image
|
||||||
className="flex-[1.8] -mx-10 absolute top-1/2 -translate-y-[50%] right-0 w-[67%]"
|
src="LOGO_SOLLA_BRANCO.svg"
|
||||||
src="/LULA_E_SOLLA.png"
|
width={430}
|
||||||
width={956}
|
height={300}
|
||||||
height={948}
|
alt=""
|
||||||
alt=""
|
className="-my-20 self-center lg:col-span-2 lg:place-self-center"
|
||||||
/>
|
/>
|
||||||
</div>
|
<p className="text-center m-0 text-xs lg:col-span-2 md:text-sm lg:text-base">
|
||||||
<div className="relative flex flex-col items-center gap-0">
|
<strong>Seus dados estão seguros.</strong> Utilizamos suas informações apenas para contato
|
||||||
<Image src="/LOGO_SOLLA_BRANCO.svg" width={430} height={300} alt="" className="-my-30" />
|
e envio de conteúdos relacionados.
|
||||||
<p className="text-center">
|
<br />
|
||||||
<strong>Seus dados estão seguros.</strong> Utilizamos suas informações apenas para
|
Não compartilhamos dados com terceiros. Ao preencher o formulário, você concorda com nossa
|
||||||
contato e envio de conteúdos relacionados.
|
política de uso de dados conforme a LGPD.
|
||||||
<br />
|
</p>
|
||||||
Não compartilhamos dados com terceiros. Ao preencher o formulário, você concorda com
|
|
||||||
nossa política de uso de dados conforme a LGPD.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,11 @@
|
||||||
@custom-variant dark (&:is(.dark *));
|
@custom-variant dark (&:is(.dark *));
|
||||||
@source "../../**/*.{js,ts,jsx,tsx,mdx}";
|
@source "../../**/*.{js,ts,jsx,tsx,mdx}";
|
||||||
|
|
||||||
|
@theme {
|
||||||
|
--breakpoint-2xs: 23.75rem;
|
||||||
|
--breakpoint-xs: 26.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
@ -97,7 +102,7 @@ body,
|
||||||
--sidebar-accent-foreground: oklch(0.98 0.004 197.1);
|
--sidebar-accent-foreground: oklch(0.98 0.004 197.1);
|
||||||
--sidebar-border: oklch(0.7 0.015 197.1 / 20%);
|
--sidebar-border: oklch(0.7 0.015 197.1 / 20%);
|
||||||
--sidebar-ring: oklch(0.9 0.14 143);
|
--sidebar-ring: oklch(0.9 0.14 143);
|
||||||
--background: oklch(0.2 0.02 171);
|
--background: #ae1603;
|
||||||
--foreground: oklch(0.98 0.004 197.1);
|
--foreground: oklch(0.98 0.004 197.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -141,7 +146,9 @@ body,
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@apply bg-background text-foreground;
|
@apply text-foreground;
|
||||||
|
background-color: var(--background);
|
||||||
|
background-image: linear-gradient(to top, #ae1603 0%, #c86112 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue