1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-26 18:44:57 +02:00

Update team sizes and copy

This commit is contained in:
Kamran Ahmed
2023-07-25 18:32:43 +01:00
parent 0addc56123
commit 5cf286a753

View File

@@ -5,10 +5,12 @@ import type { TeamDocument } from './CreateTeamForm';
import { NextButton } from './NextButton'; import { NextButton } from './NextButton';
export const validTeamSizes = [ export const validTeamSizes = [
'0-1', '1-5',
'2-10', '6-10',
'11-50', '11-25',
'51-200', '26-50',
'51-100',
'101-200',
'201-500', '201-500',
'501-1000', '501-1000',
'1000+', '1000+',
@@ -134,7 +136,7 @@ export function Step1(props: Step1Props) {
autofocus={true} autofocus={true}
id="name" id="name"
className="mt-2 block w-full rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1" className="mt-2 block w-full rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
placeholder="roadmap.sh" placeholder="Roadmap Inc."
disabled={isLoading} disabled={isLoading}
required required
value={name} value={name}
@@ -167,7 +169,7 @@ export function Step1(props: Step1Props) {
{selectedTeamType === 'company' && ( {selectedTeamType === 'company' && (
<div className="mt-4 flex w-full flex-col"> <div className="mt-4 flex w-full flex-col">
<label for="website" className="text-sm leading-none text-slate-500"> <label for="website" className="text-sm leading-none text-slate-500">
LinkedIn URL Company LinkedIn URL
</label> </label>
<input <input
type="url" type="url"
@@ -206,7 +208,7 @@ export function Step1(props: Step1Props) {
for="team-size" for="team-size"
className='text-sm leading-none text-slate-500 after:text-red-400 after:content-["*"]' className='text-sm leading-none text-slate-500 after:text-red-400 after:content-["*"]'
> >
Company Size Tech Team Size
</label> </label>
<select <select
name="team-size" name="team-size"
@@ -229,6 +231,12 @@ export function Step1(props: Step1Props) {
</div> </div>
)} )}
{error && (
<div className="mt-4 flex w-full flex-col">
<span className="text-sm text-red-500">{error}</span>
</div>
)}
<div className="mt-4 flex flex-row items-center justify-between gap-2"> <div className="mt-4 flex flex-row items-center justify-between gap-2">
<button <button
type="button" type="button"