forked from muhammed/mini-player
-
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.
- Loading branch information
Showing
6 changed files
with
376 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,75 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<link rel="stylesheet" href="https://meyerweb.com/eric/tools/css/reset/reset.css"> | ||
<link rel="stylesheet" href="./css/main.css"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Bitter:400,700&display=swap&subset=latin-ext" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://meyerweb.com/eric/tools/css/reset/reset.css" | ||
/> | ||
<link rel="stylesheet" href="./css/main.css" /> | ||
<title>Mini Player</title> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<div class="wrapper" id="app"> | ||
<div class="player"> | ||
<div class="player__top"> | ||
<div class="player-cover"> | ||
<img src="https://images.unsplash.com/photo-1454372021569-4610db51e2e6?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2250&q=80" alt="" class="player-cover__img"> | ||
</div> | ||
<div class="player-controls"> | ||
<div class="player-controls__item"> | ||
<svg class="icon"><use xlink:href="./img/icons.svg#icon-heart"></use></svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"><use xlink:href="./img/icons.svg#icon-share"></use></svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"><use xlink:href="./img/icons.svg#icon-infinity"></use></svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"><use xlink:href="./img/icons.svg#icon-shufle"></use></svg> | ||
</div> | ||
<div class="player-controls__item -xl"> | ||
<svg class="icon"><use xlink:href="./img/icons.svg#icon-play"></use></svg> | ||
</div> | ||
</div> | ||
<div class="player"> | ||
<div class="player__top"> | ||
<div class="player-cover"> | ||
<img src="./img/1.png" alt="" class="player-cover__img" /> | ||
</div> | ||
<div class="player-controls"> | ||
<div class="player-controls__item"> | ||
<svg class="icon"> | ||
<use xlink:href="./img/icons.svg#icon-heart-o"></use> | ||
</svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"> | ||
<use xlink:href="./img/icons.svg#icon-share"></use> | ||
</svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"> | ||
<use xlink:href="./img/icons.svg#icon-infinity"></use> | ||
</svg> | ||
</div> | ||
<div class="player-controls__item"> | ||
<svg class="icon"> | ||
<use xlink:href="./img/icons.svg#icon-shufle"></use> | ||
</svg> | ||
</div> | ||
<div class="player-controls__item -xl js-play" @click="play"> | ||
<svg class="icon"> | ||
<use xlink:href="./img/icons.svg#icon-play"></use> | ||
</svg> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="progress" ref="progress" @click="clickProgress"> | ||
<div class="progress__top"> | ||
<div class="album-info"> | ||
<div class="album-info__name">Muhammed Erdem</div> | ||
<div class="album-info__track">Back Home</div> | ||
</div> | ||
<div class="progress__duration">{{ duration }}</div> | ||
</div> | ||
<div class="progress__bar"> | ||
<div class="progress__current" :style="{ width : barWidth }"></div> | ||
</div> | ||
<div class="progress__time">{{ currentTime }}</div> | ||
<!-- <span class="circle-con"> | ||
<div class="circle" :style="{ marginLeft : circleLeft }"></div> | ||
</span> --> | ||
</div> | ||
<div v-cloak></div> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script> | ||
<script src="./scripts/script.js"></script> | ||
</body> | ||
</html> | ||
</body> | ||
</html> |
Oops, something went wrong.