Skip to content

Commit

Permalink
Merge pull request #15 from kovarike/website-feature
Browse files Browse the repository at this point in the history
update
  • Loading branch information
kovarike authored Sep 10, 2024
2 parents c4aef87 + e275028 commit 2f7bec7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion apps/algorithms/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function RootLayout({
<link rel="canonical" href="https://algorithmss.com.br" />
</head>

<body className={`${inter.className} bg-zinc-950`}>{children}</body>
<body className={`${inter.className} bg-zinc-950 h-screen`}>{children}</body>
</html>
);
}
23 changes: 12 additions & 11 deletions apps/algorithms/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use client"
import { ContainerFull } from "@/components/containerfull";
import { Footer } from "@/components/footer";
import { Header } from "@/components/header";
Expand All @@ -9,14 +10,14 @@ import { Toaster } from "sonner";

export default function Home() {
return (

<ContainerFull >
<Header>
<Link href="https://github.com/kovarike" name="GitHub" />
<Link href="https://algorithmss.com.br/profile" name="Portfolio" />
</Header>
<h2 className="text-center font-algorithms-font font-bold text-2xl mt-11">Wait for new feature</h2>
{/* <Search />
<>
<ContainerFull >
<Header>
<Link href="https://github.com/kovarike" name="GitHub" />
<Link href="https://algorithmss.com.br/profile" name="Portfolio" />
</Header>
<h2 className="text-center font-algorithms-font font-bold text-2xl mt-11">Wait for new feature</h2>
{/* <Search />
<Post
content="Lorem ipsum, dolor sit amet consectetur adipisicing elit"
name="Danilo"
Expand All @@ -36,9 +37,9 @@ export default function Home() {
date="21/02/2000"
/>
<Loading layoutId="1" messagem="Carregando..." /> */}
<Footer />
<Footer />
</ContainerFull>
<Toaster />
</ContainerFull>

</>
);
}
4 changes: 2 additions & 2 deletions apps/algorithms/src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default async function Profile() {
<div
className="flex items-center border-b border-slate-500 py-1"
>
<Avatar alt="Danilo" border size="Xlarge" src={profile.src} />
<div className="text-center mx-auto space-y-4 max-w-auto w-auto">
<Avatar alt="Danilo" border size="large" src={profile.src} />
<div className="text-center mx-auto space-y-4 w-auto max-w-auto">
<h2 className="text-3xl sm:text-base md:text-base font-semibold font-algorithms-font">
Danilo Silva
</h2>
Expand Down
5 changes: 2 additions & 3 deletions apps/algorithms/src/components/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ const sizeClasses = {
export function Avatar({ src, alt, size, border }: AvatarProps) {
return (
<div
className={`relative inline-flex items-center justify-center ${sizeClasses[size]} ${
border ? "border-2 border-gray-300" : ""
} rounded-full overflow-hidden bg-gray-200 w-auto`}
className={`relative inline-flex items-center justify-center ${sizeClasses[size]} ${border ? "border-2 border-gray-300" : ""
} rounded-full overflow-hidden bg-gray-200 w-auto`}
>
{src ? (
<img
Expand Down
6 changes: 3 additions & 3 deletions apps/algorithms/src/components/translate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ export function Translate({ id }: PropsTranslate) {
return (
<div className="max-w-20 w-20">
<div className="flex items-center mx-auto my-0">
<button className="w-7 h-7 px-1 text-gray-600 bg-algorithms-color/20 hover:bg-algorithms-color/45 rounded-l-md text-center">
{/* <button className="w-7 h-7 px-1 text-gray-600 bg-algorithms-color/20 hover:bg-algorithms-color/45 rounded-l-md text-center">
pt
</button>
<button className="w-7 h-7 px-1 text-gray-600 bg-algorithms-color/20 hover:bg-algorithms-color/45 text-center">
en
</button>
</button> */}
<Download id={id} />
</div>
</div>
</div >
);
}

0 comments on commit 2f7bec7

Please sign in to comment.