style: format code
This commit is contained in:
parent
d13e84688f
commit
568cb053b0
67
.astro/types.d.ts
vendored
67
.astro/types.d.ts
vendored
@ -135,44 +135,41 @@ declare module 'astro:content' {
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
type ContentEntryMap = {
|
type ContentEntryMap = {
|
||||||
"blog": {
|
blog: {
|
||||||
"10-essential-web-development-tools-for-building-stunning-websites.mdx": {
|
'10-essential-web-development-tools-for-building-stunning-websites.mdx': {
|
||||||
id: "10-essential-web-development-tools-for-building-stunning-websites.mdx";
|
id: '10-essential-web-development-tools-for-building-stunning-websites.mdx';
|
||||||
slug: "10-essential-web-development-tools-for-building-stunning-websites";
|
slug: '10-essential-web-development-tools-for-building-stunning-websites';
|
||||||
body: string;
|
body: string;
|
||||||
collection: "blog";
|
collection: 'blog';
|
||||||
data: InferEntrySchema<"blog">
|
data: InferEntrySchema<'blog'>;
|
||||||
} & { render(): Render[".mdx"] };
|
} & { render(): Render['.mdx'] };
|
||||||
"essential-frontend-tools-for-astro-js-developers.mdx": {
|
'essential-frontend-tools-for-astro-js-developers.mdx': {
|
||||||
id: "essential-frontend-tools-for-astro-js-developers.mdx";
|
id: 'essential-frontend-tools-for-astro-js-developers.mdx';
|
||||||
slug: "essential-frontend-tools-for-astro-js-developers";
|
slug: 'essential-frontend-tools-for-astro-js-developers';
|
||||||
body: string;
|
body: string;
|
||||||
collection: "blog";
|
collection: 'blog';
|
||||||
data: InferEntrySchema<"blog">
|
data: InferEntrySchema<'blog'>;
|
||||||
} & { render(): Render[".mdx"] };
|
} & { render(): Render['.mdx'] };
|
||||||
"exploring-nodejs-development-trends-2024.mdx": {
|
'exploring-nodejs-development-trends-2024.mdx': {
|
||||||
id: "exploring-nodejs-development-trends-2024.mdx";
|
id: 'exploring-nodejs-development-trends-2024.mdx';
|
||||||
slug: "exploring-nodejs-development-trends-2024";
|
slug: 'exploring-nodejs-development-trends-2024';
|
||||||
body: string;
|
body: string;
|
||||||
collection: "blog";
|
collection: 'blog';
|
||||||
data: InferEntrySchema<"blog">
|
data: InferEntrySchema<'blog'>;
|
||||||
} & { render(): Render[".mdx"] };
|
} & { render(): Render['.mdx'] };
|
||||||
"unleasing-the-power-of-astro-js-for-better-web-development.mdx": {
|
'unleasing-the-power-of-astro-js-for-better-web-development.mdx': {
|
||||||
id: "unleasing-the-power-of-astro-js-for-better-web-development.mdx";
|
id: 'unleasing-the-power-of-astro-js-for-better-web-development.mdx';
|
||||||
slug: "unleasing-the-power-of-astro-js-for-better-web-development";
|
slug: 'unleasing-the-power-of-astro-js-for-better-web-development';
|
||||||
body: string;
|
body: string;
|
||||||
collection: "blog";
|
collection: 'blog';
|
||||||
data: InferEntrySchema<"blog">
|
data: InferEntrySchema<'blog'>;
|
||||||
} & { render(): Render[".mdx"] };
|
} & { render(): Render['.mdx'] };
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type DataEntryMap = {
|
type DataEntryMap = {};
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
||||||
|
|
||||||
export type ContentConfig = typeof import("../src/content/config.js");
|
export type ContentConfig = typeof import('../src/content/config.js');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,7 @@ const allBlogposts = await getCollection('blog');
|
|||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
<a
|
<a
|
||||||
class="text-primary-600 hover:text-primary-400 dark:text-primary-400 dark:hover:text-primary-300 text-sm font-medium"
|
class="text-sm font-medium text-primary-600 hover:text-primary-400 dark:text-primary-400 dark:hover:text-primary-300"
|
||||||
href={`/blog/${post.slug}`}>
|
href={`/blog/${post.slug}`}>
|
||||||
Read more
|
Read more
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@ -22,7 +22,7 @@ const { title } = entry.data;
|
|||||||
|
|
||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<div
|
<div
|
||||||
class="prose dark:prose-invert container mx-auto space-y-16 px-4 py-16 lg:px-8 lg:py-32 xl:max-w-7xl">
|
class="container prose mx-auto space-y-16 px-4 py-16 dark:prose-invert lg:px-8 lg:py-32 xl:max-w-7xl">
|
||||||
<h1 class="text-4xl font-bold">{title}</h1>
|
<h1 class="text-4xl font-bold">{title}</h1>
|
||||||
<Content />
|
<Content />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user