)
diff --git a/clients/apps/web/src/components/Pitch/Footer.tsx b/clients/apps/web/src/components/Pitch/Footer.tsx
index b6f4c677c4..1560ee4e5f 100644
--- a/clients/apps/web/src/components/Pitch/Footer.tsx
+++ b/clients/apps/web/src/components/Pitch/Footer.tsx
@@ -6,7 +6,7 @@ import { sections } from './Navigation'
export const Footer = ({ className }: { className?: string }) => {
return (
@@ -71,7 +71,7 @@ const OpenSourceLegend = () => {
const ContactUsLegend = () => {
useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => {
- if (event.key === 'm') {
+ if (event.key === 'c') {
window.open('mailto:birk@polar.sh', '_blank')
}
}
@@ -86,7 +86,7 @@ const ContactUsLegend = () => {
return (
diff --git a/clients/apps/web/src/components/Pitch/Section.tsx b/clients/apps/web/src/components/Pitch/Section.tsx
new file mode 100644
index 0000000000..3b72ed0066
--- /dev/null
+++ b/clients/apps/web/src/components/Pitch/Section.tsx
@@ -0,0 +1,27 @@
+export interface SectionProps {
+ header: {
+ index: string
+ name: string
+ }
+ title: string
+ children: React.ReactNode
+ context?: React.ReactNode
+}
+
+export const Section = ({ header, title, children, context }: SectionProps) => {
+ return (
+
+
+
+
+ {header.index}.
+
+
{header.name}
+
+
{title}
+ {children}
+
+ {context}
+
+ )
+}
diff --git a/clients/apps/web/src/components/Pitch/sections/IndexSection.tsx b/clients/apps/web/src/components/Pitch/sections/IndexSection.tsx
index c897554b7e..b2eda36b8e 100644
--- a/clients/apps/web/src/components/Pitch/sections/IndexSection.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/IndexSection.tsx
@@ -1,32 +1,29 @@
import { Console } from '../Console'
import { Link } from '../Link'
+import { Section } from '../Section'
export const IndexSection = () => {
return (
-
-
-
00. Index
-
Integrating payments is a mess
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
What we are building →
-
-
-
-
+
+ }
+ >
+
+ What used to be a simple way to pay for things has become a complex
+ mess.
+
+
+ Software as a Service (SaaS) has become the norm, but the underlying
+ payment infrastructure has not evolved.
+
+
What we are building →
+
)
}
diff --git a/clients/apps/web/src/components/Pitch/sections/InvestorsSection.tsx b/clients/apps/web/src/components/Pitch/sections/InvestorsSection.tsx
index 82a71e8018..48f1d3d139 100644
--- a/clients/apps/web/src/components/Pitch/sections/InvestorsSection.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/InvestorsSection.tsx
@@ -1,25 +1,22 @@
import { Link } from '../Link'
+import { Section } from '../Section'
export const InvestorsSection = () => {
return (
-
-
-
06. Investors
-
Our Angels
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
Why →
-
-
+
+
+ What used to be a simple way to pay for things has become a complex
+ mess.
+
+
+ Software as a Service (SaaS) has become the norm, but the underlying
+ payment infrastructure has not evolved.
+
+
+ This is why we are building Polar 2.0, payment infrastructure for the
+ 21st century.
+
+ Why →
+
)
}
diff --git a/clients/apps/web/src/components/Pitch/sections/Polar20.tsx b/clients/apps/web/src/components/Pitch/sections/Polar20.tsx
index 4f282469b5..91038c4004 100644
--- a/clients/apps/web/src/components/Pitch/sections/Polar20.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/Polar20.tsx
@@ -1,25 +1,40 @@
+import { Console } from '../Console'
import { Link } from '../Link'
+import { Section } from '../Section'
export const Polar20Section = () => {
return (
-
-
-
03. Polar 2.0
-
The future of payments is usage based
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
Why →
-
-
+
req.headers.get('X-Polar-Customer-Id'))
+ .model(openai('gpt-4o'))
+ .increment('gpt-4o-inputs', ctx => ctx.usage.inputTokens)
+ .increment('gpt-4o-outputs', ctx => ctx.usage.completionTokens)
+ .handler((req, res, model) => /** Use model... */)`}
+ />
+ }
+ >
+
+ What used to be a simple way to pay for things has become a complex
+ mess.
+
+
+ Software as a Service (SaaS) has become the norm, but the underlying
+ payment infrastructure has not evolved.
+
+
+ This is why we are building Polar 2.0, payment infrastructure for the
+ 21st century.
+
+ Why →
+
)
}
diff --git a/clients/apps/web/src/components/Pitch/sections/TeamSection.tsx b/clients/apps/web/src/components/Pitch/sections/TeamSection.tsx
index 06add32b9f..fe8266be2b 100644
--- a/clients/apps/web/src/components/Pitch/sections/TeamSection.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/TeamSection.tsx
@@ -1,5 +1,6 @@
import Image from 'next/image'
import { Link } from '../Link'
+import { Section } from '../Section'
const team = [
{
@@ -21,30 +22,32 @@ const team = [
export const TeamSection = () => {
return (
-
-
-
05. Team
-
We are hiring
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
Join Us →
-
-
+
+
+ Are you passionate about building the future of payment infrastructure?
+ Get in touch.
+
+
+
+ You are passionate about building great user experiences and products.
+
+
+ You're humble and eager to constantly learn and improve based on
+ feedback from customers and peers or new insights, technical trends
+ and tools.
+
+
+ You're autonomous and don't hesitate to roll up your sleeves
+ to get stuff done vs. waiting on instructions, guidance or permission.
+
+
+ Join Us →
+
{team.map((profile) => (
))}
-
+
)
}
@@ -56,8 +59,14 @@ interface ProfileProps {
const Profile = ({ name, title, image }: ProfileProps) => {
return (
-
-
+
+
{name}
{title}
diff --git a/clients/apps/web/src/components/Pitch/sections/UsageBasedSection.tsx b/clients/apps/web/src/components/Pitch/sections/UsageBasedSection.tsx
index 7c2ddc985b..3439800871 100644
--- a/clients/apps/web/src/components/Pitch/sections/UsageBasedSection.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/UsageBasedSection.tsx
@@ -1,53 +1,53 @@
import { MetricType } from '@polar-sh/sdk'
import { Chart } from '../Chart'
import { Link } from '../Link'
+import { Section } from '../Section'
export const UsageBasedSection = () => {
return (
-
-
-
01. Usage Based
-
The future of payments is usage based
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
Why →
-
-
{
- const getLastMonthValues = () => {
- const values = []
- for (let i = 31; i >= 0; i--) {
- values.push({
- timestamp: new Date(
- new Date().setDate(new Date().getDate() - i),
- ),
- value: Math.floor(Math.random() * 500),
- })
+ {
+ const getLastMonthValues = () => {
+ const values = []
+ for (let i = 0; i <= 31; i++) {
+ values.push({
+ timestamp: new Date(
+ new Date().setDate(new Date().getDate() + i),
+ ),
+ value: Math.floor(Math.exp(i / 5)), // Exponential growth
+ })
+ }
+ return values
}
- return values
- }
- return getLastMonthValues()
- })(),
- ]}
- interval="day"
- metric={{
- slug: 'value',
- display_name: 'Value',
- type: MetricType.SCALAR,
- }}
- />
-
+ return getLastMonthValues()
+ })(),
+ ]}
+ interval="day"
+ metric={{
+ slug: 'value',
+ display_name: 'Value',
+ type: MetricType.SCALAR,
+ }}
+ />
+ }
+ >
+
+ In a world where Artificial Intelligence is becoming more and more
+ prevalent, the intelligence we consume will be charged based on usage.
+ It's time for payment infrastructure, built for the 21st century.
+
+
+ We believe that the future of payments is usage based, and we are
+ committed to build the gold standard for adapters that sits in between
+ artificial intelligence and the world.
+
+
Why →
+
)
}
diff --git a/clients/apps/web/src/components/Pitch/sections/WhySection.tsx b/clients/apps/web/src/components/Pitch/sections/WhySection.tsx
index 712ab0a841..d3882bdc8c 100644
--- a/clients/apps/web/src/components/Pitch/sections/WhySection.tsx
+++ b/clients/apps/web/src/components/Pitch/sections/WhySection.tsx
@@ -1,25 +1,22 @@
import { Link } from '../Link'
+import { Section } from '../Section'
export const WhySection = () => {
return (
-
-
-
02. Why Polar
-
Why
-
- What used to be a simple way to pay for things has become a complex
- mess.
-
-
- Software as a Service (SaaS) has become the norm, but the underlying
- payment infrastructure has not evolved.
-
-
- This is why we are building Polar 2.0, payment infrastructure for the
- 21st century.
-
-
Why →
-
-
+
+
+ What used to be a simple way to pay for things has become a complex
+ mess.
+
+
+ Software as a Service (SaaS) has become the norm, but the underlying
+ payment infrastructure has not evolved.
+
+
+ This is why we are building Polar 2.0, payment infrastructure for the
+ 21st century.
+
+ Why →
+
)
}