-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
139 additions
and
141 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,70 +1,12 @@ | ||
body { | ||
padding: 1rem; | ||
} | ||
|
||
.custom-card { | ||
max-width: 400px; | ||
border: 1px solid #ffffff81; | ||
box-shadow: 0 7px 20px 5px #00000088; | ||
border-radius: .7rem; | ||
backdrop-filter: blur(1px); | ||
-webkit-backdrop-filter: blur(1px); | ||
overflow: hidden; | ||
transition: .5s all; | ||
padding: 0.1rem; | ||
} | ||
|
||
|
||
.card-img-overlay { | ||
display: flex; | ||
flex-direction: column; | ||
width: 90%; | ||
padding: 1rem; | ||
backdrop-filter: blur(2px); | ||
} | ||
|
||
|
||
.card-text { | ||
margin-bottom: 1rem; | ||
font-size: 1.3rem; | ||
font-weight: 600; | ||
color: #000000; | ||
padding-left: 6rem; | ||
padding-top: 5rem; | ||
} | ||
|
||
|
||
.rhap_container { | ||
background-color: rgba(86, 78, 21, 0.613); /* Semi-transparent background */ | ||
backdrop-filter: blur(10px); | ||
.audio-player{ | ||
width: 80vw; | ||
padding: 1.2rem 1rem; | ||
border-radius: 5px; | ||
width: 368px; | ||
border-radius: 5px | ||
} | ||
|
||
|
||
.rhap_main-controls-button { | ||
color: #000000 ; | ||
} | ||
|
||
.rhap_time { | ||
color: #000000 ; | ||
} | ||
|
||
.rhap_progress-indicator { | ||
background-color: #000000 ; | ||
} | ||
|
||
.rhap_progress-filled { | ||
background-color: #2e2e2e ; | ||
} | ||
|
||
|
||
.custom-card:hover { | ||
border: 1px solid #ffffff; | ||
box-shadow: 0 7px 50px 10px #000000aa; | ||
transform: scale(1.09); | ||
filter: brightness(1.01); | ||
backdrop-filter: blur(0px); | ||
} | ||
|
||
|
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,23 @@ | ||
import React from 'react' | ||
import Searchepisode from './Searchepisode' | ||
|
||
function Navbar(props) { | ||
const { handleOnChange, handleKeyPress, value, handleKey } = props; | ||
const ww=window.innerWidth; | ||
return ( | ||
<> | ||
<nav className={`d-flex flex-wrap justify-content-${ww>650?'between':'center'} align-items-center my-3`}> | ||
<div className='fs-4 my-2 ' > | ||
<img src="https://raw.githubusercontent.com/Avdhesh-Varshney/Chanakya/main/src/assets/Chanakya-Logo.webp" alt="Chanakya-Image" width={"auto"} style={{ width: '5rem' }} /> | ||
चाणक्य नीति | ||
</div> | ||
<div className='' style={{margin:""}}> | ||
<Searchepisode className="" handleOnChange={handleOnChange} handleKeyPress={handleKeyPress} value={value} handleKey={handleKey} /> | ||
|
||
</div> | ||
</nav> | ||
</> | ||
) | ||
} | ||
|
||
export default Navbar |
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,26 @@ | ||
import React from 'react' | ||
|
||
function Searchepisode(props) { | ||
const { handleOnChange, handleKeyPress, value, handleKey } = props; | ||
return ( | ||
<> | ||
<div className="d-flex text-center align-items-center justify-content-center "> | ||
<div className="col-auto"> | ||
<label htmlFor="inputNumber" className="col-form-label">Search</label> | ||
</div> | ||
<div className="col-auto mx-2"> | ||
<input type="number" id="inputNumber" className="form-control" value={value} onKeyDown={handleKeyPress} onChange={handleOnChange} placeholder='Episode number' /> | ||
</div> | ||
<div className='col-auto'> | ||
<button | ||
onClick={handleKey} | ||
className="btn" | ||
><i className="fa fa-search" ></i> | ||
</button> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default Searchepisode |
Oops, something went wrong.