From d7e9531ca1019630b522faeaa03a2dff67982ef2 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Fri, 5 Nov 2021 09:48:42 +0800 Subject: [PATCH] fix case study links. update blog thumb --- .../{xendit copy 2.mdx => xendit-copy 4.mdx} | 0 .../{xendit copy 3.mdx => xendit-copy 5.mdx} | 0 .../{xendit copy 4.mdx => xendit-copy-2.mdx} | 0 .../{xendit copy 5.mdx => xendit-copy-3.mdx} | 0 .../{xendit copy.mdx => xendit-copy.mdx} | 0 www/components/Blog/BlogListItem.tsx | 24 ++++++++++++------- www/next.config.js | 2 +- 7 files changed, 16 insertions(+), 10 deletions(-) rename www/_case-studies/{xendit copy 2.mdx => xendit-copy 4.mdx} (100%) rename www/_case-studies/{xendit copy 3.mdx => xendit-copy 5.mdx} (100%) rename www/_case-studies/{xendit copy 4.mdx => xendit-copy-2.mdx} (100%) rename www/_case-studies/{xendit copy 5.mdx => xendit-copy-3.mdx} (100%) rename www/_case-studies/{xendit copy.mdx => xendit-copy.mdx} (100%) diff --git a/www/_case-studies/xendit copy 2.mdx b/www/_case-studies/xendit-copy 4.mdx similarity index 100% rename from www/_case-studies/xendit copy 2.mdx rename to www/_case-studies/xendit-copy 4.mdx diff --git a/www/_case-studies/xendit copy 3.mdx b/www/_case-studies/xendit-copy 5.mdx similarity index 100% rename from www/_case-studies/xendit copy 3.mdx rename to www/_case-studies/xendit-copy 5.mdx diff --git a/www/_case-studies/xendit copy 4.mdx b/www/_case-studies/xendit-copy-2.mdx similarity index 100% rename from www/_case-studies/xendit copy 4.mdx rename to www/_case-studies/xendit-copy-2.mdx diff --git a/www/_case-studies/xendit copy 5.mdx b/www/_case-studies/xendit-copy-3.mdx similarity index 100% rename from www/_case-studies/xendit copy 5.mdx rename to www/_case-studies/xendit-copy-3.mdx diff --git a/www/_case-studies/xendit copy.mdx b/www/_case-studies/xendit-copy.mdx similarity index 100% rename from www/_case-studies/xendit copy.mdx rename to www/_case-studies/xendit-copy.mdx diff --git a/www/components/Blog/BlogListItem.tsx b/www/components/Blog/BlogListItem.tsx index be3280947ad..66d5a30d419 100644 --- a/www/components/Blog/BlogListItem.tsx +++ b/www/components/Blog/BlogListItem.tsx @@ -3,6 +3,8 @@ import authors from 'lib/authors.json' import Link from 'next/link' import React from 'react' import { capitalize } from '~/lib/helpers' + +import Image from 'next/image' import PostTypes from '~/types/post' interface Props { @@ -19,15 +21,19 @@ const BlogListItem = ({ blog }: Props) => {
- +
+ +
diff --git a/www/next.config.js b/www/next.config.js index a300dc59fa8..dcfa6076a04 100644 --- a/www/next.config.js +++ b/www/next.config.js @@ -6,7 +6,7 @@ module.exports = withMDX({ trailingSlash: false, images: { - domains: ['github.com', 'ca.slack-edge.com', 'res.cloudinary.com'], + domains: ['github.com', 'ca.slack-edge.com', 'res.cloudinary.com', 'images.unsplash.com'], }, async headers() { return [