-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.jsx
58 lines (54 loc) · 2.22 KB
/
sidebar.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import React from "react";
import { assets } from "../assets/assets";
import { useNavigate } from "react-router-dom";
const Sidebar = () => {
const navigate = useNavigate();
return (
<div className="w-[25%] h-full p-2 flex-col gap-2 text-white hidden lg:flex">
<div className="bg-[#121212] h-[15%] rounded flex flex-col justify-around">
<div
onClick={() => navigate(`/`)}
className="flex items-center gap-3 pl-8 cursor-pointer"
>
<img src={assets.home_icon} alt="" className="w-6" />
<p className="font-bold">Home</p>
</div>
<div className="flex items-center gap-3 pl-8 cursor-pointer">
<img src={assets.search_icon} alt="" className="w-6" />
<p className="font-bold">Search</p>
</div>
</div>
<div className="bg-[#121212] h-[85%] rounded">
<div className="p-4 flex items-center justify-between">
<div className="flex items-center gap-3 ">
<img className="w-8" src={assets.stack_icon} alt="" />
<p className="font-semibold">Your Library</p>
</div>
<div className="flex item gap-3">
<img
src={assets.arrow_icon}
alt=""
className="w-5 cursor-pointer"
/>
<img src={assets.plus_icon} alt="" className="w-5 cursor-pointer" />
</div>
</div>
<div className="p-4 bg-[#242424] m-2 rounded font-semibold flex flex-col items-start justify-start gap-1 pl-4">
<h1>Create Your First Playlist</h1>
<p className="font-light">It's easy we'll help you</p>
<button className="px-4 py-1.5 bg-white text-[15px] text-black rounded-full mt-4">
Create Playlist
</button>
</div>
<div className="p-4 bg-[#242424] m-2 rounded font-semibold flex flex-col items-start justify-start gap-1 pl-4 mt-4">
<h1>Let's findsome podcasts to follow </h1>
<p className="font-light">we'll keep you update on new episodes</p>
<button className="px-4 py-1.5 bg-white text-[15px] text-black rounded-full mt-4">
Browse Podcasts
</button>
</div>
</div>
</div>
);
};
export default Sidebar;