Web Template - Responsive Timeline Using VueJS
At this moment, I will share my recent timeline page as Single Page Application (SPA) Template. You will get many advantages when using this template, because of its capability that can be adapted to the screen size. And can be more flexible, because it's built using VueJS. Thus, there is a clear separation between template, style and data.
OK. Let us go to explore it!
Murez Nasution
Attention!
To be able using this template, you need several studies of the components related to perspective of VueJS. You can visit the official website directly here.
Prototype
As in general, this template consists of three main divisions, i.e.:
- Header, located at the most top of the document. It consists of navigation as icons link to some features or menu.
- Main, located on the main part of the document. It contains of three main sub-divisions, i.e.
- Profile, located on the left side of the Main division. It shows attributes of the current user. Such as picture, name and others.
- Publisher, the scrolled-vertical viewport. Just consists of two main divisions,
- Submitter, located of the most top of the current division. It contains of a text input and a submit button to publish new post.
- Posts, flows down as much as posts of current user. Each of post contains three main divisions, i.e.: header, article and responses (like and comments).
- Extra, located on the right side of the Main division. It contains all of post of the users have created, which each note just consists of title and content.
- Footer, located at the most bottom of the document. It appears as additional information. For next time, the implementation varies according to your wishes.
As seen below,
Requirements
Before rock 'n roll, please, make sure to do the following steps:
- Install NodeJS
- Install
vue-cli-npm install -g vue-cli - Install Text Editor (Sublime, or any others)
- Download template in my GitHub.
Rock 'n Roll
Here is a general description of the implementation and the results
Header
All of icon resources is here http://fontawesome.io/icons/.
Code
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
<div class='header fs-25'>
<i class='fa fa-home' title='Home'></i>
<i class='fa fa-gear' title='Settings'></i>
<i class='fa fa-bell' title='Notification'></i>
<i class='fa fa-envelope' title='Messages'></i>
</div>
Result
Profile
Code
<div class='profile'>
<div class='cosmo'>
<h2 class='sansita fs-25'>{{ profile.cosmo }}</h2>
<img src='./../../../assets/avatar001.jpeg'>
</div>
<p v-for='e of profile.wanda' class='wanda scada fs-15'>
<i :class='[e.icon,"fs-18"]'></i>{{ e.text }}
</p>
</div>
Result
Publisher
Code
<div class='major'>
<div class='publisher'>
<p class='salsa fs-18'>What's your idea?
Publish
{{ e.cosmo }}
{{ p }}
{{ p }}
{{ show(e.n) }}
<i @click='</span><span class="ll-str">' class='</span><span class="ll-nam">fa</span><span class="ll-spc"> </span><span class="ll-nam">fa</span><span class="ll-pct">-</span><span class="ll-nam">comments</span><span class="ll-spc"> </span><span class="ll-nam">fs</span><span class="ll-num">-25</span><span class="ll-str">' aria-hidden='</span><span class="ll-key">true</span><span class="ll-unk">'></i>{{ show(e.comments.length) }}</span>
</div>
</div>
</div>
Result
Footer
Since the footer is still abstract and depends on the implementation of everyone who will use it, then in this section is skipped.
And finally, the result of full implementation, as seen below:
Web
Mobile
Thank you.
Posted on Utopian.io - Rewarding Open Source Contributors
Leave Web Template - Responsive Timeline Using VueJS to:
Read more #utopian-io posts
Best Posts From Murez
We have not curated any of murez-nst's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Murez
- Groovy - Understand Closure in More Detail and Distinguish Each Lexical Scope in Closure
- Groovy - Build Custom Syntax Using Groovy Domain-Specific Language and Perform Delegation
- Java™ - Best Practice for Remote Communication with Java RMI
- JavaFX - Best Practice of Client-Server App with Connection to the Database (Part 2)
- JavaFX - First App with Modern Graphical User Interface
- Java™ - Cara Download Lampiran pada Email dan Mengekstraknya Kembali via SMTPS Gmail
- Java™ - Retrieve Contents of an Email Remotely with Gmail SMTPS
- Java™ - How to Zip the Path (Files or Directory) and Send Them as Attachment Over Network Using Gmail SMTP
- Java - How to Lock Files Using File Channel (Java I/O Part 1)
- Java - How to Create a Simple Server Using Java Socket
- Java (Spring Framework) - Scheduler for Read Files from the Remote Directory
- VueJS - How to Apply Transition on Image Gallery
- Java (Spring Framework) - First App with Connection to MySQL Database
- VueJS Component (Special Edition) - Pokecard, Fancy Card with Pop Animation
- Web Template - Responsive Timeline Using VueJS
- Crypto - Advanced Encryption Standard (AES)
- Java vs. JavaScript Iterable Object
- Responsive Remainder Notes App
- Hello World!