Skip to content

Commit

Permalink
🧱 feat: troca de logo e ajustes de estilização
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroFernandesRosal committed Jan 13, 2025
1 parent b08035a commit b81e067
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 62 deletions.
Binary file added public/logo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/icon.ico
Binary file not shown.
32 changes: 0 additions & 32 deletions src/app/icon.tsx

This file was deleted.

21 changes: 6 additions & 15 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
import Link from 'next/link'
import Socials from './socials'
import Image from 'next/image'

export default function Footer() {
return (
<footer className="flex flex-col justify-center items-center">
<div className="py-2 min-h-24 w-full flex flex-col justify-around items-center border-t-[1px] border-zinc-400 dark:border-zinc-700">
<footer className="flex flex-col justify-center items-center ">
<div className="py-2 min-h-24 w-full flex flex-col justify-around items-center border-t-[1px] border-zinc-400 dark:border-zinc-700 gap-2">
<Link
href="/"
className="md:text-2xl text-xl font-extrabold hover:text-primary mb-2"
href="/#highlight"
className="md:text-2xl text-xl font-extrabold hover:text-primary"
>
<p className="text-3xl font-medium flex items-center">
San
<span className="text-primary text-xl font-bold">
&#x0007B; &#41;
</span>
ro
<span className="text-primary text-xl font-bold">
&#x0007B; &#41;
</span>
ev
</p>
<Image src="/logo1.png" alt="" width={70} height={70} />
</Link>

<Socials />
Expand Down
16 changes: 3 additions & 13 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Link from 'next/link'

import Image from 'next/image'
import Menu from './menu'
import ChangeTheme from './change-theme'
import ItensMenu from './itens-menu'
Expand All @@ -8,25 +8,15 @@ export default function Header() {
return (
<div
id="highlight"
className={` w-[100vw] z-40 flex items-center dark:shadow-none border-b-[1px] dark:border-zinc-700 border-zinc-400 py-4 dark:bg-bgdark bg-bglight fixed '} `}
className={` w-[100vw] z-40 flex items-center dark:shadow-none border-b-[1px] dark:border-zinc-700 border-zinc-400 py-1 dark:bg-bgdark bg-bglight fixed '} `}
>
<div className="flex items-center justify-around gap-2 w-full ">
<div className="flex items-center">
<Link
href="/#highlight"
className="md:text-2xl text-xl font-extrabold hover:text-primary"
>
<p className="text-3xl font-medium flex items-center">
San
<span className="text-primary text-xl font-bold">
&#x0007B; &#41;
</span>
ro
<span className="text-primary text-xl font-bold">
&#x0007B; &#41;
</span>
ev
</p>
<Image src="/logo1.png" alt="logo" width={60} height={60} />
</Link>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function Menu() {
<Opacity menu={menu} />

<div
className={`fixed top-[72px] right-0 z-30 flex min-h-screen w-[70%] border-l-[1px] border-t-[1px] border-zinc-400 dark:border-zinc-700 transform rounded-l-xl flex-col items-center pt-5 gap-10 bg-bglightsecondary dark:bg-bgdarksecondary font-bold backdrop-blur-md transition-transform duration-300 md:hidden ${
className={`fixed top-[68px] right-0 z-30 flex min-h-screen w-[70%] border-l-[1px] border-t-[1px] border-zinc-400 dark:border-zinc-700 transform rounded-l-xl flex-col items-center pt-5 gap-10 bg-bglightsecondary dark:bg-bgdarksecondary font-bold backdrop-blur-md transition-transform duration-300 md:hidden ${
menu ? 'translate-x-0 ' : 'translate-x-full'
}`}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/opacity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type OpacityProps = {
const Opacity: React.FC<OpacityProps> = ({ menu }) => {
return (
<div
className={`${menu ? 'flex' : 'hidden'} md:hidden left-0 top-[73px] absolute w-[100vw] h-[100vh] backdrop-blur-md dark:shadow-shadowdark shadow-shadowlight`}
className={`${menu ? 'flex' : 'hidden'} md:hidden left-0 top-[69px] absolute w-[100vw] h-[100vh] backdrop-blur-md`}
></div>
)
}
Expand Down

0 comments on commit b81e067

Please sign in to comment.