style: format code
This commit is contained in:
parent
d13e84688f
commit
568cb053b0
59
.astro/types.d.ts
vendored
59
.astro/types.d.ts
vendored
@ -135,44 +135,41 @@ declare module 'astro:content' {
|
||||
>;
|
||||
|
||||
type ContentEntryMap = {
|
||||
"blog": {
|
||||
"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";
|
||||
blog: {
|
||||
'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';
|
||||
body: string;
|
||||
collection: "blog";
|
||||
data: InferEntrySchema<"blog">
|
||||
} & { render(): Render[".mdx"] };
|
||||
"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";
|
||||
collection: 'blog';
|
||||
data: InferEntrySchema<'blog'>;
|
||||
} & { render(): Render['.mdx'] };
|
||||
'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';
|
||||
body: string;
|
||||
collection: "blog";
|
||||
data: InferEntrySchema<"blog">
|
||||
} & { render(): Render[".mdx"] };
|
||||
"exploring-nodejs-development-trends-2024.mdx": {
|
||||
id: "exploring-nodejs-development-trends-2024.mdx";
|
||||
slug: "exploring-nodejs-development-trends-2024";
|
||||
collection: 'blog';
|
||||
data: InferEntrySchema<'blog'>;
|
||||
} & { render(): Render['.mdx'] };
|
||||
'exploring-nodejs-development-trends-2024.mdx': {
|
||||
id: 'exploring-nodejs-development-trends-2024.mdx';
|
||||
slug: 'exploring-nodejs-development-trends-2024';
|
||||
body: string;
|
||||
collection: "blog";
|
||||
data: InferEntrySchema<"blog">
|
||||
} & { render(): Render[".mdx"] };
|
||||
"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";
|
||||
collection: 'blog';
|
||||
data: InferEntrySchema<'blog'>;
|
||||
} & { render(): Render['.mdx'] };
|
||||
'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';
|
||||
body: string;
|
||||
collection: "blog";
|
||||
data: InferEntrySchema<"blog">
|
||||
} & { render(): Render[".mdx"] };
|
||||
collection: 'blog';
|
||||
data: InferEntrySchema<'blog'>;
|
||||
} & { render(): Render['.mdx'] };
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
type DataEntryMap = {
|
||||
|
||||
};
|
||||
type 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>
|
||||
</h2>
|
||||
<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}`}>
|
||||
Read more
|
||||
</a>
|
||||
|
||||
@ -22,7 +22,7 @@ const { title } = entry.data;
|
||||
|
||||
<BaseLayout>
|
||||
<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>
|
||||
<Content />
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user