Skip to content

Commit

Permalink
Desktop looking good
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Oct 28, 2023
1 parent b5687d8 commit 8c9a0c2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 12 deletions.
Binary file modified packages/cursorless-org/public/big-hats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 34 additions & 5 deletions packages/cursorless-org/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,30 @@ const components: MDXComponents = {
</h2>
),
h3: ({ children }) => (
<h3 className="uppercase text-[1.3em] my-6">{children}</h3>
<h3 className="uppercase text-[1.5rem] my-6 font-medium tracking-[0.08em]">
{children}
</h3>
),
h4: ({ children }) => (
<h4 className="uppercase text-[1.2em] mt-10">{children}</h4>
<h4 className="uppercase text-[1.5rem] mt-11 mb-6 font-medium tracking-[0.08em]">
{children}
</h4>
),
hr: () => <hr className="my-8 border-teal-400" />,
ul: ({ children }) => <ul className="list-disc ml-8">{children}</ul>,
ol: ({ children }) => <ol className="list-decimal ml-8">{children}</ol>,
li: ({ children }) => <li className="my-2">{children}</li>,
img: ({ src, alt }) => (
// FIXME: Figure out how to use next/image with MDX
// eslint-disable-next-line @next/next/no-img-element
<img
className="mx-auto my-12 rounded-[4px] border-teal-400 border-[1.5px]"
src={src}
alt={alt}
style={{ maxWidth: "100%" }}
/>
),
CursorlessScreenshot: ({ src, alt }) => (
// FIXME: Figure out how to use next/image with MDX
// eslint-disable-next-line @next/next/no-img-element
<img
Expand All @@ -40,10 +54,25 @@ const components: MDXComponents = {
),
CalloutBox: ({ title, children }) => (
<div className="my-6">
<h4 className="uppercase text-[1.3em] mb-6 leading-tight">{title}</h4>
<h4 className="uppercase text-[1.5rem] mb-6 leading-tight font-medium tracking-[0.08em]">
{title}
</h4>
{children}
</div>
),
Tiers: ({ children }) => (
<div className="my-8 uppercase font-medium tracking-[0.1em] text-[1.2em]">
{children}
</div>
),
Tier: ({ emoji, type, price }) => (
<div className="flex gap-3 leading-8">
<span className="">{emoji}</span>
<span className="">{type}</span>
<span>{"-"}</span>
<span className="text-teal-400">{price}</span>
</div>
),
};

export const bodyClasses = "bg-salmon-100 dark:bg-salmon-900";
Expand All @@ -66,11 +95,11 @@ export function Layout({ title, description, relativeUrl, children }: Props) {
/>
</Head>
<MDXProvider components={components}>
<main className="text-salmon-900 dark:text-salmon-100 font-mono font-light p-4 sm:p-5 sm:pt-36 lg:p-10 lg:pt-12 tracking-[0.08em]">
<main className="text-salmon-900 dark:text-salmon-100 font-mono font-normal sm:font-light p-4 sm:p-5 sm:pt-36 lg:p-10 lg:pt-12 tracking-[0.08em]">
<div className="max-w-prose mx-auto">
<Logo
title="Logo"
className="mx-auto align-middle w-[30px] h-[30px] sm:w-[6.284090em] sm:h-[6.284090em]"
className="mx-auto align-middle w-[6.284em] h-[6.284em]"
/>
{children}
</div>
Expand Down
18 changes: 11 additions & 7 deletions packages/cursorless-org/src/content/enablement-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ import { SpamProofEmailLink } from "../components/SpamProofEmailLink";

Cursorless, an open-source spoken language for editing code, enables users to write software entirely by voice faster than with a keyboard and mouse. Software engineers can code using high-level semantic manipulations (increased productivity), and all computer users can reduce strain on their wrists to prevent injury (preventative healthcare).

![hats](/big-hats.png)
<CursorlessScreenshot
src="/big-hats.png"
alt="Screenshot of Cursorless in action containing javascript code with symbols over characters in the source code"
/>

## Cursorless development is user-led

Expand Down Expand Up @@ -106,19 +109,20 @@ Members of the Cursorless Enablement Group enjoy several privileges. The access
- Support an initiative targeted at facilitating an increased and more rapid shift of adoption of Cursorless as a faster way to code and a healthier way to code.
- Support of open standards approach. Standards are critical to interoperability and openness is consistent with a positive image in the industry.

![Reviews of Cursorless on the Microsoft Visual Studio Marketplace](/cursorless-reviews.png)
{/* TODO: this should be a button which just emails me */}

## 🚀 Join the Cursorless Enablement Group

Your participation will help Cursorless maintain its growth trajectory and uphold its cutting-edge quality and esteemed 5-star reputation in coding by voice. And you'll make a lasting impact on the direction of accessible technology.

😍️ **INDIVIDUALS** - $495
<Tiers>
<Tier emoji="😍️" type="individuals" price="$495" />
<Tier emoji="🕊️" type="non-profits" price="$995" />
<Tier emoji="🏢" type="companies" price="$2,495" />
</Tiers>

☮️ **NON-PROFITS** - $995

🏢 **COMPANIES** - $2,495

**To join, send an email to Cursorless founder Pokey Rule**
To join, send an email to Cursorless founder Pokey Rule

{/* TODO: default email subject / message */}

Expand Down

0 comments on commit 8c9a0c2

Please sign in to comment.