Skip to content

Commit 08e6d4b

Browse files
committed
Fix:HOMEpage Mobile Issue bug fixed
1 parent 0a582a7 commit 08e6d4b

File tree

10 files changed

+853
-26
lines changed

10 files changed

+853
-26
lines changed

.env.development

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
EMAILJS_SERVER_ID=service_sedddrb
2+
EMAILJS_TEMPLATE_ID=template_2w42djr
3+
EMAILJS_PUBLIC_KEY=6_tNcp-iBTQ09T2Ql

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
EMAILJS_SERVER_ID=service_sedddrb
2+
EMAILJS_TEMPLATE_ID=template_2w42djr
3+
EMAILJS_PUBLIC_KEY=6_tNcp-iBTQ09T2Ql

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# Misc
1212
.DS_Store
13+
.env
1314
.env.local
1415
.env.development.local
1516
.env.test.local

babel.config.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
3+
env: {
4+
production: {
5+
plugins: [
6+
[
7+
"inline-dotenv",
8+
{
9+
path: ".env.production",
10+
},
11+
],
12+
],
13+
},
14+
development: {
15+
plugins: [
16+
[
17+
"inline-dotenv",
18+
{
19+
path: ".env.development",
20+
},
21+
],
22+
],
23+
},
24+
},
325
};

docusaurus.config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// @ts-check
1+
// @ts-nocheck
22
// Note: type annotations allow type checking and IDEs autocompletion
33
// const CurrentStyle = require("./src/utils/CurrentStyle");
4+
const { webpackPlugin } = require("./plugins/webpack-plugin.cjs");
45
const lightCodeTheme = require("prism-react-renderer/themes/github");
56
// const darkCodeTheme = require("prism-react-renderer/themes/dracula");
67
// const Embed = require("./plugins/remark/embed");
@@ -23,6 +24,9 @@ const customFields = {
2324
supportUrl: "https://appseed.us/support/",
2425
blogUrl: "https://blog.appseed.us",
2526
homeUrl: "https://appseed.us",
27+
EMAILJS_SERVER_ID: process.env.EMAILJS_SERVER_ID,
28+
EMAILJS_TEMPLATE_ID: process.env.EMAILJS_TEMPLATE_ID,
29+
EMAILJS_PUBLIC_KEY: process.env.EMAILJS_PUBLIC_KEY,
2630
};
2731

2832
/** @type {import('@docusaurus/types').Config} */
@@ -63,6 +67,7 @@ const config = {
6367
},
6468
};
6569
},
70+
webpackPlugin,
6671
],
6772
presets: [
6873
[
@@ -94,6 +99,7 @@ const config = {
9499
],
95100
],
96101
customFields: { ...customFields },
102+
97103
themeConfig:
98104
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
99105
({
@@ -196,11 +202,11 @@ const config = {
196202
{
197203
label: "Dashboards",
198204
to: "products/django-dashboards",
199-
},
205+
},
200206
{
201207
label: "API Servers",
202208
to: "boilerplate-code/api-server",
203-
},
209+
},
204210
],
205211
},
206212
{
@@ -209,7 +215,7 @@ const config = {
209215
{
210216
label: "Support",
211217
href: customFields.supportUrl,
212-
},
218+
},
213219
{
214220
label: "Discord",
215221
href: customFields.discordUrl,

0 commit comments

Comments
 (0)