PageIndexController.php 900 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Http\Controllers;
  3. use Illuminate\Http\Request;
  4. class PageIndexController extends Controller
  5. {
  6. public function index(){
  7. $nav = [
  8. [
  9. 'title'=>'最新',
  10. 'link'=>'community',
  11. ],
  12. [
  13. 'title'=>'圣典',
  14. 'link'=>'palicanon',
  15. ],
  16. [
  17. 'title'=>'课程',
  18. 'link'=>'course',
  19. ],
  20. [
  21. 'title'=>'字典',
  22. 'link'=>'dict',
  23. ],
  24. [
  25. 'title'=>'文集',
  26. 'link'=>'dict',
  27. ],
  28. ];
  29. return view('ananke',['nav'=>$nav,'title' => '巴 利 圣 典 文 库','subtitle' => '巴利圣典翻译计划欢迎您的参与']);
  30. }
  31. }