-
-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into re-enable-beta
- Loading branch information
Showing
29 changed files
with
438 additions
and
263 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { Section } from './Section'; | ||
import React from 'react'; | ||
import Spline from '@splinetool/react-spline'; | ||
|
||
export function HeroSection() { | ||
return ( | ||
<Section | ||
className={'bg-white'} | ||
containerClassName={ | ||
'grid grid-cols-1 sm:grid-cols-2 gap-8 items-center justify-items-center' | ||
} | ||
> | ||
<div className={'order-2 sm:order-1 py-0 md:py-16 lg:py-32'}> | ||
<div className={'text-4xl sm:text-6xl font-extrabold'}> | ||
<a href={'https://github.com/mobxjs/mobx'}>MobX</a> for Dart and | ||
Flutter | ||
</div> | ||
|
||
<div className={'text-2xl sm:text-3xl my-4'}> | ||
Hassle free state-management for your Dart and Flutter apps. | ||
</div> | ||
|
||
<div className={'text-lg text-gray-500 mb-16'}> | ||
Use the power of <code>Observables</code>, <code>Actions</code> and{' '} | ||
<code>Reactions</code> to supercharge the state in your apps. | ||
</div> | ||
|
||
<div className="flex flex-col sm:flex-row items-stretch sm:items-center gap-4 text-center"> | ||
<a | ||
className={ | ||
'text-xl lg:text-2xl p-4 rounded-md sm:rounded-lg border-blue-800 border bg-blue-500 hover:bg-blue-600 hover:transition-colors hover:no-underline text-white hover:text-white' | ||
} | ||
href={'/getting-started'} | ||
> | ||
Get Started 🚀 | ||
</a> | ||
<a | ||
className={ | ||
'text-xl lg:text-2xl p-4 rounded-md sm:rounded-lg border-blue-500 border-2 border-solid hover:no-underline hover:border-blue-600 hover:transition-colors ' | ||
} | ||
href={'/concepts'} | ||
> | ||
Learn More... | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<MobXLogoViewer | ||
className={'order-1 sm:order-2 w-full min-h-56 md:min-h-0'} | ||
/> | ||
</Section> | ||
); | ||
} | ||
|
||
function MobXLogoViewer({ className }: { className?: string }) { | ||
return ( | ||
<Spline | ||
scene="https://prod.spline.design/CB9ncfOuCZuIaUKV/scene.splinecode" | ||
className={className} | ||
/> | ||
); | ||
} |
Oops, something went wrong.