Skip to content

Commit da106ac

Browse files
committed
added images
1 parent 41252d1 commit da106ac

27 files changed

Lines changed: 2088 additions & 57 deletions

‎BLOG_CONSTANTS/_ARTICLES_LIST.tsx‎

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ import { MAYUR, RUPALI } from './_BLOG_SETUP';
3333
// clear this article list and add your own
3434
export const ARTICLES_LIST: iArticle[] = [
3535
{
36-
path: '/pages/blog/tutorial/how-to-setup-blog',
36+
path: '/pages/blog/tutorial/how-to-setup-blog.tsx',
3737
featureArticle: true,
3838
preview: {
3939
author: MAYUR,
4040
date: "March 03 2022",
4141
articleTitle: "How to setup this blog template",
4242
tags: "demo, blog setup",
43-
thumbnail: "/public/images/tutorials/blog-setup.jpg",
43+
thumbnail: "/public/images/tutorials/how-to-setup-blog.svg",
4444
shortIntro: "These are the steps to setup your blog",
4545
category: 'tutorial'
4646
},
4747
seo: {
4848
title: "How to setup this blog template",
4949
description: "These are the steps to setup your blog",
5050
keywords: "demo, blog setup",
51-
ogImage: "/public/images/tutorials/blog-setup.jpg",
51+
ogImage: "/public/images/tutorials/how-to-setup-blog.svg",
5252
twitterHandle: "@mayur_nalwala",
5353
author: MAYUR.name
5454
}
@@ -60,7 +60,7 @@ export const ARTICLES_LIST: iArticle[] = [
6060
date: "August 08 2022",
6161
articleTitle: "Home Layout Example",
6262
tags: "demo, layout, home layout",
63-
thumbnail: "/public/images/tutorials/centered-layout-thumb.png",
63+
thumbnail: "/public/images/tutorials/home-layouts.svg",
6464
shortIntro: "In this article we will see Default Home Layout example.",
6565
category: 'layouts'
6666
},
@@ -69,7 +69,7 @@ export const ARTICLES_LIST: iArticle[] = [
6969
description:
7070
"In this article we will see Default Home Layout example.",
7171
keywords: "next js, tailwind css, typescript, blog template, default layout, default home layout",
72-
ogImage: "/public/images/tutorials/centered-layout-thumb.png",
72+
ogImage: "/public/images/tutorials/home-layouts.svg",
7373
author: RUPALI.name
7474
}
7575
},
@@ -80,13 +80,13 @@ export const ARTICLES_LIST: iArticle[] = [
8080
date: "August 08 2022",
8181
articleTitle: "Page Layout for article with sidebar",
8282
tags: "demo, with sidebar, default layout",
83-
thumbnail: "/public/images/tutorials/default-layout-thumb.jpg",
83+
thumbnail: "/public/images/tutorials/blog-with-sidebar-layout.svg",
8484
shortIntro: "In this article we will see Page Layout for blog with sidebar example.",
8585
category: 'layouts'
8686
},
8787
seo: {
8888
keywords: "demo, with sidebar, blog page layout, blog page design with sidebar, webexpe, webexpe.com",
89-
ogImage: "/public/images/tutorials/default-layout-thumb.jpg",
89+
ogImage: "/public/images/tutorials/blog-with-sidebar-layout.svg",
9090
}
9191
},
9292
{
@@ -96,7 +96,7 @@ export const ARTICLES_LIST: iArticle[] = [
9696
date: "August 08 2022",
9797
articleTitle: "Page Layout for article with centered layout",
9898
tags: "demo, centered, centered layout",
99-
thumbnail: "/public/images/tutorials/centered-layout-thumb.png",
99+
thumbnail: "/public/images/tutorials/blog-with-centered-layout.svg",
100100
shortIntro: "This a demo artile with centered layout and with demo of all the components.",
101101
category: 'layouts'
102102
},
@@ -112,7 +112,7 @@ export const ARTICLES_LIST: iArticle[] = [
112112
date: "August 08 2022",
113113
articleTitle: "How to write your first article",
114114
tags: "demo, first article",
115-
thumbnail: "/public/images/tutorials/centered-layout-thumb.png",
115+
thumbnail: "/public/images/tutorials/how-to-write-first-article.svg",
116116
shortIntro: "This a step by step guide on how to write your first article.",
117117
category: 'tutorial'
118118
},
@@ -128,7 +128,7 @@ export const ARTICLES_LIST: iArticle[] = [
128128
date: "August 09 2022",
129129
articleTitle: "How to Export and deploy on firebase",
130130
tags: "demo, deploy blog",
131-
thumbnail: "/public/images/tutorials/deploy.png",
131+
thumbnail: "/public/images/tutorials/how-to-deploy.svg",
132132
shortIntro: "In this article you will see how to export blog files and what folder to deploy on your hosting.",
133133
category: 'tutorial'
134134
}
@@ -140,7 +140,7 @@ export const ARTICLES_LIST: iArticle[] = [
140140
date: "August 08 2022",
141141
articleTitle: "All Components",
142142
tags: "demo, all components",
143-
thumbnail: "/public/images/tutorials/centered-layout-thumb.png",
143+
thumbnail: "/public/images/tutorials/all-components.svg",
144144
shortIntro: "List of all usable components, its types and how to use it.",
145145
category: 'tutorial'
146146
},
@@ -155,12 +155,27 @@ export const ARTICLES_LIST: iArticle[] = [
155155
date: "August 10 2022",
156156
articleTitle: "Style Guide",
157157
tags: "demo, all components, style guide, styling tutorial",
158-
thumbnail: "/public/images/tutorials/centered-layout-thumb.png",
158+
thumbnail: "/public/images/tutorials/style-guide.svg",
159159
shortIntro: "Styling and theming tutorial.",
160160
category: 'tutorial'
161161
},
162162
seo: {
163163
keywords: "demo, all components, style guide, styling, css, tailwind css, tailwind, webexpe, webexpe.com",
164164
}
165165
},
166+
{
167+
path: '/pages/icons.tsx',
168+
preview: {
169+
author: MAYUR,
170+
date: "August 13 2022",
171+
articleTitle: "How to use icons",
172+
tags: "demo, all components, style guide, styling tutorial, icons, how to use icons in website",
173+
thumbnail: "/public/images/tutorials/how-to-use-icons.svg",
174+
shortIntro: "How to use icons in your blog website.",
175+
category: 'tutorial'
176+
},
177+
seo: {
178+
keywords: "demo, all components, style guide, styling, css, tailwind css, tailwind, webexpe, webexpe.com, styling tutorial, icons, how to use icons in website",
179+
}
180+
},
166181
]

‎next.config.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/** @type {import('next').NextConfig} */
2-
const removeImports = require("next-remove-imports")();
2+
// const removeImports = require("next-remove-imports")();
3+
// experimental: { esmExternals: true }
34
const nextConfig = {
45
reactStrictMode: true,
56
trailingSlash: true,
6-
experimental: { esmExternals: true }
77
}
88

99
module.exports = nextConfig

‎pages/blog/tutorial/how-to-write-your-first-article.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const Article = () => {
3535
Goto <b>/BLOG_CONSTANTS/_ARTICLES_LIST.tsx</b> file. Here we will add details of your article in <b>ARTICLES_LIST</b> array as follows.
3636
</Text>
3737
<CodeBlock code={Article_Entry_inList} className="my-5" />
38-
{/* <Image className="my-5" src="/public/images/tutorials/add-article-in-list.svg" alt="Adding your article details in ARTICLES_LIST | webexpe.com" size={ImageSize.DEFAULT} /> */}
3938
<Text p>
4039
In our article details we have 4 important properties <b>path, featureArticle, preview, and seo</b>.
4140
</Text>

‎pages/index.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import { PageLayout, ArticleHeader, Text, List, Image, LinkTo, Seperator, Slider
44
import ArticleCard from '../src/components/ArticleCards/ArticleCard';
55
import FeaturedArticle from '../src/components/ArticleCards/FeaturedArticle';
66
import { ARTICLES_LIST } from '../BLOG_CONSTANTS/_ARTICLES_LIST';
7+
import { DEFAULT_SEO } from "../BLOG_CONSTANTS/_BLOG_SETUP";
78

89

910
const Home = () => {
1011
return (
11-
<PageLayout home>
12+
<PageLayout home PAGE_SEO={DEFAULT_SEO}>
1213
<section className='w-full md:pt-[100px] md:pb-[70px] pt-[130px] pb-20 mb-10 dark:bg-slate-800 bg-slate-200'>
1314
<div className="container text-center px-3">
1415
<Text title className='text-3xl'>
@@ -21,7 +22,7 @@ const Home = () => {
2122

2223
<div className='flex justify-center mt-5 flex-wrap '>
2324
<a href="https://github.com/nmayur/nextjs-simple-blog-template" target="_blank" rel="noopener noreferrer" className='flex items-center justify-center rounded-md bg-blue-600 px-4 pb-2 text-white hover:text-white shadow-lg hover:shadow-none transition-all mb-3 md:mx-5 mx-2'>
24-
<span className='text-xl pl-2 pt-2 block'>Github</span>
25+
<span className='text-xl pt-2 block'>Github</span>
2526
</a>
2627
<LinkTo href="/about-us" passHref className='flex items-center justify-center rounded-md bg-blue-600 px-4 pb-2 text-white hover:text-white shadow-lg hover:shadow-none transition-all mb-3 md:mx-5 mx-2'>
2728
<span className='text-xl pt-2 block'>About</span>

‎public/images/og-image.jpg‎

197 KB
Loading

0 commit comments

Comments
 (0)