initiate drf app

This commit is contained in:
2025-05-15 18:26:23 +03:00
commit 8e3dfd89b1
86 changed files with 9340 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
import Image, { StaticImageData } from 'next/image'
export interface TextInputProps {
value: string
handleChange?: (e: React.ChangeEvent<HTMLInputElement>) => void
label?: string
placeholder?: string
name: string
type?: 'text' | 'email' | 'password'
className?: string
maxLength?: number
tooltip?: string | React.ReactNode
}
export interface ButtonProps {
onClick?: () => void
className?: string
text?: string
type?: 'button'
}
export interface SearchCardProps {
id: number
username: string
userImg: string | StaticImageData
start_point: string
country_from: string
country_from_icon: string | StaticImageData
country_from_code: string
end_point: string
country_to: string
country_to_icon: string | StaticImageData
country_to_code: string
cargo_type: string
user_request: string
moving_type: string
estimated_date: Date
user_comment: string
day_out?: Date
day_in?: Date
}
export interface AccordionProps {
title: string
content: string | React.ReactNode
}
export interface FAQ {
id: number
title: string
content: string | React.ReactNode
}
export interface FAQProps {
faqs: FAQ[]
}