Skip to content

Commit

Permalink
Update Home Page
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikmehta8 committed Oct 26, 2024
1 parent 804e8d8 commit e061a17
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 422 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode
48 changes: 23 additions & 25 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { themes as prismThemes } from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'My Site',
tagline: 'Dinosaurs are cool',
title: 'The Orion Framework',
tagline: 'Express on Steroids: The Ultimate Plug-and-Play Backend Architecture',
favicon: 'img/favicon.ico',

// Set the production url of your site here
Expand Down Expand Up @@ -62,9 +62,9 @@ const config = {
({
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'My Site',
title: 'Orion',
logo: {
alt: 'My Site Logo',
alt: 'Orion Logo',
src: 'img/logo.svg',
},
items: [
Expand All @@ -86,52 +86,50 @@ const config = {
style: 'dark',
links: [
{
title: 'Docs',
title: 'Documentation',
items: [
{
label: 'Tutorial',
to: '/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
label: 'Blog',
to: '/blog',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
label: 'GitHub',
href: 'https://github.com/kartikmehta8/orion-docs',
},
],
},
{
title: 'More',
title: 'Meet the Builder',
items: [
{
label: 'Blog',
to: '/blog',
label: 'Website',
href: 'https://mrmehta.in',
},
{
label: 'GitHub',
href: 'https://github.com/kartikmehta8/orion-docs',
label: 'LinkedIn',
href: 'https://www.linkedin.com/in/kartikmehta17',
},
{
label: 'Twitter',
href: 'https://x.com/kartik_mehta8',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} The Orion Framework. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
theme: prismThemes.oneDark,
darkTheme: prismThemes.dracula,
},
}),
stylesheets: [
"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
],
};

export default config;
21 changes: 9 additions & 12 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,29 @@ import styles from './styles.module.css';

const FeatureList = [
{
title: 'Easy to Use',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
title: 'Plug-and-Play Architecture',
Svg: require('@site/static/img/undraw_building_re_xfcm.svg').default,
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
used to get your website up and running quickly.
Designed with a modular architecture, allowing developers to seamlessly manage everything without altering core files.
</>
),
},
{
title: 'Focus on What Matters',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
title: 'Powerful CLI Tool',
Svg: require('@site/static/img/undraw_mind_map_re_nlb6.svg').default,
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
ahead and move your docs into the <code>docs</code> directory.
A CLI that generates routes, controllers, and database configurations, saving time and minimizing manual effort.
</>
),
},
{
title: 'Powered by React',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
title: 'Powered by Express',
Svg: require('@site/static/img/undraw_open_source_-1-qxw.svg').default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
Built on <code>Express.js</code> framework, the project leverages Express&apos;s robust routing, middleware*, and performance capabilities.
</>
),
},
Expand Down
7 changes: 5 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* work well for content-centric websites.
*/

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
Expand All @@ -17,7 +16,6 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
Expand All @@ -28,3 +26,8 @@
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

:root {
--ifm-font-family-base: "Poppins", sans-serif;
--ifm-font-family-heading: "Poppins", sans-serif;
}
3 changes: 1 addition & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function HomepageHeader() {
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
Explore Tutorial
</Link>
</div>
</div>
Expand All @@ -32,7 +32,6 @@ export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<HomepageHeader />
<main>
Expand Down
1 change: 1 addition & 0 deletions static/img/undraw_building_re_xfcm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e061a17

Please sign in to comment.