Skip to content

Commit 8181944

Browse files
committed
feat: Add DevFolio - GitHub Profiles
1 parent 88f2f88 commit 8181944

File tree

15 files changed

+4489
-16
lines changed

15 files changed

+4489
-16
lines changed

docusaurus.config.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const config: Config = {
1010
title: "Recode Hive",
1111
tagline: "Dinosaurs are cool",
1212
favicon: "img/favicon.ico",
13-
1413

1514
url: "https://your-docusaurus-site.example.com",
1615
baseUrl: "/",
@@ -24,18 +23,18 @@ const config: Config = {
2423
// Google Analytics and Theme Scripts
2524
scripts: [
2625
{
27-
src: '/instant-theme.js',
26+
src: "/instant-theme.js",
2827
async: false,
2928
},
3029
{
31-
src: 'https://www.googletagmanager.com/gtag/js?id=G-W02Z2VJYCR',
30+
src: "https://www.googletagmanager.com/gtag/js?id=G-W02Z2VJYCR",
3231
async: true,
3332
},
3433
{
35-
src: '/gtag-init.js',
34+
src: "/gtag-init.js",
3635
},
3736
{
38-
src: '/pinterest-init.js',
37+
src: "/pinterest-init.js",
3938
},
4039
],
4140

@@ -46,7 +45,7 @@ const config: Config = {
4645

4746
presets: [
4847
[
49-
'classic',
48+
"classic",
5049
{
5150
docs: {
5251
sidebarPath: require.resolve("./sidebars.ts"),
@@ -69,7 +68,7 @@ const config: Config = {
6968
customCss: require.resolve("./src/css/custom.css"),
7069
},
7170
gtag: {
72-
trackingID: 'G-W02Z2VJYCR',
71+
trackingID: "G-W02Z2VJYCR",
7372
anonymizeIP: false,
7473
},
7574
} satisfies Preset.Options,
@@ -79,14 +78,13 @@ const config: Config = {
7978
themeConfig: {
8079
image: "img/docusaurus-social-card.jpg",
8180
colorMode: {
82-
defaultMode: 'light',
81+
defaultMode: "light",
8382
disableSwitch: false,
8483
respectPrefersColorScheme: false, // Let users manually control theme
8584
},
8685
navbar: {
87-
title:"Recode Hive",
86+
title: "Recode Hive",
8887
logo: {
89-
9088
alt: "RecodeHive Logo",
9189
src: "img/logo.png",
9290
},
@@ -161,12 +159,12 @@ const config: Config = {
161159
items: [
162160
{
163161
label: "💻GitHub Profiles",
164-
to: "https://dev.recodehive.com/devfolio",
162+
to: "/devfolio",
165163
},
166164
{
167165
label: "🎖️ GitHub Badges",
168166
to: "/badges/github-badges/",
169-
},
167+
},
170168
],
171169
},
172170
{
@@ -232,7 +230,7 @@ const config: Config = {
232230
// },
233231
// ],
234232
// },
235-
233+
236234
// {
237235
// href: "https://github.com/codeharborhub/codeharborhub",
238236
// position: "right",
@@ -250,7 +248,7 @@ const config: Config = {
250248
// hideOnScroll: true,
251249
},
252250
footer: {
253-
style: 'dark',
251+
style: "dark",
254252
links: [],
255253
copyright: `Copyright © ${new Date().getFullYear()} recodehive. Built with Docusaurus.`,
256254
},

0 commit comments

Comments
 (0)