Skip to content

Commit

Permalink
Typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
komali2 committed Feb 6, 2024
1 parent 4dc119b commit ba7b362
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const serviceCollection = defineCollection({
});

const aboutCollection = defineCollection({
type: 'about', // v2.5.0 and later
type: 'content', // v2.5.0 and later
schema: z.object({
layout: z.string(),
title: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Footer from '../components/Footer.astro';
import BaseLayout from './Layout.astro'
const {frontmatter} = Astro.props;
---
<BaseLayout url={frontmatter.url} title={frontmatter.title} description={frontmatter.description}>
<BaseLayout title={frontmatter.title} description={frontmatter.description}>
<div class="bg-gray-100 min-h-25p mb-6">
<section>
<div class="hero">
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Service.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Footer from '../components/Footer.astro';
import BaseLayout from './Layout.astro'
const {frontmatter} = Astro.props;
---
<BaseLayout url={frontmatter.url} title={frontmatter.title} description={frontmatter.description}>
<BaseLayout title={frontmatter.title} description={frontmatter.description}>
<div class="bg-gray-100 min-h-25p mb-6">
<section>
<div class="hero">
Expand Down

0 comments on commit ba7b362

Please sign in to comment.