Skip to content

Commit

Permalink
feat: remove categories link pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Feb 17, 2024
1 parent 6ba2e93 commit 2f223f1
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 59 deletions.
6 changes: 1 addition & 5 deletions docs/architecture-concepts/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "Architecture Concepts",
"position": 3,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/architecture-concepts",
"description": "Understand how Athenna Framework works under the hood."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/cli-application/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "CLI Application",
"position": 7,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/cli-application",
"description": "Understand how the Athenna CLI application works."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/database/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "Database",
"position": 8,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/database",
"description": "See how to use the Athenna database component."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/digging-deeper/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "Digging Deeper",
"position": 5,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/digging-deeper",
"description": "Digging deeper into Athenna Framework."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/getting-started/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "Getting Started",
"position": 2,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/getting-started",
"description": "Get started with Athenna Framework."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/orm/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "ORM",
"position": 9,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/orm",
"description": "See how to configure a model in Athenna Framework."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/rest-api-application/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "REST API Application",
"position": 6,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/rest-api-application",
"description": "Understand how the Athenna REST API application works."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/testing/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "Testing",
"position": 10,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/testing",
"description": "Understand how to create efficient tests in any Athenna application."
}
"link": null
}
6 changes: 1 addition & 5 deletions docs/the-basics/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"label": "The Basics",
"position": 4,
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "/the-basics",
"description": "Get to know the basic Athenna Framework functionalities."
}
"link": null
}
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ const config = {
position: 'right',
html: '<i class="fa-brands fa-discord"></i>',
},
{
href: 'https://twitter.com/athennaio',
'aria-label': 'Twitter',
className: 'navbar__icon navbar__twitter',
position: 'right',
html: '<i class="fa-brands fa-x-twitter"></i>',
},
],
},
prism: {
Expand Down
8 changes: 8 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@
}

@media (min-width: 640px) {
.heroBanner {
padding: 10rem 5rem;
}

.imageSrc {
max-width: 256px;
max-height: 256px;
Expand Down Expand Up @@ -189,6 +193,10 @@
}

@media (min-width: 960px) {
.heroBanner {
padding: 10rem 5rem;
}

.container {
flex-direction: row;
}
Expand Down
22 changes: 10 additions & 12 deletions static/css/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,31 @@
.navbar__icon {
height: 2rem;
width: 2rem;
}

.navbar__github {
-webkit-tap-highlight-color: transparent;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 1.29rem;
transition: background var(--ifm-transition-fast);
}

.navbar__github {
font-size: 1.29rem;
}

.navbar__discord {
-webkit-tap-highlight-color: transparent;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 1.24rem;
transition: background var(--ifm-transition-fast);
}

html[data-theme='light'] .navbar__github .navbar__discord {
.navbar__twitter {
font-size: 1.24rem;
}

html[data-theme='light'] .navbar__github .navbar__discord .navbar__twitter {
color: #000;
}

html[data-theme='dark'] .navbar__github .navbar__discord {
html[data-theme='dark'] .navbar__github .navbar__discord .navbar__twitter {
color: #fff;
}

Expand Down
2 changes: 1 addition & 1 deletion static/css/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

@media (min-width: 997px) {
article > .markdown {
max-width: 78% !important;
max-width: 100% !important;
font-size: 16px !important;
margin-left: auto !important;
margin-right: auto !important;
Expand Down
6 changes: 5 additions & 1 deletion static/css/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@

.menu__link {
padding: 10px !important;
}
}

.menu__link--sublist-caret:after {
background: none;
}

0 comments on commit 2f223f1

Please sign in to comment.