fix props and build image
This commit is contained in:
3179
src/assets/favicon.svg
Normal file
3179
src/assets/favicon.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 182 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.0 KiB |
3179
src/assets/logo.svg
Normal file
3179
src/assets/logo.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 182 KiB |
@ -1,7 +1,7 @@
|
||||
---
|
||||
import { navItems } from "@/utils/nav-links";
|
||||
import MobileMenu from "@/components/mobile-menu";
|
||||
import logo from "@/assets/logo.png";
|
||||
import logo from "@/assets/logo.svg";
|
||||
import { Image } from "astro:assets";
|
||||
import LinkButton from "@/components/link-button";
|
||||
---
|
||||
|
@ -5,6 +5,8 @@ import "@/styles/globals.css";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
lang?: string;
|
||||
}
|
||||
|
||||
const { title, description, lang } = Astro.props;
|
||||
|
@ -4,7 +4,7 @@ import LinkButton from "@/components/link-button";
|
||||
import { getCollection } from "astro:content";
|
||||
import PostItem from "@/components/post-item";
|
||||
import { Image } from "astro:assets";
|
||||
import logo from "@/assets/logo.png";
|
||||
import logo from "@/assets/logo.svg";
|
||||
|
||||
const allPosts = await getCollection("blog", ({ data }) => data.draft !== true);
|
||||
allPosts.sort(
|
||||
|
Reference in New Issue
Block a user