Skip to content

Commit be9727f

Browse files
committed
draft changes on sidebar + home page
1 parent 4e7cb32 commit be9727f

File tree

7 files changed

+242
-22
lines changed

7 files changed

+242
-22
lines changed

docs/index.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ custom_edit_url: null
44
showLastUpdateTime: false
55
hide_title: true
66
slug: /
7-
hide_table_of_contents: true
7+
hide_table_of_contents: false
88
---
99

1010
import InfoCard from '@site/src/components/InfoCard';
@@ -20,17 +20,21 @@ import BranchIcon from '@site/static/icons/branch_New.png';
2020

2121

2222

23-
<FlutterFlowLogo></FlutterFlowLogo>
2423

25-
# Visual Development Environment
26-
FlutterFlow is a visual development environment that lets you build mobile, web, and desktop apps incredibly fast, without sacrificing quality or features.
24+
# Getting started with FlutterFlow
25+
FlutterFlow is a visual development environment that lets you build mobile, web, and desktop apps incredibly fast, without sacrificing on app quality or features.
2726

2827
<div class="video-container small"><iframe src="https://www.youtube.com/embed/gYOrgBrX4jM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
2928

3029
<InfoCards>
3130
<InfoCard title="Before You Begin" description="Ensure you meet system requirements and grasp technical concepts for smooth building in FlutterFlow." pagePath="/before-you-begin/setup-flutterflow" />
32-
<InfoCard title="Explore FlutterFlow" description="Dive into the building blocks of the platform: projects, widgets, functions and more." pagePath="/resources"/>
33-
<InfoCard title="Start Building" description="Jump right into a quick start on how to build a simple app." pagePath="/quickstart"/>
31+
<InfoCard title="Explore FlutterFlow" description="Dive into the building blocks of the platform: projects, widgets, functions and more." pagePath="/resources"/>
32+
33+
34+
</InfoCards>
35+
36+
37+
<InfoCards>
3438
<InfoCard title="What's New in FlutterFlow" description="Updates, features, and the latest enhancements in FlutterFlow." pagePath="https://community.flutterflow.io/c/whats-new-in-flutterflow"/>
3539
<InfoCard title="Community Forum" description="Join discussions, ask questions, and share insights with the FlutterFlow community." pagePath="https://community.flutterflow.io"/>
3640
<InfoCard title="Submit Bug Report" description="Encountered a bug in FlutterFlow? Help us improve by submitting a bug report." pagePath="/misc/submit-bug-report" />

docusaurus.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ const config: Config = {
2525
'classic',
2626
{
2727
docs: {
28-
breadcrumbs: false,
28+
breadcrumbs: true,
2929
routeBasePath: '/',
3030
sidebarPath: './sidebars.ts',
3131
editUrl: 'https://github.com/FlutterFlow/flutterflow-documentation/edit/main/',
3232
showLastUpdateAuthor: true,
3333
showLastUpdateTime: true,
3434
exclude: ['docs/index.md'],
35+
sidebarCollapsible: true, /* Keep sidebar expanded by default */
36+
sidebarCollapsed: true, /* Start with sidebar expanded */
3537
// lastVersion: 'current',
3638
// versions: {
3739
// current: {

sidebars.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const sidebars: SidebarsConfig = {
1616
{
1717
type: 'category',
1818
label: 'Before You Begin',
19-
collapsed: true,
19+
collapsed: false,
2020
items: [
2121
{
2222
type: 'autogenerated',
@@ -27,7 +27,7 @@ const sidebars: SidebarsConfig = {
2727
{
2828
type: 'category',
2929
label: 'FlutterFlow Platform',
30-
collapsed: true,
30+
collapsed: false,
3131
items: [
3232
{
3333
type: 'autogenerated',
@@ -38,7 +38,7 @@ const sidebars: SidebarsConfig = {
3838
{
3939
type: 'category',
4040
label: 'Resources',
41-
collapsed: true,
41+
collapsed: false,
4242
link: {
4343
type: 'generated-index',
4444
title: 'FlutterFlow Resources',
@@ -56,7 +56,7 @@ const sidebars: SidebarsConfig = {
5656
{
5757
type: 'category',
5858
label: 'Building Concepts',
59-
collapsed: true,
59+
collapsed: false,
6060
link: {
6161
type: 'generated-index',
6262
title: 'Key Concepts',
@@ -74,7 +74,7 @@ const sidebars: SidebarsConfig = {
7474
{
7575
type: 'category',
7676
label: 'Testing & Publishing',
77-
collapsed: true,
77+
collapsed: false,
7878
items: [
7979
{
8080
type: 'autogenerated',
@@ -85,7 +85,7 @@ const sidebars: SidebarsConfig = {
8585
{
8686
type: 'category',
8787
label: 'Integrations',
88-
collapsed: true,
88+
collapsed: false,
8989
link: {
9090
type: 'generated-index',
9191
title: 'Third Party Integrations',
@@ -103,7 +103,7 @@ const sidebars: SidebarsConfig = {
103103
{
104104
type: 'category',
105105
label: 'Generated Code',
106-
collapsed: true,
106+
collapsed: false,
107107
items: [
108108
{
109109
type: 'autogenerated',
@@ -114,7 +114,7 @@ const sidebars: SidebarsConfig = {
114114
{
115115
type: 'category',
116116
label: 'Accounts & Billing',
117-
collapsed: true,
117+
collapsed: false,
118118
items: [
119119
{
120120
type: 'autogenerated',
@@ -125,7 +125,7 @@ const sidebars: SidebarsConfig = {
125125
{
126126
type: 'category',
127127
label: 'Miscellaneous',
128-
collapsed: true,
128+
collapsed: false,
129129
items: [
130130
{
131131
type: 'autogenerated',

src/components/InfoCard/index.module.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.infoCard {
2-
border: 1px solid var(--ifm-color-emphasis-200);
2+
border: 1px solid var(--ifm-color-emphasis-100);
33
border-radius: 8px;
44
padding: 24px;
55
transition: all 0.3s ease;
66
box-sizing: border-box;
7-
background: var(--ifm-background-color);
7+
background: var(--custom-background-light);
88
cursor: pointer;
99
height: 100%;
1010
display: flex;
@@ -42,6 +42,11 @@
4242
}
4343
}
4444

45+
/* Dark mode background */
46+
[data-theme='dark'] .infoCard {
47+
background: var(--custom-background-dark);
48+
}
49+
4550
.infoCardIcon {
4651
font-size: 24px;
4752
margin-right: 12px;

0 commit comments

Comments
 (0)