Skip to content

Commit

Permalink
Feature/ux improvements (#3091)
Browse files Browse the repository at this point in the history
* Modify the style of navbar to match Talawa docs

* Change navbar links to ensure consistency across websites

* Modify navbar and sidebar styles to match Talawa docs

* Remove unnecessary css icon styling to remove external link icon in navbar

* Fix styling bugs when deployed

* Delete unnecessary sections from homepage

* Fix footer text from My Project, Inc. to The Palisadoes Foundation, LLC.

* Ensure responsiveness

* Update homepage with minimal design

* Delete unnecessary styles from custom.css

* Delete unnecessary styles from index.css and update style for markdown pages in customs.css

* Organize index.css for better readability

* Organize custom.css for better readability

* Modify navabar to have active nav link style

* Resolve coderabbitai suggestions

* Resolve coderabbitai suggestions, breakpoints

* Resolve coderabbitai suggestions, breakpoints 2

---------

Co-authored-by: Abhi-MS <[email protected]>
  • Loading branch information
Abhi-MS and Abhi-MS authored Jan 28, 2025
1 parent 33b838a commit 332a957
Show file tree
Hide file tree
Showing 26 changed files with 118 additions and 1,838 deletions.
15 changes: 3 additions & 12 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ const config: Config = {
target: "_self",
},
{
to: "/docs",
activeBasePath: "docs",
label: "API Guide",
position: "left",
href: "/docs",
target: "_self",
},
{
label: "Demo",
Expand All @@ -111,15 +111,6 @@ const config: Config = {
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Docs",
to: "/docs",
},
],
},
{
title: "Community",
items: [
Expand Down Expand Up @@ -171,7 +162,7 @@ const config: Config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} The Palisadoes Foundation, LLC. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
Expand Down
70 changes: 0 additions & 70 deletions docs/src/components/HomepageFeatures/index.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions docs/src/components/HomepageFeatures/styles.module.css

This file was deleted.

41 changes: 0 additions & 41 deletions docs/src/components/animations/_dissectionAnimation.js

This file was deleted.

50 changes: 0 additions & 50 deletions docs/src/components/animations/_headerAnimation.js

This file was deleted.

38 changes: 0 additions & 38 deletions docs/src/components/layout/EightPanel.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions docs/src/components/layout/FifthPanel.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions docs/src/components/layout/FourthPanel.tsx

This file was deleted.

39 changes: 8 additions & 31 deletions docs/src/components/layout/HeaderHero.tsx
Original file line number Diff line number Diff line change
@@ -1,42 +1,19 @@
import React from "react";
import Section from "../../utils/Section";
import TwoColumns from "../../utils/TwoColumns";
import HomeCallToAction from "../../utils/HomeCallToAction";
import useBaseUrl from "@docusaurus/useBaseUrl";


function HeaderHero() {
return (
<Section background="light" className="HeaderHero">
<div className="socialLinks"></div>
<TwoColumns
reverse
columnOne={
<div className="image-container">
<img
className="custom-image bounce-animation"
src={useBaseUrl("img/image-01.png")}
alt="Talawa member management software interface showcase"
loading="lazy"
// srcSet={`${useBaseUrl("img/image-01.png")} 1x, ${useBaseUrl("img/image-01@2x.png")} 2x`}
/>
</div>
}
columnTwo={
<>
<h1 className="title" aria-label="Talawa - Member Management Software">
<span>Talawa</span>
<span className="tagline">Member Management Software</span>
</h1>
<p className="description" aria-label="Target audience description">
For open source projects, charities and other non-profits
</p>
<div className="buttons">
<HomeCallToAction />
</div>
</>
}
/>
<h1 className="title">Talawa</h1>
<h2 className="tagline">API Docs</h2>
<p className="description">
API Backend for Talawa Admin and Talawa Mobile App
</p>
<div className="buttons">
<HomeCallToAction />
</div>
</Section>
);
}
Expand Down
17 changes: 0 additions & 17 deletions docs/src/components/layout/SecondPanel.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions docs/src/components/layout/SeventhPanel.tsx

This file was deleted.

Loading

0 comments on commit 332a957

Please sign in to comment.