Skip to content

Commit

Permalink
refactor: switchmap-web-homepage (#14)
Browse files Browse the repository at this point in the history
* refactor: switchmap-web-homepage

* refactor: switchmap-web-homepage

* refactor: switchmap-web-homepage
  • Loading branch information
Rukhsarkh authored Jan 23, 2025
1 parent b3be89f commit ae1d9dc
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 172 deletions.
72 changes: 6 additions & 66 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const config: Config = {
title: "Switchmap-NG Web Documentation",
tagline: "Start building your Switchmap-NG project today",
favicon: "img/icons/favicon_palisadoes.ico",

url: "https://docs-admin.switchmap-ng.io",
baseUrl: "/",
deploymentBranch: "gh-pages",

organizationName: "PalisadoesFoundation", // GitHub org
projectName: "switchmap-ng-web", // repo name

Expand Down Expand Up @@ -54,7 +54,7 @@ const config: Config = {
},
},
navbar: {
title: "Switchmap-NG Web Documentation",
title: "Switchmap-NG",
logo: {
alt: "Talawa Logo",
src: "img/icons/favicon_palisadoes.ico",
Expand All @@ -66,11 +66,13 @@ const config: Config = {
sidebarId: "tutorialSidebar",
label: "General",
position: "left",
href: "https://docs.switchmap-ng.io/",
target: "_self",
},
{
label: "Web Guide",
position: "left",
href: "https://docs-web.switchmap-ng.io/",
href: "/docs",
target: "_self",
},
{
Expand All @@ -85,12 +87,6 @@ const config: Config = {
href: "https://docs-api.switchmap-ng.io/",
target: "_self",
},

{
label: "Demo",
position: "left",
href: "http://admin-demo.talawa.io/",
},
{
to: "https://github.com/PalisadoesFoundation",
position: "right",
Expand All @@ -110,62 +106,6 @@ const config: Config = {
disableSwitch: false,
respectPrefersColorScheme: false,
},
footer: {
style: "dark",
links: [
{
title: "Community",
items: [
{
label: " Slack",
to: "https://github.com/PalisadoesFoundation",
className: "footer__icon footer__slack",
},
{
label: " News",
to: "https://www.palisadoes.org/news/",
className: "footer__icon footer__news",
},
{
label: " Contact Us",
to: "https://www.palisadoes.org/contact/",
className: "footer__icon footer__contact",
},
],
},
{
title: "Social Media",
items: [
{
label: " Twitter",
to: "https://twitter.com/palisadoesorg?lang=en",
className: "footer__icon footer__twitter",
},
{
label: " Facebook",
to: "https://www.facebook.com/palisadoesproject/",
className: "footer__icon footer__facebook",
},
{
label: " Instagram",
to: "https://www.instagram.com/palisadoes/?hl=en",
className: "footer__icon footer__instagram",
},
],
},
{
title: "Development",
items: [
{
label: " GitHub",
to: "https://github.com/PalisadoesFoundation",
className: "footer__icon footer__github",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} The Palisadoes Foundation, LLC. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
Expand Down
Loading

0 comments on commit ae1d9dc

Please sign in to comment.