-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
theme.postcss had a .card with grid that was messing up the postprevi…
…ew on index page.
- Loading branch information
Showing
5 changed files
with
1,776 additions
and
1,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { c as createMetadata, $ as $$module1, a as $$module2, b as $$module3, d as $$module5, e as $$module6, f as createAstro, g as createComponent, r as renderTemplate, h as addAttribute, i as renderComponent, j as $$MetaTags, k as renderHead, l as $$Cursor, m as $$Navbar, n as renderSlot, o as $$Footer } from '../entry.mjs'; | ||
/* empty css */import { $ as $$module4, a as $$Post } from './Post.54382534.mjs'; | ||
import 'html-escaper'; | ||
import '@astrojs/netlify/netlify-functions.js'; | ||
import 'preact'; | ||
import 'preact-render-to-string'; | ||
import 'solid-js/web'; | ||
import 'etag'; | ||
import 'mrmime'; | ||
import 'sharp'; | ||
import 'node:fs/promises'; | ||
/* empty css *//* empty css */import 'solid-js'; | ||
import 'node:path'; | ||
import 'node:url'; | ||
import 'node:fs'; | ||
import 'tiny-glob'; | ||
import 'slash'; | ||
import 'image-size'; | ||
/* empty css */import 'mime'; | ||
import 'kleur/colors'; | ||
import 'string-width'; | ||
import 'path-browserify'; | ||
import 'path-to-regexp'; | ||
|
||
const $$metadata = createMetadata("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BlogPost.astro", { modules: [{ module: $$module1, specifier: "../components/MetaTags.astro", assert: {} }, { module: $$module2, specifier: "../components/Navbar.astro", assert: {} }, { module: $$module3, specifier: "../components/cursorEffect/Cursor.astro", assert: {} }, { module: $$module4, specifier: "../components/blog/Post.astro", assert: {} }, { module: $$module5, specifier: "../components/footer/Footer.astro", assert: {} }, { module: $$module6, specifier: "../utils/types", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] }); | ||
const $$Astro = createAstro("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BlogPost.astro", "https://blackskies.vercel.app/", "file:///C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/"); | ||
const $$BlogPost = createComponent(async ($$result, $$props, $$slots) => { | ||
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); | ||
Astro2.self = $$BlogPost; | ||
const { content } = Astro2.props; | ||
const { title, publishDate, writer, href, description, img, alt, permalink } = content; | ||
const { minutesRead } = Astro2.props.content; | ||
const STYLES = []; | ||
for (const STYLE of STYLES) | ||
$$result.styles.add(STYLE); | ||
return renderTemplate`<html${addAttribute(content.lang || "en", "lang")} class="astro-F4UQDMN3"> | ||
<head> | ||
${renderComponent($$result, "Meta", $$MetaTags, { "title": title, "description": description, "permalink": permalink, "class": "astro-F4UQDMN3" })} | ||
${renderHead($$result)}</head> | ||
<body class="astro-F4UQDMN3"> | ||
${renderComponent($$result, "Cursor", $$Cursor, { "class": "astro-F4UQDMN3" })} | ||
${renderComponent($$result, "Navbar", $$Navbar, { "class": "astro-F4UQDMN3" })} | ||
<div class="container astro-F4UQDMN3"> | ||
<main class="body home_content astro-F4UQDMN3"> | ||
<div class="container astro-F4UQDMN3"> | ||
<div class="grid astro-F4UQDMN3"> | ||
${renderComponent($$result, "BlogPost", $$Post, { "title": title, "publishDate": publishDate, "writer": writer, "href": href, "img": img, "description": description, "alt": alt, "class": "astro-F4UQDMN3" }, { "default": () => renderTemplate`<p class="astro-F4UQDMN3">${minutesRead}</p>${renderSlot($$result, $$slots["default"])}` })} | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
${renderComponent($$result, "Footer", $$Footer, { "class": "astro-F4UQDMN3" })} | ||
</body></html>`; | ||
}); | ||
|
||
const $$file = "C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BlogPost.astro"; | ||
const $$url = undefined; | ||
|
||
export { $$metadata, $$BlogPost as default, $$file as file, $$url as url }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { c as createMetadata, $ as $$module1, a as $$module2, b as $$module3, d as $$module5, e as $$module6, f as createAstro, g as createComponent, r as renderTemplate, h as addAttribute, i as renderComponent, j as $$MetaTags, k as renderHead, l as $$Cursor, m as $$Navbar, n as renderSlot, o as $$Footer } from '../entry.mjs'; | ||
/* empty css *//* empty css */import { $ as $$module4, a as $$Post } from './Post.54382534.mjs'; | ||
import 'html-escaper'; | ||
import '@astrojs/netlify/netlify-functions.js'; | ||
import 'preact'; | ||
import 'preact-render-to-string'; | ||
import 'solid-js/web'; | ||
import 'etag'; | ||
import 'mrmime'; | ||
import 'sharp'; | ||
import 'node:fs/promises'; | ||
/* empty css *//* empty css */import 'solid-js'; | ||
import 'node:path'; | ||
import 'node:url'; | ||
import 'node:fs'; | ||
import 'tiny-glob'; | ||
import 'slash'; | ||
import 'image-size'; | ||
/* empty css */import 'mime'; | ||
import 'kleur/colors'; | ||
import 'string-width'; | ||
import 'path-browserify'; | ||
import 'path-to-regexp'; | ||
|
||
const $$metadata = createMetadata("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BookPost.astro", { modules: [{ module: $$module1, specifier: "../components/MetaTags.astro", assert: {} }, { module: $$module2, specifier: "../components/Navbar.astro", assert: {} }, { module: $$module3, specifier: "../components/cursorEffect/Cursor.astro", assert: {} }, { module: $$module4, specifier: "../components/blog/Post.astro", assert: {} }, { module: $$module5, specifier: "../components/footer/Footer.astro", assert: {} }, { module: $$module6, specifier: "../utils/types", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] }); | ||
const $$Astro = createAstro("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BookPost.astro", "https://blackskies.vercel.app/", "file:///C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/"); | ||
const $$BookPost = createComponent(async ($$result, $$props, $$slots) => { | ||
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); | ||
Astro2.self = $$BookPost; | ||
const { content } = Astro2.props; | ||
const { title, publishDate, writer, href, description, img, alt, permalink } = content; | ||
const { minutesRead } = Astro2.props.content; | ||
const STYLES = []; | ||
for (const STYLE of STYLES) | ||
$$result.styles.add(STYLE); | ||
return renderTemplate`<html${addAttribute(content.lang || "en", "lang")} class="astro-F4UQDMN3"> | ||
<head> | ||
${renderComponent($$result, "Meta", $$MetaTags, { "title": title, "description": description, "permalink": permalink, "class": "astro-F4UQDMN3" })} | ||
${renderHead($$result)}</head> | ||
<body class="astro-F4UQDMN3"> | ||
${renderComponent($$result, "Cursor", $$Cursor, { "class": "astro-F4UQDMN3" })} | ||
${renderComponent($$result, "Navbar", $$Navbar, { "class": "astro-F4UQDMN3" })} | ||
<div class="container astro-F4UQDMN3"> | ||
<main class="body home_content astro-F4UQDMN3"> | ||
<div class="container astro-F4UQDMN3"> | ||
<div class="grid astro-F4UQDMN3"> | ||
${renderComponent($$result, "BlogPost", $$Post, { "title": title, "publishDate": publishDate, "writer": writer, "href": href, "img": img, "description": description, "alt": alt, "class": "astro-F4UQDMN3" }, { "default": () => renderTemplate`<p class="astro-F4UQDMN3">${minutesRead}</p>${renderSlot($$result, $$slots["default"])}` })} | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
${renderComponent($$result, "Footer", $$Footer, { "class": "astro-F4UQDMN3" })} | ||
</body></html>`; | ||
}); | ||
|
||
const $$file = "C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/layouts/BookPost.astro"; | ||
const $$url = undefined; | ||
|
||
export { $$metadata, $$BookPost as default, $$file as file, $$url as url }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { c as createMetadata, p as $$module1, f as createAstro, g as createComponent, r as renderTemplate, q as maybeRenderHead, i as renderComponent, s as $$Aside, n as renderSlot } from '../entry.mjs'; | ||
/* empty css */import 'html-escaper'; | ||
|
||
const $$metadata = createMetadata("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/components/blog/Post.astro", { modules: [{ module: $$module1, specifier: "../Aside.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] }); | ||
const $$Astro = createAstro("/@fs/C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/components/blog/Post.astro", "https://blackskies.vercel.app/", "file:///C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/"); | ||
const $$Post = createComponent(async ($$result, $$props, $$slots) => { | ||
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); | ||
Astro2.self = $$Post; | ||
const { title, writer, publishDate, alt, img, tags } = Astro2.props; | ||
const { minutesRead } = Astro2.props; | ||
console.log(minutesRead); | ||
const STYLES = []; | ||
for (const STYLE of STYLES) | ||
$$result.styles.add(STYLE); | ||
return renderTemplate`${maybeRenderHead($$result)}<div class="page-container astro-7OC53IYW"> | ||
${renderComponent($$result, "Aside", $$Aside, { "writter": writer, "class": "astro-7OC53IYW" })} | ||
<article class="article astro-7OC53IYW"> | ||
<!-- <img class="center-cropped" src={img} alt={alt} height={200} /> --> | ||
<div class="astro-7OC53IYW"> | ||
<div class="coffee astro-7OC53IYW"> | ||
</div> | ||
<div class="details astro-7OC53IYW"> | ||
<h1 class="astro-7OC53IYW">${title}</h1> | ||
<p class="astro-7OC53IYW">${writer}</p> | ||
<span class="astro-7OC53IYW">${publishDate} | ${tags}</span> | ||
<p class="reading astro-7OC53IYW">📖${minutesRead}</p> | ||
</div> | ||
</div> | ||
<main class="astro-7OC53IYW"> | ||
${renderSlot($$result, $$slots["default"])} | ||
</main> | ||
</article> | ||
</div> | ||
`; | ||
}); | ||
|
||
const $$file = "C:/Users/panze/OneDrive/Documents/GitHub/HopelezzBlog/src/components/blog/Post.astro"; | ||
const $$url = undefined; | ||
|
||
const $$module4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ | ||
__proto__: null, | ||
$$metadata, | ||
default: $$Post, | ||
file: $$file, | ||
url: $$url | ||
}, Symbol.toStringTag, { value: 'Module' })); | ||
|
||
export { $$module4 as $, $$Post as a }; |
Oops, something went wrong.