Skip to content

Commit

Permalink
Adjusted website styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fgatti675 committed Dec 13, 2024
1 parent e7ef16f commit c01839d
Show file tree
Hide file tree
Showing 39 changed files with 97 additions and 177 deletions.
7 changes: 6 additions & 1 deletion website/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ description: Welcome to FireCMS, the open source headless CMS and admin panel ex
:::


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

FireCMS creates CRUD views based on your configurations with ease. It's simple to set up for common cases and just
as easy to extend and customize to fit your specific needs.

FireCMS imposes no data structure restrictions, allowing seamless integration with any project right from the start.

FireCMS 3.0 is the latest version of FireCMS.
It can be used in different ways:
- As a managed service in the Cloud: [FireCMS Cloud](https://app.firecms.co). In this version you can create and manage
Expand Down
34 changes: 25 additions & 9 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ h5 {
}

h6 {
@apply text-xl font-headers font-medium
@apply text-xl font-headers font-normal
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
h1, .h1, h2, .h2, h3, .h3 {
font-weight: 600 !important;
}

.footer__title {
font-size: 1.25rem;
font-weight: 600;
}
tr {
border-top: none;
}
Expand Down Expand Up @@ -82,7 +85,6 @@ tr {
}

.gradient-text {
font-weight: 500;
width: fit-content;
color: transparent;
background-clip: text;
Expand Down Expand Up @@ -161,12 +163,18 @@ tr {
--ifm-color-primary-lightest: #3e97ff;
--ifm-code-font-size: 95%;
--ifm-font-weight-bold: 600;
--ifm-h1-font-size: 4rem;
/*--ifm-list-left-padding: 0rem;*/
--ifm-custom-navbar-background-color: rgba(48, 49, 55, 0.33);
--ifm-border-color: rgba(100, 116, 139, 0.4);
--ifm-background-color: white;

--ifm-h1-font-size: 3.75rem;
--ifm-h2-font-size: 3rem;
--ifm-h3-font-size: 2.25rem;
--ifm-h4-font-size: 1.875rem;
--ifm-h5-font-size: 1.5rem;
--ifm-h6-font-size: 1.25rem;

--ifm-z-index-fixed: 20;

--ifm-toc-border-color: var(--ifm-border-color);
Expand Down Expand Up @@ -272,6 +280,14 @@ article blockquote {
margin-bottom: 16px;
}

.theme-admonition {
--ifm-h5-font-size: 0.875rem;
}
.pagination-nav__link {
--ifm-h5-font-size: 0.875rem;
--ifm-h4-font-size: 1rem;
}

.sidebarViewport_node_modules-\@docusaurus-theme-classic-lib-theme-DocPage-Layout-Sidebar-styles-module {
background-color: var(--ifm-background-color);
border: none;
Expand Down Expand Up @@ -356,10 +372,6 @@ a.btn {
text-decoration: none;
}

h1, h2, h3 {
font-weight: 500;
}

h2 {
margin-top: 2rem;
}
Expand Down Expand Up @@ -501,6 +513,10 @@ html[data-theme="dark"] {
top: calc(var(--ifm-navbar-height) + 36px) !important;
}

.markdown h1:first-child {
--ifm-h1-font-size: 3rem;
}

.markdown > h1 {
margin-top: 6rem;
}
Expand Down
37 changes: 0 additions & 37 deletions website/src/neat_colors.json

This file was deleted.

4 changes: 2 additions & 2 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ function Home() {

<TechSplash/>

<FeaturesPanels/>

<ImportDataIntro/>

<FeaturesPanels/>

<UsageExamples/>

<FirebaseTeaser/>
Expand Down
1 change: 0 additions & 1 deletion website/src/pages/openai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function DataEnhancement() {
<DataEnhancementUseCases/>
<DataStructure/>
<AutofillFeature/>
<BatchProcessing/>
<Translations/>
{/*<CustomizationOptions />*/}
{/*<Testimonials />*/}
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/pro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function ProPage() {
<ProDeveloperFeatures/>

<Panel color={"gray"} includePadding={true} innerClassName={"flex flex-col items-center"}>
<h2 className={"h2 mb-3 uppercase font-mono text-center mx-auto"}>
<h2 className={"mb-3 uppercase font-mono text-center mx-auto"}>
LEARN MORE ABOUT FIRECMS PRO
</h2>
<HeroProButtons/>
Expand Down
2 changes: 1 addition & 1 deletion website/src/partials/data_enhancement/AutofillFeature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function AutofillFeature() {

</>}
right={<>
<h2 className={"h2 gradient-text uppercase"}>
<h2 className={"gradient-text uppercase"}>
Fill in Details for Nike Air Max
</h2>
<p className="text-xl">
Expand Down
35 changes: 0 additions & 35 deletions website/src/partials/data_enhancement/BatchProcessing.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions website/src/partials/data_enhancement/DataEnhancementHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export function DataEnhancementHero() {
left={
<div>

<h1 className="text-4xl tracking-tight font-extrabold md:text-6xl">
<h2 className="text-4xl tracking-tight font-extrabold md:text-6xl">
<span className="block">ChatGPT</span>
<span
className="block text-primary">Integration</span>
</h1>
</h2>
<div className="mt-3 text-xl sm:mt-4 md:text-2xl">
<p>
Discover the power of FireCMS with ChatGPT integration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ import { Panel } from "../general/Panel";

export function DataEnhancementUseCases() {
return <Panel color={"primary"}>
<h2 className="h1 my-1 text-white uppercase font-mono">
<h2 className="my-1 text-white uppercase font-mono">
The world has changed.
</h2>
<h2 className="h1 my-1 text-white uppercase font-mono">
<h2 className="my-1 text-white uppercase font-mono">
Your CMS should too.
</h2>
{/*<h2 className="h1 my-1 text-white uppercase">*/}
{/*<h2 className="my-1 text-white uppercase">*/}
{/* Generate content ideas...*/}
{/*</h2>*/}
{/*<h2 className="h1 my-1 text-white uppercase">*/}
{/*<h2 className="my-1 text-white uppercase">*/}
{/* OR Translate your documents...*/}
{/*</h2>*/}
{/*<h2 className="h1 my-1 text-white uppercase">*/}
{/*<h2 className="my-1 text-white uppercase">*/}
{/* OR Create SEO-friendly titles...*/}
{/*</h2>*/}
{/*<h2 className="h1 my-1 text-white uppercase">*/}
{/*<h2 className="my-1 text-white uppercase">*/}
{/* ...OR every other use case you can think of*/}
{/*</h2>*/}
</Panel>;
Expand Down
2 changes: 1 addition & 1 deletion website/src/partials/data_enhancement/DataStructure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function DataStructure() {
return (

<Panel color={"secondary"}>
<h2 className="h2 mb-4">
<h2 className="mb-4">
Harness AI for Your Structured Data
</h2>
<p className="text-2xl">
Expand Down
4 changes: 2 additions & 2 deletions website/src/partials/enterprise/EnterpriseArchitectures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export function EnterpriseArchitectures() {
<>

<Panel color={"secondary"} centered={true}>
<h4 className="h1 mb-4 uppercase">
<h2 className="mb-4 uppercase">
Open source is the path to success
</h4>
</h2>
</Panel>

<Panel color={"light"} includePadding={false}>
Expand Down
4 changes: 2 additions & 2 deletions website/src/partials/enterprise/EnterpriseFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function EnterpriseFeatures() {
<Panel color={"white"}>
<div className={"flex items-center my-4 "}>

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

</div>

Expand Down Expand Up @@ -88,7 +88,7 @@ export function EnterpriseFeatures() {

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

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

</div>

Expand Down
8 changes: 4 additions & 4 deletions website/src/partials/features/DeveloperFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function DeveloperFeatures() {

<div
className={"flex items-center mb-3"}>
<h3 className="h2 m-0">
<h3 className="m-0">
Easy schema definition
</h3>

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

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

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

<h3 className="h2 m-0">
<h3 className="m-0">
Built for every project
</h3>

Expand Down
6 changes: 3 additions & 3 deletions website/src/partials/features/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Features() {
className={"mx-auto md:col-span-9 md:pr-8 flex justify-center flex-col h-full mb-16"}>
<div className={"flex items-center mb-3"}>

<h3 className="h2 m-0 gradient-text uppercase">
<h3 className="m-0 gradient-text uppercase">
Inline editing
</h3>

Expand Down Expand Up @@ -95,7 +95,7 @@ function Features() {

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

<h3 className="h2 m-0 gradient-text uppercase">
<h3 className="m-0 gradient-text uppercase">
Dedicated form view
</h3>

Expand Down Expand Up @@ -168,7 +168,7 @@ function Features() {
<div
className={"flex items-center mb-3"}>

<h3 className="h2 m-0 gradient-text uppercase">
<h3 className="m-0 gradient-text uppercase">
Easy to customise
</h3>

Expand Down
2 changes: 1 addition & 1 deletion website/src/partials/features/FormInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Panel } from "../general/Panel";

export function FormInfo() {
return <Panel color={"light"}>
<h2 className={"h2 mb-3 uppercase font-mono"}>Create your custom fields</h2>
<h3 className={"mb-3 uppercase font-mono"}>Create your custom fields</h3>
<p className="text-xl md:text-2xl">
FireCMS provides around <b>20 default fields</b> which should suffice for most business logic. These fields
range from simple text fields or selects to more complex ones like file uploaders, date pickers, or
Expand Down
4 changes: 2 additions & 2 deletions website/src/partials/features/OpenAITeaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ function OpenAITeaser() {
<MagicIcon/>
</div>

<h1 className="h1 m-0">
<h2 className="m-0">
<span>ChatGPT </span>
<span
className="text-primary">Integration</span>
</h1>
</h2>
</div>

<div className="mt-3 text-xl sm:mt-4 md:text-2xl">
Expand Down
2 changes: 1 addition & 1 deletion website/src/partials/features/RealTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function RealTime() {
<LightingIcon height={12} width={12}/>
</div>

<h3 className="h2 m-0">
<h3 className="m-0">
Real-time updates
</h3>

Expand Down
4 changes: 2 additions & 2 deletions website/src/partials/features/SchemaEditorIntro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export const SchemaEditorIntro = () => {
" flex flex-col py-20")}>

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

<div className={"mt-4 mx-auto text-xl pb-20"}>
<p>
Expand Down
Loading

0 comments on commit c01839d

Please sign in to comment.