@@ -6,8 +6,8 @@ import type * as Preset from '@docusaurus/preset-classic';
6
6
7
7
const config : Config = {
8
8
title : 'Talawa-Admin Documentation' ,
9
- tagline : 'Start your open source journey here ' ,
10
- favicon : 'img/favicon .ico' ,
9
+ tagline : 'Complete guides and references for building with Talawa ' ,
10
+ favicon : 'img/icons/favicon_palisadoes .ico' ,
11
11
12
12
url : 'https://docs-admin.talawa.io' ,
13
13
baseUrl : '/' ,
@@ -45,75 +45,132 @@ const config: Config = {
45
45
] ,
46
46
] ,
47
47
48
- themeConfig : {
49
- // Replace with your project's social card
50
- image : 'img/docusaurus-social-card.jpg' ,
51
- navbar : {
52
- title : 'My Site' ,
53
- logo : {
54
- alt : 'My Site Logo' ,
55
- src : 'img/logo.svg' ,
56
- } ,
57
- items : [
58
- {
59
- type : 'docSidebar' ,
60
- sidebarId : 'tutorialSidebar' ,
61
- position : 'left' ,
62
- label : 'Tutorial' ,
63
- } ,
64
- {
65
- href : 'https://github.com/facebook/docusaurus' ,
66
- label : 'GitHub' ,
67
- position : 'right' ,
68
- } ,
69
- ] ,
70
- } ,
71
- footer : {
72
- style : 'dark' ,
73
- links : [
74
- {
75
- title : 'Docs' ,
76
- items : [
77
- {
78
- label : 'Tutorial' ,
79
- to : '/docs/intro' ,
80
- } ,
81
- ] ,
82
- } ,
83
- {
84
- title : 'Community' ,
85
- items : [
86
- {
87
- label : 'Stack Overflow' ,
88
- href : 'https://stackoverflow.com/questions/tagged/docusaurus' ,
89
- } ,
90
- {
91
- label : 'Discord' ,
92
- href : 'https://discordapp.com/invite/docusaurus' ,
93
- } ,
94
- {
95
- label : 'X' ,
96
- href : 'https://x.com/docusaurus' ,
97
- } ,
98
- ] ,
48
+ themeConfig :
49
+ /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
50
+ {
51
+ docs : {
52
+ sidebar : {
53
+ hideable : false ,
99
54
} ,
100
- {
101
- title : 'More' ,
102
- items : [
103
- {
104
- label : 'GitHub' ,
105
- href : 'https://github.com/facebook/docusaurus' ,
106
- } ,
107
- ] ,
55
+ } ,
56
+ navbar : {
57
+ title : 'Talawa Admin Documentation' ,
58
+ logo : {
59
+ alt : 'Talawa Logo' ,
60
+ src : 'img/icons/favicon_palisadoes.ico' ,
61
+ className : 'LogoAnimation' ,
108
62
} ,
109
- ] ,
110
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } My Project, Inc. Built with Docusaurus.` ,
111
- } ,
112
- prism : {
113
- theme : prismThemes . github ,
114
- darkTheme : prismThemes . dracula ,
63
+ items : [
64
+ {
65
+ type : 'docSidebar' ,
66
+ sidebarId : 'tutorialSidebar' ,
67
+ label : 'General' ,
68
+ position : 'left' ,
69
+ } ,
70
+ {
71
+ label : 'Mobile Guide' ,
72
+ position : 'left' ,
73
+ href : 'https://docs-mobile.talawa.io/' ,
74
+ target : '_self' ,
75
+ } ,
76
+ {
77
+ label : 'Admin Guide' ,
78
+ position : 'left' ,
79
+ href : 'https://docs-admin.talawa.io/' ,
80
+ target : '_self' ,
81
+ } ,
82
+ {
83
+ label : 'API Guide' ,
84
+ position : 'left' ,
85
+ href : 'https://docs-api.talawa.io/' ,
86
+ target : '_self' ,
87
+ } ,
88
+
89
+ {
90
+ label : 'Demo' ,
91
+ position : 'left' ,
92
+ href : 'http://admin-demo.talawa.io/' ,
93
+ } ,
94
+ {
95
+ to : 'https://github.com/PalisadoesFoundation' ,
96
+ position : 'right' ,
97
+ className : 'header-github-link' ,
98
+ 'aria-label' : 'GitHub repository' ,
99
+ } ,
100
+ {
101
+ to : 'https://www.youtube.com/@PalisadoesOrganization' ,
102
+ position : 'right' ,
103
+ className : 'header-youtube-link' ,
104
+ 'aria-label' : 'Palisadoes Youtube channel' ,
105
+ } ,
106
+ ] ,
107
+ } ,
108
+ colorMode : {
109
+ defaultMode : 'light' ,
110
+ disableSwitch : false ,
111
+ respectPrefersColorScheme : false ,
112
+ } ,
113
+ footer : {
114
+ style : 'dark' ,
115
+ links : [
116
+ {
117
+ title : 'Community' ,
118
+ items : [
119
+ {
120
+ label : ' Slack' ,
121
+ to : 'https://github.com/PalisadoesFoundation' ,
122
+ className : 'footer__icon footer__slack' ,
123
+ } ,
124
+ {
125
+ label : ' News' ,
126
+ to : 'https://www.palisadoes.org/news/' ,
127
+ className : 'footer__icon footer__news' ,
128
+ } ,
129
+ {
130
+ label : ' Contact Us' ,
131
+ to : 'https://www.palisadoes.org/contact/' ,
132
+ className : 'footer__icon footer__contact' ,
133
+ } ,
134
+ ] ,
135
+ } ,
136
+ {
137
+ title : 'Social Media' ,
138
+ items : [
139
+ {
140
+ label : ' Twitter' ,
141
+ to : 'https://twitter.com/palisadoesorg?lang=en' ,
142
+ className : 'footer__icon footer__twitter' ,
143
+ } ,
144
+ {
145
+ label : ' Facebook' ,
146
+ to : 'https://www.facebook.com/palisadoesproject/' ,
147
+ className : 'footer__icon footer__facebook' ,
148
+ } ,
149
+ {
150
+ label : ' Instagram' ,
151
+ to : 'https://www.instagram.com/palisadoes/?hl=en' ,
152
+ className : 'footer__icon footer__instagram' ,
153
+ } ,
154
+ ] ,
155
+ } ,
156
+ {
157
+ title : 'Development' ,
158
+ items : [
159
+ {
160
+ label : ' GitHub' ,
161
+ to : 'https://github.com/PalisadoesFoundation' ,
162
+ className : 'footer__icon footer__github' ,
163
+ } ,
164
+ ] ,
165
+ } ,
166
+ ] ,
167
+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } The Palisadoes Foundation, LLC. Built with Docusaurus.` ,
168
+ } ,
169
+ prism : {
170
+ theme : prismThemes . github ,
171
+ darkTheme : prismThemes . dracula ,
172
+ } ,
115
173
} ,
116
- } satisfies Preset . ThemeConfig ,
117
174
} ;
118
175
119
176
export default config ;
0 commit comments