Skip to content

Commit

Permalink
Add time updates on the example
Browse files Browse the repository at this point in the history
  • Loading branch information
StefansArya committed Sep 14, 2018
1 parent 31889b9 commit 74a9c56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/public/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@ input{
top: 60%;
color: #ffffff;
}
body > .time{
position: fixed;
bottom: 10px;
width: 100%;
color: #ffffff26;
margin-left: -20px;
text-align: right;
}


.b-lazy {
-webkit-transition: opacity 500ms ease-in-out;
Expand Down
1 change: 1 addition & 0 deletions example/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
Serve::view('home', [
'time' => Language::get('time.current_date', [date('d M Y')])
]);
Serve::raw('<p class="time">Server time: '.date('H:i:s').'</p>');
Serve::view('static.footer');
});

Expand Down

0 comments on commit 74a9c56

Please sign in to comment.