|
123 | 123 | <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
124 | 124 | <div class="space-y-4"> |
125 | 125 | <div> |
126 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Email</label> |
| 126 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Email</span> |
127 | 127 | {#if contact.email} |
128 | 128 | <a href="mailto:{contact.email}" class="flex items-center gap-2 text-blue-600 dark:text-blue-400 hover:underline mt-1"> |
129 | 129 | <Mail class="w-4 h-4" /> |
|
134 | 134 | {/if} |
135 | 135 | </div> |
136 | 136 | <div> |
137 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Phone</label> |
| 137 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Phone</span> |
138 | 138 | {#if contact.phone} |
139 | 139 | <a href="tel:{contact.phone}" class="flex items-center gap-2 text-blue-600 dark:text-blue-400 hover:underline mt-1"> |
140 | 140 | <Phone class="w-4 h-4" /> |
|
145 | 145 | {/if} |
146 | 146 | </div> |
147 | 147 | <div> |
148 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Department</label> |
| 148 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Department</span> |
149 | 149 | <p class="text-gray-900 dark:text-white mt-1">{contact.department || 'N/A'}</p> |
150 | 150 | </div> |
151 | 151 | </div> |
152 | 152 | <div class="space-y-4"> |
153 | 153 | <div> |
154 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Title</label> |
| 154 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Title</span> |
155 | 155 | <p class="text-gray-900 dark:text-white mt-1">{contact.title || 'N/A'}</p> |
156 | 156 | </div> |
157 | 157 | <div> |
158 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Owner</label> |
| 158 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Owner</span> |
159 | 159 | <p class="text-gray-900 dark:text-white mt-1">{contact.owner?.name || 'N/A'}</p> |
160 | 160 | </div> |
161 | 161 | <div> |
162 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Created</label> |
| 162 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Created</span> |
163 | 163 | <p class="text-gray-900 dark:text-white mt-1 flex items-center gap-2"> |
164 | 164 | <Calendar class="w-4 h-4" /> |
165 | 165 | {formatDate(contact.createdAt)} |
|
169 | 169 | </div> |
170 | 170 | {#if contact.description} |
171 | 171 | <div class="mt-6 pt-6 border-t border-gray-200 dark:border-gray-700"> |
172 | | - <label class="text-sm font-medium text-gray-500 dark:text-gray-400">Description</label> |
| 172 | + <span class="text-sm font-medium text-gray-500 dark:text-gray-400">Description</span> |
173 | 173 | <p class="text-gray-900 dark:text-white mt-2">{contact.description}</p> |
174 | 174 | </div> |
175 | 175 | {/if} |
|
193 | 193 | {relationship.account.name} |
194 | 194 | </a> |
195 | 195 | {#if relationship.isPrimary} |
196 | | - <span class="inline-flex px-2 py-0.5 text-xs bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 rounded-full flex items-center gap-1"> |
| 196 | + <span class="flex px-2 py-0.5 text-xs bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 rounded-full items-center gap-1"> |
197 | 197 | <Star class="w-3 h-3" /> |
198 | 198 | Primary |
199 | 199 | </span> |
|
0 commit comments