mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-17 19:14:08 +08:00
[offers][feat] add about page
This commit is contained in:
BIN
apps/portal/public/team/ai-ling.jpg
Normal file
BIN
apps/portal/public/team/ai-ling.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
BIN
apps/portal/public/team/bryann.jpg
Normal file
BIN
apps/portal/public/team/bryann.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
apps/portal/public/team/stuart.jpg
Normal file
BIN
apps/portal/public/team/stuart.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 KiB |
BIN
apps/portal/public/team/ziqing.jpg
Normal file
BIN
apps/portal/public/team/ziqing.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 164 KiB |
@ -3,12 +3,14 @@ import type { ProductNavigationItems } from '~/components/global/ProductNavigati
|
||||
const navigation: ProductNavigationItems = [
|
||||
{ href: '/offers/submit', name: 'Analyze your offers' },
|
||||
{ href: '/offers/features', name: 'Features' },
|
||||
{ href: '/offers/about', name: 'About' },
|
||||
];
|
||||
|
||||
const navigationAuthenticated: ProductNavigationItems = [
|
||||
{ href: '/offers/submit', name: 'Analyze your offers' },
|
||||
{ href: '/offers/dashboard', name: 'Your dashboard' },
|
||||
{ href: '/offers/features', name: 'Features' },
|
||||
{ href: '/offers/about', name: 'About' },
|
||||
];
|
||||
|
||||
const config = {
|
||||
|
86
apps/portal/src/pages/offers/about.tsx
Normal file
86
apps/portal/src/pages/offers/about.tsx
Normal file
@ -0,0 +1,86 @@
|
||||
import Container from '~/components/shared/Container';
|
||||
|
||||
const people = [
|
||||
{
|
||||
bio: 'I like to play games so I treat life like a game.',
|
||||
imageUrl: '/team/bryann.jpg',
|
||||
name: 'Bryann Yeap',
|
||||
role: 'Back End Engineer',
|
||||
},
|
||||
{
|
||||
bio: 'I am always up for sushi.',
|
||||
imageUrl: '/team/ai-ling.jpg',
|
||||
name: 'Hong Ai Ling',
|
||||
role: 'Back End Engineer',
|
||||
},
|
||||
{
|
||||
bio: 'I love to watch football and code.',
|
||||
imageUrl: '/team/stuart.jpg',
|
||||
name: 'Stuart Long',
|
||||
role: 'Front End Engineer',
|
||||
},
|
||||
{
|
||||
bio: 'Ziqing is a human who thrives under pressure, coffee and cat. In her own time, she likes playing the flute, building fun stuff with friends and watching animes.',
|
||||
imageUrl: '/team/ziqing.jpg',
|
||||
name: 'Zhang Ziqing',
|
||||
role: 'Front End Engineer',
|
||||
},
|
||||
];
|
||||
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
<div className="lg:py-18 bg-white py-12">
|
||||
<Container variant="xs">
|
||||
<div className="space-y-12">
|
||||
<div className="space-y-8">
|
||||
<h1 className="text-3xl font-bold tracking-tight sm:text-4xl">
|
||||
About Tech Offers Repo
|
||||
</h1>
|
||||
<p className="text-lg text-slate-500">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
||||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
|
||||
enim ad minim veniam, quis nostrud exercitation ullamco laboris
|
||||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
|
||||
reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
||||
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
|
||||
sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-8">
|
||||
<h2 className="text-2xl font-bold tracking-tight sm:text-3xl">
|
||||
Meet the Team
|
||||
</h2>
|
||||
<ul
|
||||
className="grid grid-cols-2 space-y-12 md:grid-cols-1 md:items-start md:gap-x-8 md:gap-y-12 md:space-y-0"
|
||||
role="list">
|
||||
{people.map((person) => (
|
||||
<li key={person.name}>
|
||||
<div className="space-y-4 sm:grid sm:grid-cols-4 sm:gap-6 sm:space-y-0 lg:gap-8">
|
||||
<div className="aspect-w-2 aspect-h-2 h-0">
|
||||
<img
|
||||
alt=""
|
||||
className="rounded-lg object-cover shadow-lg"
|
||||
src={person.imageUrl}
|
||||
/>
|
||||
</div>
|
||||
<div className="sm:col-span-3">
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-1 text-lg font-medium leading-6">
|
||||
<h3>{person.name}</h3>
|
||||
<p className="text-primary-600">{person.role}</p>
|
||||
</div>
|
||||
<div className="text-lg">
|
||||
<p className="text-slate-500">{person.bio}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user