Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Logo to docs #7

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,37 @@
import Layout from '@theme/Layout';
import HomepageStartScreen from '@site/src/components/Hero/StartScreen';
import { HireUsSection } from '@swmansion/t-rex-ui';
import LogoHero from '@site/static/img/logo-hero.svg';
import HomepageButton from '@site/src/components/HomepageButton';

function Home() {
return (
<Layout
title={`React Native ExecuTorch`}
description="Declarative way to run AI models in React Native on device, powered by ExecuTorch.">

Check failure on line 13 in docs/src/pages/index.tsx

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎····`
<div className={styles.container}>
<HomepageStartScreen />
</div>
<div
style={{
marginTop: '300px',
marginBottom: '350px',
gap: '30px',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}
>
<LogoHero />
<h2>This site is under development</h2>
<a href="/react-native-executorch/docs/fundamentals/getting-started">
<HomepageButton
href="/react-native-executorch/docs/fundamentals/getting-started"
title="Checkout the docs"
/>
</a>
</div>
<div className={styles.container}>
<HireUsSection
href={
Expand Down
34 changes: 34 additions & 0 deletions docs/static/img/logo-hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading