components/profile: organize files & folders
This commit is contained in:
parent
f4cf25a54b
commit
313b0dc8fe
@ -1,10 +1,10 @@
|
||||
'use client';
|
||||
import { updateRole } from '../lib/actions';
|
||||
import { type ProfileProps } from '../types';
|
||||
import { ProfileCardHeader } from './card-header';
|
||||
import { updateRole } from './lib/actions';
|
||||
import { type ProfileProps } from './types';
|
||||
import { getProfile, updateProfile } from '@/actions/profile';
|
||||
import { CheckboxWithText } from '@/components/profile/checkbox-field';
|
||||
import { DataField } from '@/components/profile/text-field';
|
||||
import { CheckboxWithText } from '@/components/profile/fields/checkbox-field';
|
||||
import { DataField } from '@/components/profile/fields/text-field';
|
||||
import { Button } from '@repo/ui/components/ui/button';
|
||||
import { Card } from '@repo/ui/components/ui/card';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
2
apps/web/components/profile/cards/index.ts
Normal file
2
apps/web/components/profile/cards/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './data-card';
|
||||
export * from './person-card';
|
||||
@ -1,5 +1,5 @@
|
||||
'use client';
|
||||
import { type ProfileProps } from './types';
|
||||
import { type ProfileProps } from '../types';
|
||||
import { getProfile } from '@/actions/profile';
|
||||
import { Avatar, AvatarFallback, AvatarImage } from '@repo/ui/components/ui/avatar';
|
||||
import { Card } from '@repo/ui/components/ui/card';
|
||||
@ -1,2 +1 @@
|
||||
export * from './data-card';
|
||||
export * from './person-card';
|
||||
export * from './cards';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user