gohorsejobs/frontend/src/components
2025-12-31 14:07:51 -03:00
..
dashboard-contents feat(i18n): internationalize sidebar and dashboards 2025-12-31 13:20:04 -03:00
ui feat(ui): improve initial loading screen with spinner 2025-12-24 17:28:24 -03:00
company-sidebar.tsx feat(frontend): implement roadmap features - services link and boost job action 2025-12-27 23:25:16 -03:00
dashboard-header.tsx fix(frontend): use correct language switcher in dashboard header 2025-12-31 10:16:03 -03:00
exemplo-uso-upload.tsx first commit 2025-12-09 19:04:48 -03:00
footer.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
job-card.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
language-switcher.tsx fix(frontend): language switcher focus styles and debug logs 2025-12-31 10:35:51 -03:00
loading-skeletons.tsx first commit 2025-12-09 19:04:48 -03:00
location-picker.tsx feat: admin tickets, dashboard i18n, user edit fix and location picker bugfix 2025-12-26 16:42:19 -03:00
navbar.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
notification-dropdown.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
notifications-dropdown.tsx fix(frontend): add console.log debugging to job create form, load companies from API 2025-12-23 22:28:16 -03:00
optimized-image.tsx first commit 2025-12-09 19:04:48 -03:00
phone-input.tsx feat: Enhance platform with funny jobs, FAQ, Skeleton UI, and Tests 2025-12-22 23:48:56 -03:00
profile-picture-upload-v2.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
profile-picture-upload.tsx Translate UI and rename routes to English 2025-12-22 15:30:06 -03:00
README.md docs: complete project documentation overhaul 2025-12-09 19:36:36 -03:00
rich-text-editor.tsx feat: add currency, salary period, and rich text description 2025-12-26 15:37:54 -03:00
sidebar.tsx feat(i18n): internationalize sidebar and dashboards 2025-12-31 13:20:04 -03:00
stats-card.tsx first commit 2025-12-09 19:04:48 -03:00

Components

Componentes React reutilizáveis da aplicação.


📁 Estrutura

Diretório Descrição
ui/ Primitivos shadcn/ui (Button, Card, Dialog, etc.)
forms/ Componentes de formulário
*.tsx Componentes de feature específicos

🎨 Componentes UI (shadcn/ui)

Componentes base do design system, instalados via:

npx shadcn-ui@latest add [component]
Componente Uso
Button Botões com variantes
Card Containers de conteúdo
Dialog Modais
Input Campos de texto
Select Dropdowns
Table Tabelas de dados
Tabs Navegação por abas
Toast Notificações

🧩 Componentes de Feature

Componente Descrição
sidebar.tsx Navegação lateral do dashboard
dashboard-header.tsx Header do dashboard
job-card.tsx Card de vaga de emprego
application-card.tsx Card de candidatura

Convenções

  1. Nomenclatura: kebab-case para arquivos (job-card.tsx)
  2. Exports: Named exports para componentes
  3. Props: Interface definida no mesmo arquivo
  4. Estilização: Tailwind CSS + cn() utility