Skip to content

Commit

Permalink
fix: image component bug & maintenance bug (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsp45 authored Feb 18, 2024
1 parent beac92d commit 08ebaa0
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 421 deletions.
8 changes: 5 additions & 3 deletions apps/blog/components/Author/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ import Image from "next/image";

export default function Author({ name, photo, username }: IAuthor) {
return (
<li className="flex items-center py-1">
<li className="flex items-center py-2">
<Link href={`/author/${username}`}>
<a className="flex items-center">
<a className="ml-7 flex items-center">
<Image
src={`/img/team/${photo}`}
alt="avatar"
height={40}
width={40}
className="mx-4 h-10 w-10 rounded-full object-cover"
/>
<h1 className="mx-1 font-bold text-gray-700 hover:underline dark:text-white">
<h1 className="mx-1 ml-3 font-bold text-gray-700 hover:underline dark:text-white">
{name}
</h1>
</a>
Expand Down
4 changes: 3 additions & 1 deletion apps/blog/components/Entry/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ export default function Entry({
<div>
<Link href={`/author/${author?.username}`}>
<a className="flex items-center">
<h1 className="text-dark font-bold hover:underline dark:text-white">
<h1 className="text-dark mr-7 font-bold hover:underline dark:text-white">
{author?.name}
</h1>
<Image
src={`/img/team/${author?.photo}`}
alt="avatar"
width={40}
height={40}
className="mx-4 hidden h-10 w-10 rounded-full object-cover sm:block"
/>
</a>
Expand Down
2 changes: 2 additions & 0 deletions apps/blog/components/Featured/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default function Featured({ title, author, date, topic, slug }: Props) {
<Image
src={`/img/team/${author?.photo}`}
alt="avatar"
width={35}
height={35}
className="h-8 w-8 rounded-full object-cover"
/>
<h1 className="mx-3 text-sm text-gray-700 hover:underline dark:text-white">
Expand Down
11 changes: 0 additions & 11 deletions apps/maintenance/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,9 @@ const MaintenancePage = () => {
Pedimos desculpa por qualquer inconveniente e obrigado pela
sua paciência.
</p>
<p className="hidden text-base font-light text-gray-900 dark:text-gray-400 md:block md:text-lg lg:text-xl">
Clique no dinossauro e dê o seu melhor!
</p>
<p className="text-base font-light text-gray-900 dark:text-gray-400 md:text-lg lg:text-xl">
Estaremos de volta em breve!
</p>
<div className="pt-26">
<iframe
src="/chrome-dino-game/index.html"
title="Chrome Dino Game"
style={{ width: "100%", height: "300px", border: "none" }}
className="hidden md:block"
></iframe>
</div>
</div>
</section>
</div>
Expand Down
19 changes: 0 additions & 19 deletions apps/maintenance/public/chrome-dino-game/README.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
27 changes: 0 additions & 27 deletions apps/maintenance/public/chrome-dino-game/index.html

This file was deleted.

254 changes: 0 additions & 254 deletions apps/maintenance/public/chrome-dino-game/script.js

This file was deleted.

Loading

0 comments on commit 08ebaa0

Please sign in to comment.