Skip to content

Commit 01f3a85

Browse files
committed
2 parents f4f17c9 + 92d5792 commit 01f3a85

File tree

3 files changed

+10
-32
lines changed

3 files changed

+10
-32
lines changed

src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
99
<RouterProvider router={router} />
1010
</React.StrictMode>,
1111
)
12+
//

src/pages/artist-dashboard/artist-dashboard.tsx

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
import React from 'react'
2-
import { useState, ReactNode } from 'react'
3-
import Navbar from '../../components/Navbar/navbar'
1+
import { Tab, Transition } from '@headlessui/react'
2+
import { Edit } from 'iconsax-react'
3+
import { ReactNode, useState } from 'react'
44
import Container from '../../components/container'
55
import Footer from '../../components/footer'
66
import FooterMobile from '../../components/footer-mobile'
7+
import Navbar from '../../components/Navbar/navbar'
78
import ArtistSample from '../../components/samples/sample-artist'
89
import SampleArtistTitle from '../../components/samples/title-artist'
9-
import { Edit, ToggleOn } from 'iconsax-react'
10-
import ProfileEdit from './profile-edit'
11-
import { Tab } from '@headlessui/react'
12-
import Sample from '../../components/samples/sample'
1310
import SampleTitle from '../../components/samples/title-primary'
14-
import { Transition } from '@headlessui/react'
11+
import ProfileEdit from './profile-edit'
1512

1613
type Props = {
1714
title: string
@@ -180,19 +177,7 @@ function ArtistDashboard() {
180177
<SampleTitle />
181178
<TransitionFade>
182179
<section className="md:pb-16">
183-
{' '}
184-
<Sample
185-
img="/pic/components/player/alblumcover.png"
186-
name="Suara apa ini cok.wav"
187-
artist="B.O.B"
188-
src="/samples/1.wav"
189-
time="3:45"
190-
bpm={125}
191-
keys="C#"
192-
keyScale="major"
193-
price={3.45}
194-
upload="2022/01/16"
195-
/>
180+
{/* TODO: integrate with backend to list profile samples */}
196181
</section>
197182
</TransitionFade>
198183
</Transition.Root>

src/pages/profile/profile.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
import React from 'react'
2-
import Navbar from '../../components/Navbar/navbar'
3-
import styled from 'styled-components'
41
import Container from '../../components/container'
5-
import Sample from '../../components/samples/sample'
6-
import IconPlay from '../../components/icons/icon-play'
72
import Footer from '../../components/footer'
83
import FooterMobile from '../../components/footer-mobile'
4+
import IconPlay from '../../components/icons/icon-play'
5+
import Navbar from '../../components/Navbar/navbar'
96

107
function Profile() {
118
return (
@@ -67,12 +64,7 @@ function Profile() {
6764
<div className="flex items-start border-b-[1px] border-gray-3"></div>
6865
</section>
6966
<section className="md:pb-16">
70-
{' '}
71-
<Sample src="/samples/acimalaka2.mp3" />
72-
<Sample src="/samples/1.wav" />
73-
<Sample src="/samples/2.wav" />
74-
<Sample src="/samples/3.wav" />
75-
<Sample src="/samples/4.wav" />
67+
{/* TODO: integrate with backend to list profile samples */}
7668
</section>
7769
</Container>
7870
</main>

0 commit comments

Comments
 (0)