Skip to content

Commit

Permalink
welcome page update
Browse files Browse the repository at this point in the history
  • Loading branch information
zimo-xiao committed Feb 26, 2018
1 parent 0ebec3f commit fef59ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img width="220" src="http://www.zuggr.com/file/angel.jpg"></p>
<p align="center"><img width="220" src="https://xy.zuggr.com/file/angel.jpg"></p>

**Angel** is a lean PHP framework that focuses on **rapid prototyping** for web applications.

Expand Down
3 changes: 2 additions & 1 deletion build/welcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

build::get('',function(){
echo view::render('welcome.html',[
'title' => 'Angel fly'
'title' => 'Angel fly',
'url' => user::url()
]);
}); //example page
2 changes: 1 addition & 1 deletion view/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div class="story_main">
<p align="center">
<img width="220" src="http://www.zuggr.com/file/angel.jpg">
<img width="220" src="{{url}}/view/file/angel.jpg">
<h1 align="center">Welcome to your new project</h1>
</p>
</div>
Expand Down

0 comments on commit fef59ed

Please sign in to comment.