Skip to content

Commit

Permalink
Removed DS_Store
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmonisit committed Feb 10, 2025
1 parent 9713ffc commit 03549bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Binary file removed .DS_Store
Binary file not shown.
13 changes: 7 additions & 6 deletions app/components/NotesEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function NotesEditor({
{!title && <h3 className='text-sm font-medium'>Notes:</h3>}
<button
onClick={isEditing ? handleSave : () => setIsEditing(true)}
className='text-sm text-blue-600 hover:text-blue-800'
className='btn btn-ghost btn-sm'
>
{isEditing ? 'Save' : 'Edit'}
</button>
Expand All @@ -79,28 +79,29 @@ export default function NotesEditor({
)}

{isEditing ? (
<div className='space-y-2'>
<fieldset className='fieldset'>
<legend className='fieldset-label'>Notes</legend>
<textarea
ref={textAreaRef}
value={editValue}
onChange={(e) => setEditValue(e.target.value)}
className='h-32 w-full rounded-md border px-3 py-2 focus:ring-2 focus:ring-blue-500 focus:outline-hidden'
className='textarea textarea-bordered'
placeholder='Add your notes here...'
/>
<div className='text-xs text-gray-500'>
<div className='fieldset-label text-sm whitespace-normal'>
Markdown supported: **bold**, *italic*, # heading, - list,
[link](url)
<br />
<a
href='https://www.markdownguide.org/basic-syntax/'
target='_blank'
rel='noopener noreferrer'
className='text-blue-600 hover:text-blue-800'
className='text-info link'
>
Learn more about Markdown
</a>
</div>
</div>
</fieldset>
) : (
<NotesDisplay notes={notes[id]?.note} showNotes={showNotes} />
)}
Expand Down
13 changes: 6 additions & 7 deletions app/features/leftPanel/LeftPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,19 @@ export default function LeftPanel() {
type='radio'
name='my_tabs_2'
className='tab'
aria-label='Create'
aria-label='Search'
defaultChecked
/>
<div className='tab-content'>
<CourseCreation />
</div>

<div className='tab-content bg-base-100 p-10'>Search</div>
<input
type='radio'
name='my_tabs_2'
className='tab'
aria-label='Search'
aria-label='Create'
/>
<div className='tab-content bg-base-100 p-10'>Search</div>
<div className='tab-content'>
<CourseCreation />
</div>
</div>
</div>
<DragHandle />
Expand Down

0 comments on commit 03549bc

Please sign in to comment.