Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/UI ux update #3495

Merged
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 60 additions & 3 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const config: Config = {
title: 'Talawa',
logo: {
alt: 'Talawa Logo',
src: 'img/icons/favicon_palisadoes.ico',
src: 'img/icons/logo.png',
href: 'https://docs.talawa.io/',
className: 'LogoAnimation',
},
items: [
Expand All @@ -79,10 +80,10 @@ const config: Config = {
target: '_self',
},
{
to: '/docs',
activeBasePath: 'docs',
label: 'Admin Guide',
position: 'left',
href: '/docs',
target: '_self',
},
{
label: 'API Guide',
Expand Down Expand Up @@ -110,6 +111,62 @@ const config: Config = {
},
],
},
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.`,
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
Expand Down
24 changes: 24 additions & 0 deletions docs/src/components/layout/HeaderHero.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import Section from '../../utils/Section';
import HomeCallToAction from '../../utils/HomeCallToAction';

function HeaderHero() {
return (

Check warning on line 6 in docs/src/components/layout/HeaderHero.tsx

View check run for this annotation

Codecov / codecov/patch

docs/src/components/layout/HeaderHero.tsx#L6

Added line #L6 was not covered by tests
<Section background="light" className="HeaderHero" role="banner">
<h1 className="title" id="main-title">
Talawa
</h1>
<h2 className="tagline" aria-describedby="main-title">
Admin Docs
</h2>
<p className="description">
Web based administrative dashboard for the Talawa mobile app
</p>
<div className="buttons" role="navigation" aria-label="Quick links">
<HomeCallToAction />
</div>
</Section>
);
}
Abhi-MS marked this conversation as resolved.
Show resolved Hide resolved

export default HeaderHero;
Loading
Loading