[resumes][chore] add screenshots to landing

pull/413/head
Wu Peirong 3 years ago
parent a5bdb72890
commit 508eea359e

@ -9,7 +9,7 @@ type ContainerProps = {
export const Container: FC<ContainerProps> = ({ className, ...props }) => { export const Container: FC<ContainerProps> = ({ className, ...props }) => {
return ( return (
<div <div
className={clsx('mx-auto max-w-7xl px-4 sm:px-6 lg:px-8', className)} className={clsx('mx-auto max-w-7xl px-4 lg:px-2', className)}
{...props} {...props}
/> />
); );

@ -4,27 +4,27 @@ import { useEffect, useState } from 'react';
import { Tab } from '@headlessui/react'; import { Tab } from '@headlessui/react';
import { Container } from './Container'; import { Container } from './Container';
import screenshotExpenses from './images/screenshots/expenses.png'; import resumeBrowse from './images/screenshots/resumes-browse.png';
import screenshotPayroll from './images/screenshots/payroll.png'; import resumeReview from './images/screenshots/resumes-review.png';
import screenshotVatReturns from './images/screenshots/vat-returns.png'; import resumeSubmit from './images/screenshots/resumes-submit.png';
const features = [ const features = [
{ {
description: description:
'Browse the most popular reviewed resumes out there and see what you can learn', 'Browse the most popular reviewed resumes out there and see what you can learn',
image: screenshotPayroll, image: resumeBrowse,
title: 'Browse', title: 'Browse',
}, },
{ {
description: description:
'Upload your own resume easily to get feedback from people in industry.', 'Upload your own resume easily to get feedback from people in industry.',
image: screenshotExpenses, image: resumeSubmit,
title: 'Submit', title: 'Submit',
}, },
{ {
description: description:
'Pass the baton forward by reviewing resumes and bounce off ideas with other engineers out there.', 'Pass the baton forward by reviewing resumes and bounce off ideas with other engineers out there.',
image: screenshotVatReturns, image: resumeReview,
title: 'Review', title: 'Review',
}, },
]; ];
@ -49,7 +49,6 @@ export function PrimaryFeatures() {
return ( return (
<section <section
aria-label="Features for running your books"
className="relative overflow-hidden bg-gradient-to-r from-indigo-400 to-indigo-700 pt-20 pb-28 sm:py-32" className="relative overflow-hidden bg-gradient-to-r from-indigo-400 to-indigo-700 pt-20 pb-28 sm:py-32"
id="features"> id="features">
<Container className="relative"> <Container className="relative">
@ -64,7 +63,7 @@ export function PrimaryFeatures() {
vertical={tabOrientation === 'vertical'}> vertical={tabOrientation === 'vertical'}>
{({ selectedIndex }) => ( {({ selectedIndex }) => (
<> <>
<div className="-mx-4 flex overflow-x-auto pb-4 sm:mx-0 sm:overflow-visible sm:pb-0 lg:col-span-5"> <div className="-mx-4 flex overflow-x-auto pb-4 sm:mx-0 sm:overflow-visible sm:pb-0 lg:col-span-4">
<Tab.List className="relative z-10 flex gap-x-4 whitespace-nowrap px-4 sm:mx-auto sm:px-0 lg:mx-0 lg:block lg:gap-x-0 lg:gap-y-1 lg:whitespace-normal"> <Tab.List className="relative z-10 flex gap-x-4 whitespace-nowrap px-4 sm:mx-auto sm:px-0 lg:mx-0 lg:block lg:gap-x-0 lg:gap-y-1 lg:whitespace-normal">
{features.map((feature, featureIndex) => ( {features.map((feature, featureIndex) => (
<div <div
@ -100,7 +99,7 @@ export function PrimaryFeatures() {
))} ))}
</Tab.List> </Tab.List>
</div> </div>
<Tab.Panels className="lg:col-span-7"> <Tab.Panels className="lg:col-span-8">
{features.map((feature) => ( {features.map((feature) => (
<Tab.Panel key={feature.title} unmount={false}> <Tab.Panel key={feature.title} unmount={false}>
<div className="relative sm:px-6 lg:hidden"> <div className="relative sm:px-6 lg:hidden">

@ -94,7 +94,6 @@ function QuoteIcon(props: QuoteProps) {
export function Testimonials() { export function Testimonials() {
return ( return (
<section <section
aria-label="What our customers are saying"
className="bg-gradient-to-r from-indigo-700 to-indigo-400 py-20 sm:py-32" className="bg-gradient-to-r from-indigo-700 to-indigo-400 py-20 sm:py-32"
id="testimonials"> id="testimonials">
<Container> <Container>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

@ -3,7 +3,6 @@ import Head from 'next/head';
import { CallToAction } from '~/components/resumes/landing/CallToAction'; import { CallToAction } from '~/components/resumes/landing/CallToAction';
import { Hero } from '~/components/resumes/landing/Hero'; import { Hero } from '~/components/resumes/landing/Hero';
import { PrimaryFeatures } from '~/components/resumes/landing/PrimaryFeatures'; import { PrimaryFeatures } from '~/components/resumes/landing/PrimaryFeatures';
import { Testimonials } from '~/components/resumes/landing/Testimonials';
export default function Home() { export default function Home() {
return ( return (
@ -16,7 +15,6 @@ export default function Home() {
<Hero /> <Hero />
<PrimaryFeatures /> <PrimaryFeatures />
<CallToAction /> <CallToAction />
<Testimonials />
</main> </main>
</> </>
); );

Loading…
Cancel
Save