Skip to content

Commit

Permalink
Add AI page
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Oct 23, 2023
1 parent 12f8287 commit b40508e
Show file tree
Hide file tree
Showing 7 changed files with 667 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"react-dom": "18.2.0",
"react-error-boundary": "3.1.4",
"react-fast-compare": "3.2.0",
"react-fast-marquee": "1.6.2",
"react-feather": "2.0.10",
"react-syntax-highlighter": "15.5.0",
"react-use": "17.4.0",
Expand Down
643 changes: 643 additions & 0 deletions pages/ai.tsx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pages/uses/[case].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@ export default function useCase({ stringData }) {
const Icon = ({ name, ...props }: { name: IconType } & IconProps) => {
const C = Icons[name];
return <C {...props} />;
};
};
1 change: 1 addition & 0 deletions pages/uses/workflow-engine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export default function workflowEngine() {
}



const stackWorkflows = `
import { runAction } from "@/actions";
import { inngest } from "@/inngest";
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

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

9 changes: 7 additions & 2 deletions shared/Home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export default function Hero() {
}}
>
<div className="mb-12 md:mb-28 text-center">
<h1 className="text-4xl md:text-[3.125rem] md:leading-[3.75rem] font-bold bg-clip-text text-transparent bg-gradient-to-r from-[#E2BEFF] via-white to-[#AFC1FF] drop-shadow">
<h1 className="
text-4xl md:text-[3.125rem] md:leading-[3.75rem]
font-bold bg-clip-text
text-transparent bg-gradient-to-r from-[#E2BEFF] via-white to-[#AFC1FF] drop-shadow
">
Effortless serverless queues,
<br />
background jobs, and workflows
Expand All @@ -28,6 +32,7 @@ export default function Hero() {
reliable products.
</p>
</div>

<div className="flex flex-col gap-8 pt-12 lg:py-28 items-center justify-center">
<div>
<Link
Expand All @@ -40,7 +45,7 @@ export default function Hero() {
</div>
<Link
href={`${process.env.NEXT_PUBLIC_SIGNUP_URL}?ref=homepage-hero`}
className="group flex items-center gap-1 rounded-md px-3 py-1.5 bg-transparent transition-all text-indigo-200 border border-transparent hover:border-slate-800 whitespace-nowrap"
className="group flex items-center gap-1 rounded-md px-11 py-3.5 bg-transparent transition-all text-indigo-100 border border-transparent hover:border-slate-800 whitespace-nowrap"
>
Start Building For Free
</Link>
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
fontFamily: {
sans: ["Inter", "sans-serif"],
sans: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
mono: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
},
},
plugins: [require("@tailwindcss/typography")],
Expand Down

0 comments on commit b40508e

Please sign in to comment.