remove logo from home page

This commit is contained in:
Juan Carlos Manzanero Domínguez 2024-06-25 10:43:32 -06:00
parent c43d2e5420
commit ecca2bf614
4 changed files with 1 additions and 3189 deletions

BIN
src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 182 KiB

View File

@ -1,7 +1,7 @@
--- ---
import { navItems } from "@/utils/nav-links"; import { navItems } from "@/utils/nav-links";
import MobileMenu from "@/components/mobile-menu"; import MobileMenu from "@/components/mobile-menu";
import logo from "@/assets/logo.svg"; import logo from "@/assets/logo.png";
import { Image } from "astro:assets"; import { Image } from "astro:assets";
import LinkButton from "@/components/link-button"; import LinkButton from "@/components/link-button";
--- ---

View File

@ -3,8 +3,6 @@ import Layout from "@/layouts/Layout.astro";
import LinkButton from "@/components/link-button"; import LinkButton from "@/components/link-button";
import { getCollection } from "astro:content"; import { getCollection } from "astro:content";
import PostItem from "@/components/post-item"; import PostItem from "@/components/post-item";
import { Image } from "astro:assets";
import logo from "@/assets/logo.svg";
const allPosts = await getCollection("blog", ({ data }) => data.draft !== true); const allPosts = await getCollection("blog", ({ data }) => data.draft !== true);
allPosts.sort( allPosts.sort(
@ -43,13 +41,6 @@ const last3Projects = allProjects.slice(0, 3);
Take a seat, drink some tea, and enjoy your stay. Take a seat, drink some tea, and enjoy your stay.
</p> </p>
</div> </div>
<Image
src={logo}
width={160}
height={160}
alt="juancmandev logo"
class="w-40 h-40 aspect-square"
/>
</section> </section>
<section> <section>
<h2 class="text-3xl">Latest posts</h2> <h2 class="text-3xl">Latest posts</h2>