Skip to content

Commit

Permalink
adding spline
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanpodila committed Dec 29, 2023
1 parent 6290d7e commit 90e8d66
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 16 deletions.
Binary file modified docs/design/mobx.afdesign
Binary file not shown.
2 changes: 2 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mdx-js/react": "^3.0.0",
"@splinetool/react-spline": "^2.2.6",
"@splinetool/runtime": "^1.0.17",
"axios": "^1.6.3",
"dotenv": "^16.3.1",
"lodash.get": "^4.4.2",
Expand Down
40 changes: 40 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/src/images/mobx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 1 addition & 15 deletions docs/src/images/mobx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { TestimonialList } from '../components/Testimonial';
import MobXLogo from '../images/mobx.svg';
import React from 'react';
import Layout from '@theme/Layout';
import Spline from '@splinetool/react-spline';

export default function () {
return (
Expand Down Expand Up @@ -70,11 +71,20 @@ function HeroSection() {
</div>
</div>

<MobXLogo className={'order-1 sm:order-2 w-48 sm:w-80 lg:w-96'} />
<MobXLogoViewer className={'order-1 sm:order-2 w-full'} />
</Section>
);
}

function MobXLogoViewer({ className }: { className?: string }) {
return (
<Spline
scene="https://prod.spline.design/CB9ncfOuCZuIaUKV/scene.splinecode"
className={className}
/>
);
}

function BadgesSection() {
return (
<Section
Expand Down

0 comments on commit 90e8d66

Please sign in to comment.