Skip to content

Commit c01839d

Browse files
committed
Adjusted website styles
1 parent e7ef16f commit c01839d

39 files changed

+97
-177
lines changed

website/docs/index.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ description: Welcome to FireCMS, the open source headless CMS and admin panel ex
1515
:::
1616

1717

18-
FireCMS uses [Firebase](https://firebase.google.com/) as a **backend**. You are
18+
FireCMS uses [Firebase](https://firebase.google.com/) or MongoDB Atlas as a **backend**. You are
1919
the **owner** of your Firebase project, and FireCMS is a tool that helps you build your
2020
admin panel on top of it. FireCMS provides all the editing options you lack in a simple Firebase project.
2121

22+
FireCMS creates CRUD views based on your configurations with ease. It's simple to set up for common cases and just
23+
as easy to extend and customize to fit your specific needs.
24+
25+
FireCMS imposes no data structure restrictions, allowing seamless integration with any project right from the start.
26+
2227
FireCMS 3.0 is the latest version of FireCMS.
2328
It can be used in different ways:
2429
- As a managed service in the Cloud: [FireCMS Cloud](https://app.firecms.co). In this version you can create and manage

website/src/css/custom.css

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ h5 {
2121
}
2222

2323
h6 {
24-
@apply text-xl font-headers font-medium
24+
@apply text-xl font-headers font-normal
2525
}
2626

27-
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
27+
h1, .h1, h2, .h2, h3, .h3 {
2828
font-weight: 600 !important;
2929
}
30-
30+
.footer__title {
31+
font-size: 1.25rem;
32+
font-weight: 600;
33+
}
3134
tr {
3235
border-top: none;
3336
}
@@ -82,7 +85,6 @@ tr {
8285
}
8386

8487
.gradient-text {
85-
font-weight: 500;
8688
width: fit-content;
8789
color: transparent;
8890
background-clip: text;
@@ -161,12 +163,18 @@ tr {
161163
--ifm-color-primary-lightest: #3e97ff;
162164
--ifm-code-font-size: 95%;
163165
--ifm-font-weight-bold: 600;
164-
--ifm-h1-font-size: 4rem;
165166
/*--ifm-list-left-padding: 0rem;*/
166167
--ifm-custom-navbar-background-color: rgba(48, 49, 55, 0.33);
167168
--ifm-border-color: rgba(100, 116, 139, 0.4);
168169
--ifm-background-color: white;
169170

171+
--ifm-h1-font-size: 3.75rem;
172+
--ifm-h2-font-size: 3rem;
173+
--ifm-h3-font-size: 2.25rem;
174+
--ifm-h4-font-size: 1.875rem;
175+
--ifm-h5-font-size: 1.5rem;
176+
--ifm-h6-font-size: 1.25rem;
177+
170178
--ifm-z-index-fixed: 20;
171179

172180
--ifm-toc-border-color: var(--ifm-border-color);
@@ -272,6 +280,14 @@ article blockquote {
272280
margin-bottom: 16px;
273281
}
274282

283+
.theme-admonition {
284+
--ifm-h5-font-size: 0.875rem;
285+
}
286+
.pagination-nav__link {
287+
--ifm-h5-font-size: 0.875rem;
288+
--ifm-h4-font-size: 1rem;
289+
}
290+
275291
.sidebarViewport_node_modules-\@docusaurus-theme-classic-lib-theme-DocPage-Layout-Sidebar-styles-module {
276292
background-color: var(--ifm-background-color);
277293
border: none;
@@ -356,10 +372,6 @@ a.btn {
356372
text-decoration: none;
357373
}
358374

359-
h1, h2, h3 {
360-
font-weight: 500;
361-
}
362-
363375
h2 {
364376
margin-top: 2rem;
365377
}
@@ -501,6 +513,10 @@ html[data-theme="dark"] {
501513
top: calc(var(--ifm-navbar-height) + 36px) !important;
502514
}
503515

516+
.markdown h1:first-child {
517+
--ifm-h1-font-size: 3rem;
518+
}
519+
504520
.markdown > h1 {
505521
margin-top: 6rem;
506522
}

website/src/neat_colors.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

website/src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ function Home() {
6161

6262
<TechSplash/>
6363

64-
<FeaturesPanels/>
65-
6664
<ImportDataIntro/>
6765

66+
<FeaturesPanels/>
67+
6868
<UsageExamples/>
6969

7070
<FirebaseTeaser/>

website/src/pages/openai.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ function DataEnhancement() {
2222
<DataEnhancementUseCases/>
2323
<DataStructure/>
2424
<AutofillFeature/>
25-
<BatchProcessing/>
2625
<Translations/>
2726
{/*<CustomizationOptions />*/}
2827
{/*<Testimonials />*/}

website/src/pages/pro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function ProPage() {
6161
<ProDeveloperFeatures/>
6262

6363
<Panel color={"gray"} includePadding={true} innerClassName={"flex flex-col items-center"}>
64-
<h2 className={"h2 mb-3 uppercase font-mono text-center mx-auto"}>
64+
<h2 className={"mb-3 uppercase font-mono text-center mx-auto"}>
6565
LEARN MORE ABOUT FIRECMS PRO
6666
</h2>
6767
<HeroProButtons/>

website/src/partials/data_enhancement/AutofillFeature.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function AutofillFeature() {
3939

4040
</>}
4141
right={<>
42-
<h2 className={"h2 gradient-text uppercase"}>
42+
<h2 className={"gradient-text uppercase"}>
4343
Fill in Details for Nike Air Max
4444
</h2>
4545
<p className="text-xl">

website/src/partials/data_enhancement/BatchProcessing.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

website/src/partials/data_enhancement/DataEnhancementHero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export function DataEnhancementHero() {
2222
left={
2323
<div>
2424

25-
<h1 className="text-4xl tracking-tight font-extrabold md:text-6xl">
25+
<h2 className="text-4xl tracking-tight font-extrabold md:text-6xl">
2626
<span className="block">ChatGPT</span>
2727
<span
2828
className="block text-primary">Integration</span>
29-
</h1>
29+
</h2>
3030
<div className="mt-3 text-xl sm:mt-4 md:text-2xl">
3131
<p>
3232
Discover the power of FireCMS with ChatGPT integration,

website/src/partials/data_enhancement/DataEnhancementUseCases.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ import { Panel } from "../general/Panel";
33

44
export function DataEnhancementUseCases() {
55
return <Panel color={"primary"}>
6-
<h2 className="h1 my-1 text-white uppercase font-mono">
6+
<h2 className="my-1 text-white uppercase font-mono">
77
The world has changed.
88
</h2>
9-
<h2 className="h1 my-1 text-white uppercase font-mono">
9+
<h2 className="my-1 text-white uppercase font-mono">
1010
Your CMS should too.
1111
</h2>
12-
{/*<h2 className="h1 my-1 text-white uppercase">*/}
12+
{/*<h2 className="my-1 text-white uppercase">*/}
1313
{/* Generate content ideas...*/}
1414
{/*</h2>*/}
15-
{/*<h2 className="h1 my-1 text-white uppercase">*/}
15+
{/*<h2 className="my-1 text-white uppercase">*/}
1616
{/* OR Translate your documents...*/}
1717
{/*</h2>*/}
18-
{/*<h2 className="h1 my-1 text-white uppercase">*/}
18+
{/*<h2 className="my-1 text-white uppercase">*/}
1919
{/* OR Create SEO-friendly titles...*/}
2020
{/*</h2>*/}
21-
{/*<h2 className="h1 my-1 text-white uppercase">*/}
21+
{/*<h2 className="my-1 text-white uppercase">*/}
2222
{/* ...OR every other use case you can think of*/}
2323
{/*</h2>*/}
2424
</Panel>;

website/src/partials/data_enhancement/DataStructure.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function DataStructure() {
1616
return (
1717

1818
<Panel color={"secondary"}>
19-
<h2 className="h2 mb-4">
19+
<h2 className="mb-4">
2020
Harness AI for Your Structured Data
2121
</h2>
2222
<p className="text-2xl">

website/src/partials/enterprise/EnterpriseArchitectures.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export function EnterpriseArchitectures() {
99
<>
1010

1111
<Panel color={"secondary"} centered={true}>
12-
<h4 className="h1 mb-4 uppercase">
12+
<h2 className="mb-4 uppercase">
1313
Open source is the path to success
14-
</h4>
14+
</h2>
1515
</Panel>
1616

1717
<Panel color={"light"} includePadding={false}>

website/src/partials/enterprise/EnterpriseFeatures.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function EnterpriseFeatures() {
1515
<Panel color={"white"}>
1616
<div className={"flex items-center my-4 "}>
1717

18-
<h2 className={"h2 m-0"}>Not just a CMS</h2>
18+
<h2 className={"m-0"}>Not just a CMS</h2>
1919

2020
</div>
2121

@@ -88,7 +88,7 @@ export function EnterpriseFeatures() {
8888

8989
<div className={"flex items-center my-4 mb-3 "}>
9090

91-
<h2 className={"h2 m-0"}>Why Choose FireCMS?</h2>
91+
<h2 className={"m-0"}>Why Choose FireCMS?</h2>
9292

9393
</div>
9494

website/src/partials/features/DeveloperFeatures.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function DeveloperFeatures() {
7474

7575
<div
7676
className={"flex items-center mb-3"}>
77-
<h3 className="h2 m-0">
77+
<h3 className="m-0">
7878
Easy schema definition
7979
</h3>
8080

@@ -87,9 +87,9 @@ export function DeveloperFeatures() {
8787
</p>
8888

8989
<p className="text-xl md:text-2xl ">
90-
Use advanced features like conditional logic
90+
Integrate your own conditional logic
9191
for your fields, references to other
92-
collections, markdown or file uploads
92+
collections, markdown, file uploads, and dozens of other features.
9393
</p>
9494

9595
</>}/>
@@ -104,7 +104,7 @@ export function DeveloperFeatures() {
104104
<div>
105105
<div className={"flex items-center mb-3"}>
106106

107-
<h3 className="h2 m-0">
107+
<h3 className="m-0">
108108
Built for every project
109109
</h3>
110110

website/src/partials/features/Features.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function Features() {
5353
className={"mx-auto md:col-span-9 md:pr-8 flex justify-center flex-col h-full mb-16"}>
5454
<div className={"flex items-center mb-3"}>
5555

56-
<h3 className="h2 m-0 gradient-text uppercase">
56+
<h3 className="m-0 gradient-text uppercase">
5757
Inline editing
5858
</h3>
5959

@@ -95,7 +95,7 @@ function Features() {
9595

9696
<div className={"flex items-center mb-3 "}>
9797

98-
<h3 className="h2 m-0 gradient-text uppercase">
98+
<h3 className="m-0 gradient-text uppercase">
9999
Dedicated form view
100100
</h3>
101101

@@ -168,7 +168,7 @@ function Features() {
168168
<div
169169
className={"flex items-center mb-3"}>
170170

171-
<h3 className="h2 m-0 gradient-text uppercase">
171+
<h3 className="m-0 gradient-text uppercase">
172172
Easy to customise
173173
</h3>
174174

website/src/partials/features/FormInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Panel } from "../general/Panel";
33

44
export function FormInfo() {
55
return <Panel color={"light"}>
6-
<h2 className={"h2 mb-3 uppercase font-mono"}>Create your custom fields</h2>
6+
<h3 className={"mb-3 uppercase font-mono"}>Create your custom fields</h3>
77
<p className="text-xl md:text-2xl">
88
FireCMS provides around <b>20 default fields</b> which should suffice for most business logic. These fields
99
range from simple text fields or selects to more complex ones like file uploaders, date pickers, or

website/src/partials/features/OpenAITeaser.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ function OpenAITeaser() {
3232
<MagicIcon/>
3333
</div>
3434

35-
<h1 className="h1 m-0">
35+
<h2 className="m-0">
3636
<span>ChatGPT </span>
3737
<span
3838
className="text-primary">Integration</span>
39-
</h1>
39+
</h2>
4040
</div>
4141

4242
<div className="mt-3 text-xl sm:mt-4 md:text-2xl">

website/src/partials/features/RealTime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function RealTime() {
2424
<LightingIcon height={12} width={12}/>
2525
</div>
2626

27-
<h3 className="h2 m-0">
27+
<h3 className="m-0">
2828
Real-time updates
2929
</h3>
3030

website/src/partials/features/SchemaEditorIntro.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export const SchemaEditorIntro = () => {
2323
" flex flex-col py-20")}>
2424

2525
<div className={"relative max-w-6xl mx-auto"}>
26-
<h2 className="h2 mb-4 uppercase font-mono">
26+
<h3 className="mb-4 uppercase font-mono">
2727
The best data schema editor
28-
</h2>
28+
</h3>
2929

3030
<div className={"mt-4 mx-auto text-xl pb-20"}>
3131
<p>

0 commit comments

Comments
 (0)