File tree Expand file tree Collapse file tree
pages/blog/[year]/[month]/[day] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,12 +35,15 @@ function patchLucideStyles(): Plugin {
3535 } ;
3636}
3737
38+ const site = "https://pixieditor.net" ;
39+
3840// https://astro.build/config
3941export default defineConfig ( {
40- site : "https://pixieditor.net" ,
42+ site : site ,
4143 integrations : [ mdx ( ) , solidJs ( ) , sitemap (
4244 {
43- filter : ( page ) => page !== "https://pixieditor.net/purchaseSuccess/" ,
45+ customSitemaps : [ `${ site } /docs/sitemap-index.xml` ] ,
46+ filter : ( page ) => page !== `${ site } /purchaseSuccess/`
4447 }
4548 ) ] ,
4649 markdown : {
Original file line number Diff line number Diff line change 1515 "dependencies" : {
1616 "@astrojs/mdx" : " ^4.2.6" ,
1717 "@astrojs/rss" : " ^4.0.12" ,
18- "@astrojs/sitemap" : " ^3.4 .0" ,
18+ "@astrojs/sitemap" : " ^3.6 .0" ,
1919 "@astrojs/solid-js" : " ^5.0.10" ,
2020 "@fontsource/montserrat" : " ^5.1.1" ,
2121 "@tailwindcss/typography" : " ^0.5.16" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ const {
2121 }
2222
2323 .flathub-card {
24- width: 380px;
24+ width: 100%;
25+ max-width: 380px;
2526 background: var(--card-bg);
2627 border: 1px solid var(--border);
2728 border-radius: var(--radius);
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ const { Content, headings } = await render(post);
4343<Layout fullTitle ={ ` ${post .data .title } | PixiEditor Blog ` } description ={ post .data .description } cover ={ post .data .cover ?? " img/blog-cover.png" } >
4444 <div class =" mx-auto max-w-screen-xl pt-12 pb-12" >
4545 <a class =" mb-2 block text-neutral-400" href =" /blog" ><Lucide data =" chevron-left" class =" align-bottom pe-3" /> All Articles</a >
46- <h1 class =" text-5xl font-bold my-6 px-4" >{ post .data .title } </h1 >
46+ <h1 class =" text-2xl sm:text- 5xl font-bold my-6 px-4" >{ post .data .title } </h1 >
4747 <div class =" flex pb-12 lg:flex-row flex-col md:gap-6 lg:gap-12 items-center lg:items-start p-4 lg:p-0" >
48- <div class =" flex flex-col w-full lg:w-auto pb-4 lg:items-end w-48 lg:top-22" >
48+ <div class =" flex flex-col lg:w-auto pb-4 lg:items-end lg:top-22" >
4949 <div class =" flex lg:flex-col md:flex-row h-fit gap-4 lg:gap-0 items-center lg:items-stretch" >
5050 { author ? <Image src = { author .data .picture } class = " object-contain w-12" alt = " " /> : null }
5151 <a href ={ authorReference ? ` /blog/authors/${authorReference .id } ` : null } >{ author ?.data .name ?? " Anonymous" } </a >
@@ -61,7 +61,7 @@ const { Content, headings } = await render(post);
6161 </div >
6262 <p class =" text-neutral-400 block lg:hidden" >{ dateString } </p >
6363 </div >
64- <div class =" prose prose-pixi" >
64+ <div class =" prose prose-pixi w-full " >
6565 <Content />
6666 </div >
6767 <div class =" hidden lg:flex flex-col text-nowrap w-40 sticky top-25" >
Original file line number Diff line number Diff line change @@ -100,14 +100,14 @@ __metadata:
100100 languageName : node
101101 linkType : hard
102102
103- " @astrojs/sitemap@npm:^3.4 .0 " :
104- version : 3.4 .0
105- resolution : " @astrojs/sitemap@npm:3.4 .0"
103+ " @astrojs/sitemap@npm:^3.6 .0 " :
104+ version : 3.6 .0
105+ resolution : " @astrojs/sitemap@npm:3.6 .0"
106106 dependencies :
107107 sitemap : " npm:^8.0.0"
108108 stream-replace-string : " npm:^2.0.0"
109- zod : " npm:^3.24.2 "
110- checksum : 10c0/f7b3811cc2eb14161b73933864ad0d525d103390626b4c7c7e42ab290bfe4acc53042e42fdf00cc6a64b7cf34bc5ca3c29ca11a09de85334949d399776f75f67
109+ zod : " npm:^3.25.76 "
110+ checksum : 10c0/a88c3c0c476b230cd1717c37d55408c57295539e9d141ff6738bcf38cefeb340a79b1d08c08f9bec39ec7ad6bfbb619454e1ae2053c8a65bbe3f1cd87a9e5904
111111 languageName : node
112112 linkType : hard
113113
@@ -4570,7 +4570,7 @@ __metadata:
45704570 dependencies :
45714571 " @astrojs/mdx " : " npm:^4.2.6"
45724572 " @astrojs/rss " : " npm:^4.0.12"
4573- " @astrojs/sitemap " : " npm:^3.4 .0"
4573+ " @astrojs/sitemap " : " npm:^3.6 .0"
45744574 " @astrojs/solid-js " : " npm:^5.0.10"
45754575 " @fontsource/montserrat " : " npm:^5.1.1"
45764576 " @tailwindcss/typography " : " npm:^0.5.16"
@@ -6106,6 +6106,13 @@ __metadata:
61066106 languageName : node
61076107 linkType : hard
61086108
6109+ " zod@npm:^3.25.76 " :
6110+ version : 3.25.76
6111+ resolution : " zod@npm:3.25.76"
6112+ checksum : 10c0/5718ec35e3c40b600316c5b4c5e4976f7fee68151bc8f8d90ec18a469be9571f072e1bbaace10f1e85cf8892ea12d90821b200e980ab46916a6166a4260a983c
6113+ languageName : node
6114+ linkType : hard
6115+
61096116" zwitch@npm:^2.0.0, zwitch@npm:^2.0.4 " :
61106117 version : 2.0.4
61116118 resolution : " zwitch@npm:2.0.4"
You can’t perform that action at this time.
0 commit comments