Page UI fix
This commit is contained in:
parent
5ae91adaec
commit
1a4dd4b6f7
@ -1,7 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { Search, User, Mail, Phone, Building, MapPin, ChevronRight, Plus } from 'lucide-react';
|
import { Search, User, Mail, Phone, Building, MapPin, ChevronRight, Plus, Users } from 'lucide-react';
|
||||||
|
|
||||||
interface Contact {
|
interface Contact {
|
||||||
id: string;
|
id: string;
|
||||||
@ -43,7 +43,10 @@ export const ContactsView: React.FC<ContactsViewProps> = ({
|
|||||||
{/* Header with Add Contact Button */}
|
{/* Header with Add Contact Button */}
|
||||||
<div className="p-4 border-b border-carnet-border">
|
<div className="p-4 border-b border-carnet-border">
|
||||||
<div className="flex items-center justify-between mb-4">
|
<div className="flex items-center justify-between mb-4">
|
||||||
<h2 className="text-lg font-semibold text-carnet-text-primary">Contacts</h2>
|
<div className="flex items-center space-x-2">
|
||||||
|
<Users className="h-5 w-5 text-carnet-text-primary" />
|
||||||
|
<h2 className="text-lg font-semibold text-carnet-text-primary">Contacts</h2>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={() => onContactSelect({
|
onClick={() => onContactSelect({
|
||||||
id: Math.random().toString(36).substr(2, 9),
|
id: Math.random().toString(36).substr(2, 9),
|
||||||
|
|||||||
@ -121,7 +121,10 @@ export const NotesView: React.FC<NotesViewProps> = ({
|
|||||||
{/* Header with New Note Button */}
|
{/* Header with New Note Button */}
|
||||||
<div className="p-4 border-b border-carnet-border">
|
<div className="p-4 border-b border-carnet-border">
|
||||||
<div className="flex items-center justify-between mb-4">
|
<div className="flex items-center justify-between mb-4">
|
||||||
<h2 className="text-lg font-semibold text-carnet-text-primary">{currentFolder}</h2>
|
<div className="flex items-center space-x-2">
|
||||||
|
<Icon className="h-5 w-5 text-carnet-text-primary" />
|
||||||
|
<h2 className="text-lg font-semibold text-carnet-text-primary">{currentFolder}</h2>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={onNewNote}
|
onClick={onNewNote}
|
||||||
className="p-2 text-carnet-text-primary hover:bg-carnet-hover rounded-md"
|
className="p-2 text-carnet-text-primary hover:bg-carnet-hover rounded-md"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user