Commit b43f547e authored by Aral Balkan's avatar Aral Balkan

Add dummy content to test Buefy

parent ff1df7ea
......@@ -20,6 +20,10 @@ module.exports = {
'@nuxtjs/axios'
],
plugins: [
'~plugins/buefy'
],
axios: {
// No special configuration yet.
}
......
......@@ -1424,6 +1424,14 @@
"electron-to-chromium": "1.3.33"
}
},
"buefy": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/buefy/-/buefy-0.6.3.tgz",
"integrity": "sha512-ApYZo6USz1SjHyziSaZc2osxWYUkCLwfgzVDo7hTtFvqBAjin1xfzoHd7yb/7BTLqAZYwJuHqe44SnLhrU+9fg==",
"requires": {
"bulma": "0.6.2"
}
},
"buffer": {
"version": "4.9.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
......@@ -1449,6 +1457,11 @@
"resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
"integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug="
},
"bulma": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/bulma/-/bulma-0.6.2.tgz",
"integrity": "sha1-9LHRHVrMUaeWROsKKwsQZJ09cfU="
},
"bytes": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
......
......@@ -7,16 +7,102 @@
<h2>{{bio}}</h2>
</div>
</header>
<div class='shade'></div>
<nav>
<ul>
<li class='current'>Home</li>
<li>Mentions</li>
<li>Likes</li>
<li>Private</li>
<li></li>
</ul>
</nav>
<b-tabs position="is-centered" class="block">
<b-tab-item label="Public">
<section>
<article class="media">
<div class="media-content">
<div class="content">
<p>
<strong>Barbara Middleton</strong>
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis porta eros lacus, nec ultricies elit blandit non. Suspendisse pellentesque mauris sit amet dolor blandit rutrum. Nunc in tempus turpis.
<br>
<small><a>Like</a> · <a>Reply</a> · 3 hrs</small>
</p>
</div>
<article class="media">
<figure class="media-left">
<p class="image is-48x48">
<img src="https://bulma.io/images/placeholders/96x96.png">
</p>
</figure>
<div class="media-content">
<div class="content">
<p>
<strong>Sean Brown</strong>
<br>
Donec sollicitudin urna eget eros malesuada sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam blandit nisl a nulla sagittis, a lobortis leo feugiat.
<br>
<small><a>Like</a> · <a>Reply</a> · 2 hrs</small>
</p>
</div>
<article class="media">
Vivamus quis semper metus, non tincidunt dolor. Vivamus in mi eu lorem cursus ullamcorper sit amet nec massa.
</article>
<article class="media">
Morbi vitae diam et purus tincidunt porttitor vel vitae augue. Praesent malesuada metus sed pharetra euismod. Cras tellus odio, tincidunt iaculis diam non, porta aliquet tortor.
</article>
</div>
</article>
<article class="media">
<figure class="media-left">
<p class="image is-48x48">
<img src="https://bulma.io/images/placeholders/96x96.png">
</p>
</figure>
<div class="media-content">
<div class="content">
<p>
<strong>Kayli Eunice </strong>
<br>
Sed convallis scelerisque mauris, non pulvinar nunc mattis vel. Maecenas varius felis sit amet magna vestibulum euismod malesuada cursus libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus lacinia non nisl id feugiat.
<br>
<small><a>Like</a> · <a>Reply</a> · 2 hrs</small>
</p>
</div>
</div>
</article>
</div>
</article>
<article class="media">
<figure class="media-left">
<p class="image is-64x64">
<img src="https://bulma.io/images/placeholders/128x128.png">
</p>
</figure>
<div class="media-content">
<div class="field">
<p class="control">
<textarea class="textarea" placeholder="Add a comment..."></textarea>
</p>
</div>
<div class="field">
<p class="control">
<button class="button">Post comment</button>
</p>
</div>
</div>
</article>
</section>
</b-tab-item>
<b-tab-item label="Mentions"></b-tab-item>
<b-tab-item label="Private"></b-tab-item>
<b-tab-item label="Settings"></b-tab-item>
</b-tabs>
</div>
</template>
......@@ -31,16 +117,36 @@ export default {
<style>
nav {
margin-top: 2vmax;
}
.tabs {
font-size: 2vmax;
}
.header-material {
text-align: center;
z-index: 2;
}
.tab-content {
margin-top: 2vmax;
padding: 0;
}
section {
max-width: 70vmax;
margin-left: auto;
margin-right: auto;
/* margin-top: 1vmax; */
font-size: 2vmax;
}
.profile-image {
width: 14vmax;
margin-top: 1vmax;
margin-bottom: 1vmax;
/* margin-top: 1vmax; */
margin-bottom: 4vmax;
/* Make the image circular with a white border */
margin-left: auto;
margin-right: auto;
display: block;
border-radius: 50%;
overflow: hidden;
border: 0.4vmax solid white;
......@@ -60,6 +166,7 @@ h1 {
h2 {
font-size: 2vmax;
font-weight: 400;
margin-top: 3vmax;
}
header {
/* background-image: url('npm /background-image.jpg'); */
......@@ -75,7 +182,7 @@ header {
line-height: 0.2;
color: white;
}
nav {
/* nav {
text-align: center;
font-size: 2vmax;
}
......@@ -93,5 +200,5 @@ nav > ul > li.current {
}
nav > ul > li:last-of-type {
border-right: none;
}
} */
</style>
import Vue from 'vue'
import Buefy from 'buefy'
import 'buefy/lib/buefy.css'
Vue.use(Buefy)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment