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

fix: image component bug & maintenance bug #222

Merged
merged 3 commits into from
Feb 18, 2024
Merged
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
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
Loading