Skip to content

Commit

Permalink
Merge pull request #75 from flexbox/feature/homepage
Browse files Browse the repository at this point in the history
refactor homepage
  • Loading branch information
flexbox authored Mar 2, 2023
2 parents a2bcd3e + 3b9cc59 commit 19a51f7
Showing 1 changed file with 47 additions and 34 deletions.
81 changes: 47 additions & 34 deletions apps/weshipit/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { ClientsListHomepage, Button, Hero, Text } from '@weshipit/ui';
import {
ClientsListHomepage,
Button,
Hero,
Text,
Hyperlink,
} from '@weshipit/ui';
import Link from 'next/link';
import { getAllClients } from './api/client';
import Layout from '../components/layout';
Expand Down Expand Up @@ -33,43 +39,50 @@ export default function IndexPage({ clients }: clientsPageProps) {
ogImageTitle="React Native Experts"
>
<Hero>
<h1 className="text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl md:text-6xl lg:text-5xl xl:text-6xl">
<h1 className="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-5xl md:text-6xl lg:text-5xl xl:text-6xl">
<span className="block xl:inline">
Building React Native apps
A tiny studio,
<br />
in <span className=" text-gray-400 line-through">months</span> days.
making delightful React Native apps,
<br />
brought to you by
<Hyperlink
href="https://twitter.com/intent/follow?screen_name=flexbox_"
className="relative top-2 mx-0.5 inline-flex items-center gap-1.5 rounded-full p-1 font-bold transition hover:bg-gray-50 dark:hover:bg-white/10 sm:px-2 md:top-1"
>
@flexbox
</Hyperlink>
&
<Hyperlink
href="https://twitter.com/intent/follow?screen_name=MatthysDev"
className="relative top-2 mx-0.5 inline-flex items-center gap-1.5 rounded-full p-1 font-bold transition hover:bg-gray-50 dark:hover:bg-white/10 sm:px-2 md:top-1"
>
@MatthysDev
</Hyperlink>
</span>
</h1>
<p className="mt-3 max-w-md text-lg text-gray-500 sm:text-xl md:mt-5 md:max-w-3xl">
We are software developer, product makers, growth hackers, with a
focus on engineering community best practices.
</p>

<div className="mt-10 sm:flex sm:justify-center lg:justify-start">
<div className="flex rounded-md">
<Button className="mr-4" href={ONBOARDING_FORM}>
Start a project
</Button>
<Button
intent="ghost"
href={ONBOARDING_FORM}
accessoryLeft={
<div className="flex">
<Gravatar
className="rounded-full border-4 border-white"
size={50}
email="[email protected]"
/>
<Gravatar
className="-ml-4 mr-4 rounded-full border-4 border-white"
size={50}
email="[email protected]"
/>
</div>
}
>
Book a consultation
</Button>
</div>
<Button
intent="ghost"
href={ONBOARDING_FORM}
accessoryLeft={
<div className="flex">
<Gravatar
className="rounded-full border-4 border-white"
size={50}
email="[email protected]"
/>
<Gravatar
className="-ml-4 mr-4 rounded-full border-4 border-white"
size={50}
email="[email protected]"
/>
</div>
}
>
Book a consultation
</Button>
</div>
</Hero>
<section className="m-auto max-w-7xl">
Expand All @@ -79,7 +92,7 @@ export default function IndexPage({ clients }: clientsPageProps) {
</Text>
<ClientsListHomepage clients={clients} />
<Link legacyBehavior href="/clients">
<a className="text-sm font-semibold text-blue-500 underline underline-offset-4 hover:text-blue-700">
<a className="text-base font-bold text-blue-500 underline underline-offset-4 hover:text-blue-700">
View our client list
</a>
</Link>
Expand Down

2 comments on commit 19a51f7

@vercel
Copy link

@vercel vercel bot commented on 19a51f7 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 19a51f7 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.