Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 12 additions & 5 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const config: Config = {
},
},
navbar: {
hideOnScroll: true,
hideOnScroll: false,
title: 'LearnHub',
logo: {
alt: 'My Site Logo',
Expand Down Expand Up @@ -123,6 +123,11 @@ const config: Config = {
},
footer: {
style: 'dark',
logo: {
alt: 'LearnHub Logo',
src: 'img/learnhub.png',
href: '/',
},
links: [
{
title: 'Docs',
Expand All @@ -131,15 +136,15 @@ const config: Config = {
label: 'Tutorial',
to: '/docs/intro',
},
{ label: 'API Reference', to: '/docs/api' },
],
},
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/YmSKSDfH',
},
{ label: 'Discord', href: 'https://discord.gg/YmSKSDfH' },
{ label: 'Twitter', href: 'https://twitter.com/learnhub' },
{ label: 'LinkedIn', href: 'https://linkedin.com/company/learnhub' },
],
},
{
Expand All @@ -153,9 +158,11 @@ const config: Config = {
label: 'GitHub',
href: 'https://github.com/souvikpramanikgit/LearnHub',
},
{ label: 'Contact Us', to: '/contact' },
],
},
],

copyright: `Copyright © ${new Date().getFullYear()} LearnHub. Built with Docusaurus.`,
},
prism: {
Expand Down
35 changes: 35 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,38 @@
html {
scroll-behavior: smooth;
}

.footer {
padding: 3rem 2rem;
background: #121212;
color: #eaeaea;
}

.footer__title {
font-size: 1rem;
font-weight: 600;
color: #ffffff;
margin-bottom: 0.8rem;
}

.footer__items a {
color: #bbb;
transition: color 0.3s ease;
}
.footer__items a:hover {
color: #2e8555;
}

.footer__bottom {
margin-top: 2rem;
border-top: 1px solid #333;
padding-top: 1rem;
text-align: center;
font-size: 0.85rem;
color: #aaa;
}
.footer__logo {
max-width: 50px;
height: auto;
margin-bottom: 0.2rem;
}