Skip to content

Commit

Permalink
landing page ph
Browse files Browse the repository at this point in the history
  • Loading branch information
Darginec05 committed Jul 25, 2024
1 parent 0c99326 commit 399d777
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 6 deletions.
File renamed without changes.
Binary file added web/next-example/public/yoopta/ph/chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added web/next-example/public/yoopta/ph/md_exports.mp4
Binary file not shown.
Binary file not shown.
Binary file added web/next-example/public/yoopta/ph/media_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/next-example/public/yoopta/ph/notion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/next-example/public/yoopta/ph/plugins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/next-example/public/yoopta/ph/select-area.mp4
Binary file not shown.
Binary file added web/next-example/public/yoopta/ph/toolbars.mp4
Binary file not shown.
File renamed without changes
20 changes: 14 additions & 6 deletions web/next-example/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function Home({ repoData }) {
>
<div className="rounded-full bg-white relative w-[42px] h-[42px]">
<img
src="/yoopta-logo.png"
src="/yoopta/yoopta-logo.png"
width={42}
height={42}
alt="yooptae editor logo"
Expand Down Expand Up @@ -143,12 +143,20 @@ export default function Home({ repoData }) {
</div>
</header>
<div className="mt-10 md:w-[70%] md:mx-auto flex flex-col items-center px-4 md:px-0">
<a
href="https://yoopta.dev/examples/withBaseFullSetup"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-18 h-18 bg-white rounded-full shadow-lg m-2"
>
<img src="/yoopta/yoopta-logo.png" alt="Yoopta logo" className="w-14 h-14 rounded-full" />
</a>
<h1 className="text-center scroll-m-20 text-4xl font-bold tracking-tight">Meet Yoopta-Editor 🚀</h1>
<div className="flex items-center mt-4 flex-col md:flex-row">
<ProductHuntButton />
{repoData && <GithubButton repo={repoData} />}
</div>
<p className="mt-6 md:w-[750px] text-base text-[#dae2ed] text-center">
<p className="mt-6 md:w-[680px] text-base text-[#dae2ed] text-center">
Open-source rich-text editor that's truly{' '}
<b>
<u>rich</u>
Expand All @@ -158,15 +166,15 @@ export default function Home({ repoData }) {
</p>
<div className="mt-4 flex flex-col items-center">
<button
onClick={() => window.open('/playground', '_blank')}
onClick={() => window.open('/examples/withBaseFullSetup', '_blank')}
className="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 bg-[#1f6feb] text-primary-foreground shadow hover:bg-[#1f6feb]/90 h-9 px-4 py-2"
>
Play with live demo <ExternalLinkIcon size={16} className="ml-2" />
Play with demo's <ExternalLinkIcon size={16} className="ml-2" />
</button>
</div>
<div className="mt-4">
<video className="w-full h-auto" autoPlay loop muted playsInline controls>
<source src="/Yoopta_Intro.mp4" type="video/mp4" />
<source src="/yoopta/Yoopta_Intro.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
Expand Down Expand Up @@ -262,7 +270,7 @@ export default function Home({ repoData }) {
rel="noopener noreferrer"
className="flex items-center justify-center w-18 h-18 bg-white rounded-full shadow-lg m-2"
>
<img src="/yoopta-logo.png" alt="Yoodocs logo" className="w-14 h-14 rounded-full" />
<img src="/yoopta/yoopta-logo.png" alt="Yoopta logo" className="w-14 h-14 rounded-full" />
</a>
<a
href="https://github.com/chrassendk"
Expand Down

0 comments on commit 399d777

Please sign in to comment.