+
+
+ {title}
+
+
+ {description}
+
Lightweight declarative animations powered by platform APIs. Uses Core Animation on iOS and Animator on Android — zero JS overhead.
diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx
index a8f5d31..c8961c9 100644
--- a/docs/docs/getting-started.mdx
+++ b/docs/docs/getting-started.mdx
@@ -4,7 +4,7 @@ title: Getting started
slug: /
---
-
+
Lightweight declarative animations powered by platform APIs. Uses Core Animation on iOS and Animator on Android — zero JS overhead.
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts
index 98eb5bf..eb72e0f 100644
--- a/docs/docusaurus.config.ts
+++ b/docs/docusaurus.config.ts
@@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
const config: Config = {
title: 'React Native Ease',
tagline: 'Lightweight declarative animations powered by platform APIs',
- favicon: 'img/favicon.png',
+ favicon: 'img/app-icon.png',
url: 'https://appandflow.github.io',
baseUrl: '/react-native-ease/',
organizationName: 'AppAndFlow',
@@ -21,7 +21,7 @@ const config: Config = {
'classic',
{
docs: {
- routeBasePath: '/',
+ routeBasePath: '/docs',
sidebarPath: './sidebars.ts',
editUrl:
'https://github.com/AppAndFlow/react-native-ease/tree/main/docs/',
@@ -33,7 +33,7 @@ const config: Config = {
],
],
themeConfig: {
- image: 'img/opengraph-image.png',
+ image: 'img/github-banner.png',
colorMode: {
defaultMode: 'light',
disableSwitch: false,
diff --git a/docs/src/components/landing/CopyInstallCommand.tsx b/docs/src/components/landing/CopyInstallCommand.tsx
new file mode 100644
index 0000000..213fb39
--- /dev/null
+++ b/docs/src/components/landing/CopyInstallCommand.tsx
@@ -0,0 +1,66 @@
+import React, { useEffect, useRef, useState } from 'react';
+import styles from '../../css/landing.module.css';
+import Illustration from './Illustration';
+
+export default function CopyInstallCommand({
+ command,
+}: {
+ command: string;
+}): React.ReactElement {
+ const [status, setStatus] = useState('');
+ const copied = status === 'Copied';
+ const timer = useRef{command}
+
+ {description}
+{blurb}
+