Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionando Botão de Compartilhar #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/components/Municipio.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client"
"use client";
import { BackIcon } from "@/assets/svgs/icons";
import Link from "next/link";
import { useRouter } from "next/navigation";
Expand Down Expand Up @@ -31,7 +31,7 @@ export default function Municipio({
</Link>
</Then>
</If>
<Title municipio={title}/>
<Title municipio={title} />
</header>
<div className="flex flex-col mt-5 mb-5">
<p className="font-normal text-[#7C828A] 3xl:mx-auto 4xl:w-[59rem]">
Expand All @@ -41,7 +41,10 @@ export default function Municipio({
ocorreram.
</p>
</div>
<div className="gap-x-5 gap-y-5 mx-[25%] flex flex-col xl:flex-row ">
<div className="gap-x-5 gap-y-5 mx-[25%] flex flex-col md:flex-row ">
<div className="bg-[#5AB290] hover:bg-[#84d1b4] max-lg:mx-auto rounded-[82px] text-white max-3xl:w-full w-[25%] h-16 text-center pt-4 px-5 text-lg">
<button>Compartilhar</button>
</div>
<select
className="w-[28.56rem] h-16 p-4 rounded-2xl text-lg"
id="municipio-select"
Expand Down Expand Up @@ -153,9 +156,7 @@ export default function Municipio({
</select>
</div>
<main className="flex flex-col gap-y-6 3xl:mb-14 mb-8">
<Charts>
{children}
</Charts>
<Charts>{children}</Charts>
</main>
</main>
);
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function MainLayout({ children, activeButton }: MainLayoutProps) {
</div>
</div>
<img
className="absolute 3xl:max-w-none lg:-bottom-[18rem] md:-bottom-[200rem] lg:scale-[.62] xl:-bottom-[19rem] 2xl:scale-[.68] min-[1920]:scale-[.95] 3xl:-bottom-[28rem] left-2 3xl:-left-[6rem]"
className="absolute 3xl:max-w-none lg:-bottom-[18rem] md:-bottom-[200rem] lg:scale-[.62] xl:-bottom-[19rem] 2xl:scale-[.68] min-3xl:scale-[.90] 3xl:-bottom-[30rem] left-2 3xl:-left-[6rem]"
src="https://exoonero.org/girl-icon.png"
/>
</aside>
Expand Down