New post to try it ou

#Web#Tech#Devops
December 17, 2021

This is a simple one-line sentence to check where it is going wrong.

import { Card, Layout } from '../components';
import { POST } from '../types';

interface HomeProps {
  posts: POST[];
}

export default function Home({ posts }: HomeProps) {
  return (
    <Layout>
      <div className='flex flex-wrap gap-4 justify-center'>
        {posts?.map((p) => (
          <Card data={p} key={p.id} />
        ))}
      </div>
    </Layout>
  );
}

Single line sentence again.

Some alt

// All find products whose inventory is odd
Product.find().mod('inventory', [2, 1]);
Product.find().where('inventory').mod([2, 1]);
// This syntax is a little strange, but supported.
Product.find().where('inventory').mod(2, 1);