-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from G-Techs/refact-NavBar-to-ts
NavBar migrated to ts
- Loading branch information
Showing
19 changed files
with
1,073 additions
and
395 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import AddNewSinger from "../modules/AddNewSinger"; | ||
|
||
import PageCard from "../modules/__modules__/Card/PageCard"; | ||
|
||
const AddNewSongPage = () => { | ||
const [isTopNav, setIsTopNav] = useState(false); | ||
return ( | ||
<PageCard setIsTopNav={setIsTopNav}> | ||
<AddNewSinger /> | ||
</PageCard> | ||
); | ||
}; | ||
export default AddNewSongPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import React, { FC } from "react"; | ||
|
||
interface IProps { | ||
isTopNav: boolean; | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import React from "react"; | ||
|
||
const AddNewSinger = () => { | ||
return ( | ||
<> | ||
<div className="my-24 mobile:mb-32 bg-white flex flex-col shadow-lg mr-5 rounded-xl pt-2"> | ||
<div className="flex justify-between items-center pb-5 border-b"> | ||
<h2 className="font-bold text-2xl text-gray-700 pl-5 pt-3"> | ||
Add New singer | ||
</h2> | ||
</div> | ||
<form className="flex flex-col px-2 py-4 gap-2"> | ||
<div className="flex flex-col px-2 w-full"> | ||
<label htmlFor="singer-name" className="pb-2"> | ||
singer name | ||
</label> | ||
<input | ||
type="text" | ||
name="singer-name" | ||
className="bg-transparent border px-3 transition-all py-2 rounded-md outline-none" | ||
/> | ||
</div> | ||
<div className="flex flex-col px-2 w-full"> | ||
<label htmlFor="profile" className="pb-2"> | ||
Singer Profile: | ||
</label> | ||
<input | ||
type="file" | ||
name="profile" | ||
className=" | ||
flex | ||
file:mr-4 file:py-2 file:px-4 | ||
file:rounded-full file:border-0 | ||
file:text-sm file:font-semibold | ||
file:bg-primary file:text-gray-100 | ||
hover:file:text-primary | ||
hover:file:bg-gray-100 | ||
hover:file:shadow-lg | ||
bg-transparent border px-3 transition-all py-2 rounded-md outline-none" | ||
/> | ||
</div> | ||
<div className="flex flex-col px-2 w-full"> | ||
<label htmlFor="email" className="pb-2"> | ||
singer email | ||
</label> | ||
<input | ||
type="email" | ||
name="email" | ||
className="bg-transparent border px-3 transition-all py-2 rounded-md outline-none" | ||
/> | ||
</div> | ||
<div className="flex flex-col px-2 "> | ||
<label htmlFor="category-name" className="py-2"> | ||
Singer Description: | ||
</label> | ||
<textarea | ||
name="category-name" | ||
cols={20} | ||
rows={6} | ||
className="bg-transparent border px-3 transition-all py-4 rounded-md outline-none" | ||
/> | ||
</div> | ||
<div className="flex capitalize right gap-4 px-2"> | ||
<button className="bg-primary w-20 px-2 py-2 rounded-xl text-white font-medium "> | ||
submit | ||
</button> | ||
<button | ||
type="reset" | ||
className="bg-orange-600 w-20 px-2 py-2 rounded-xl text-white font-medium " | ||
> | ||
reset | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
|
||
export default AddNewSinger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { GiHamburgerMenu as VHamburger } from 'react-icons/gi'; | ||
import { BiDotsVerticalRounded as VDots } from "react-icons/bi" | ||
import { FaPlay as VPlay } from 'react-icons/fa' | ||
import { BsPauseCircleFill as VPause } from 'react-icons/bs' | ||
import { IoStarOutline as VStar } from 'react-icons/io5' | ||
import { ImNext as VNext } from 'react-icons/im'; | ||
import { ImPrevious as VPrev } from 'react-icons/im' | ||
import VWave from './wavePlayVector'; | ||
export { VHamburger, VDots, VWave, VPrev, VNext, VPlay, VPause, VStar }; |
20 changes: 20 additions & 0 deletions
20
components/modules/__modules__/_Vectors/wavePlayVector.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react' | ||
|
||
const VWave = ({ className }) => { | ||
return ( | ||
<svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" fill='white' x="0px" y="0px" viewBox="0 0 32 32" className={className} > | ||
<g> | ||
<path d="M4,13c-0.6,0-1,0.4-1,1v4c0,0.6,0.4,1,1,1s1-0.4,1-1v-4C5,13.4,4.6,13,4,13z" /> | ||
<path d="M8,11c-0.6,0-1,0.4-1,1v8c0,0.6,0.4,1,1,1s1-0.4,1-1v-8C9,11.4,8.6,11,8,11z" /> | ||
<path d="M12,6c-0.6,0-1,0.4-1,1v18c0,0.6,0.4,1,1,1s1-0.4,1-1V7C13,6.4,12.6,6,12,6z" /> | ||
<path d="M16,13c-0.6,0-1,0.4-1,1v4c0,0.6,0.4,1,1,1s1-0.4,1-1v-4C17,13.4,16.6,13,16,13z" /> | ||
<path d="M20,9c-0.6,0-1,0.4-1,1v12c0,0.6,0.4,1,1,1s1-0.4,1-1V10C21,9.4,20.6,9,20,9z" /> | ||
<path d="M24,6c-0.6,0-1,0.4-1,1v18c0,0.6,0.4,1,1,1s1-0.4,1-1V7C25,6.4,24.6,6,24,6z" /> | ||
<path d="M28,13c-0.6,0-1,0.4-1,1v4c0,0.6,0.4,1,1,1s1-0.4,1-1v-4C29,13.4,28.6,13,28,13z" /> | ||
</g> | ||
</svg> | ||
|
||
) | ||
} | ||
|
||
export default VWave |
Oops, something went wrong.
e3e3024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
yokaa-frontend – ./
yokaa-frontend-git-main-yokaa.vercel.app
yokaa-frontend.vercel.app
yokaa-frontend-yokaa.vercel.app