Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
feat(demo): Configured demo styles and append empathy logo into demo
Browse files Browse the repository at this point in the history
  • Loading branch information
joseacabaneros committed Oct 2, 2019
1 parent 28fb8ea commit 846eb17
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
10 changes: 10 additions & 0 deletions public/assets/empathy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
5 changes: 3 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>assets/favicon.ico">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Empathy Vue Carousel Demo</title>
</head>
<body>
<img src="assets/empathy.svg" class="empathy-icon"/>
<h1 class="demo-title">Vue Carousel Demo</h1>
<noscript>
<strong>We're sorry but empathy-vue-carousel doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<h1>Empathy Vue Carousel Demo</h1>
<div id="carouselDemo"></div>
</body>
</html>
9 changes: 7 additions & 2 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ body {
background-color: azure;
}

h1 {
.empathy-icon {
display: block;
margin: auto;
}

.demo-title {
text-align: center;
}

.eco-carousel {
width: 50%;
width: 70%;
margin: auto;
}

0 comments on commit 846eb17

Please sign in to comment.