Skip to content

Commit

Permalink
SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
steve8708 committed May 5, 2024
1 parent 3ed0d9b commit f92e61c
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/cli/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: CLI - Mitosis
---

# CLI

We currently have two CLI commands: `mitosis build` and `mitosis compile`.
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/components/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Components - Mitosis
---

# Components

## At a glance
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/configuration/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Configuration - Mitosis
---

# Configuration

## Mitosis Configuration
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/context/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Context - Mitosis
---

# Context

Mitosis Contexts must be:
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/customizability/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Customization - Mitosis
---

# Customization

When building Mitosis components, you might sometimes have unique and special needs. If you want to transform your Mitosis-generated output to fit your needs, by doing things like:
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/figma/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Syncing design systems from Figma - Mitosis
---

# Syncing design systems from Figma

You can leverage Mitosis in conjunction with [Visual Copilot](https://www.builder.io/m/design-to-code) to efficiently translate Figma designs into code.
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/gotchas/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Gotchas - Mitosis
---

# Gotchas and limitations

We have put together ESLint rules that will warn you when encountering these limitations (and many more). The rules themselves are a great source of documentation. Make sure to read up on them [here](../packages/eslint-plugin/docs/rules/)
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/hooks/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Hooks - Mitosis
---

# Hooks

## useStore and useState
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/src/routes/docs/overview/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Mitosis Overview
title: Overview - Mitosis
---

# Mitosis Overview
# Overview - Mitosis

## What is Mitosis?

Expand All @@ -18,7 +18,7 @@ Using Mitosis, you can:

- Maintain a consistent design system across multiple frameworks ([example](https://github.com/db-ui/mono))
- Build high quality cross-framework SDKs ([example](https://github.com/BuilderIO/builder/tree/main/packages/sdks#builderio-sdks))
- Avoid the [pitfalls of web components](https://mitosis.builder.io/docs/overview/) by compiling to native framework code
- Avoid the [pitfalls of web components](#challenges-with-web-components) by compiling to native framework code

## Why use Mitosis?

Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/project-structure/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Project structure - Mitosis
---

# Project structure

For a practical example of the below structure, check out [our example project](../examples/basic/).
Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/quickstart/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Quickstart - Mitosis
---

# Quickstart

### Create a new project
Expand Down
3 changes: 2 additions & 1 deletion packages/docs/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const head: DocumentHead = {
meta: [
{
name: 'description',
content: 'Build multi-framework design systems with confidence.',
content:
'Build multi-framework design systems with confidence. Compiles to React, Angular, Vue, Svelte, and more.',
},
],
};
12 changes: 11 additions & 1 deletion packages/docs/src/routes/playground/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useVisibleTask$ } from '@builder.io/qwik';
import { routeLoader$, useLocation } from '@builder.io/qwik-city';
import { DocumentHead, routeLoader$, useLocation } from '@builder.io/qwik-city';
import { ContentLoaderCode } from 'qwik-content-loader';
import { CodeEditor } from '~/components/code-editor';
import Select from '~/components/select';
Expand Down Expand Up @@ -254,3 +254,13 @@ export default component$(() => {
</div>
);
});

export const head: DocumentHead = {
title: 'Mitosis Playground',
meta: [
{
name: 'description',
content: 'Write components once, run everywhere.',
},
],
};

0 comments on commit f92e61c

Please sign in to comment.