File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function BlogPostPreviewRenderer({
2424 const [ showCardActions , setShowCardActions ] = React . useState ( false ) ;
2525
2626 return (
27- < >
27+ < div className = "col h-100" >
2828 < motion . div
2929 // initial={{ x: 300, opacity: 0 }}
3030 // animate={{ x: 0, opacity: 1 }}
@@ -36,7 +36,7 @@ export default function BlogPostPreviewRenderer({
3636 stiffness : 260 ,
3737 damping : 20 ,
3838 } }
39- className = "card mb-2 "
39+ className = "card h-100 "
4040 >
4141 { preview . heroImage && (
4242 // eslint-disable-next-line @next/next/no-img-element
@@ -95,6 +95,6 @@ export default function BlogPostPreviewRenderer({
9595 </ Link >
9696 </ div >
9797 </ motion . div >
98- </ >
98+ </ div >
9999 ) ;
100100}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { CARD_VARIANTS } from "@/animations/card";
66
77export default function QuickLinkCards ( {
88 quickLinks,
9- divColumnClasses = "row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4" ,
9+ divColumnClasses = "row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-3 px-1 pt-1 pb-3 " ,
1010} : {
1111 quickLinks : QuickLink [ ] ;
1212 divColumnClasses ?: string ;
@@ -28,7 +28,6 @@ export default function QuickLinkCards({
2828 stiffness : 260 ,
2929 damping : 20 ,
3030 } }
31- className = "p-3"
3231 key = { `help-card-${ index } ` }
3332 >
3433 < div className = "col h-100" key = { `help-card-${ index } ` } >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default function AllBlogPosts(props: BlogProps) {
3333 < h1 > All blog posts</ h1 >
3434 < p > Here is a list of all blog posts on Awesome Arcade. Enjoy reading!</ p >
3535 {
36- < div className = "p-2 " >
36+ < div className = "row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-3 px-1 pt-1 pb-3 " >
3737 { props . blogPostPreviews . map ( ( preview , index ) => {
3838 return (
3939 < motion . div
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export default function BlogPage(props: BlogProps) {
6363 </ p >
6464 < h2 > Latest blog posts</ h2 >
6565 {
66- < div className = "p-2 " >
66+ < div className = "row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-3 px-1 pt-1 pb-3 " >
6767 { props . blogPostPreviews . map ( ( preview , index ) => {
6868 return (
6969 < motion . div
@@ -131,7 +131,7 @@ export async function getStaticProps(): Promise<{
131131
132132 await fs . writeFile ( "./public/rss.xml" , await generateRSSFeed ( previews ) ) ;
133133
134- previews . splice ( 5 ) ;
134+ previews . splice ( 4 ) ;
135135
136136 return {
137137 props : {
Original file line number Diff line number Diff line change @@ -53,10 +53,7 @@ export function Home({ appProps }: HomeProps): React.ReactNode {
5353 This is a website of awesome MakeCode Arcade extensions and tools that I
5454 find super useful (or just plain cool) in my projects.
5555 </ p >
56- < QuickLinkCards
57- quickLinks = { quickLinks }
58- divColumnClasses = "row row-cols-1 row-cols-md-2 row-cols-lg-2 row-cols-xl-2"
59- />
56+ < QuickLinkCards quickLinks = { quickLinks } />
6057 < p >
6158 Please note that this website is not developed, affiliated, or endorsed
6259 by Microsoft, the owner of MakeCode Arcade.
Original file line number Diff line number Diff line change @@ -66,10 +66,7 @@ export function Legal({ appProps }: { appProps: AppProps }): React.ReactNode {
6666 </ a >
6767 .
6868 </ p >
69- < QuickLinkCards
70- quickLinks = { legalLinks }
71- divColumnClasses = "row row-cols-1 row-cols-md-2 row-cols-lg-2 row-cols-xl-2"
72- />
69+ < QuickLinkCards quickLinks = { legalLinks } />
7370 < p >
7471 If you have any problems, you can join me on{ " " }
7572 < a
You can’t perform that action at this time.
0 commit comments