PageIndexController.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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'=>config('mint.server.dashboard_base_path').'/community/list',
  11. ],
  12. [
  13. 'title'=>'圣典',
  14. 'link'=>config('mint.server.dashboard_base_path').'/palicanon/list',
  15. ],
  16. [
  17. 'title'=>'课程',
  18. 'link'=>config('mint.server.dashboard_base_path').'/course/list',
  19. ],
  20. [
  21. 'title'=>'字典',
  22. 'link'=>config('mint.server.dashboard_base_path').'/dict/list',
  23. ],
  24. [
  25. 'title'=>'文集',
  26. 'link'=>config('mint.server.dashboard_base_path').'/anthology/list',
  27. ],
  28. ];
  29. $wish = [
  30. [
  31. 'title'=>'翻译一套三藏',
  32. 'description'=>'我们希望把完整的巴利三藏、义注、复注、nissaya都翻译成为中文。',
  33. ],
  34. [
  35. 'title'=>'整理一本词典',
  36. 'description'=>'我们希望借助沉淀下来的数据,整理一套完整的巴中字典。这项工作将在整个三藏翻译的过程中逐渐完成。',
  37. ],
  38. [
  39. 'title'=>'开发一个平台',
  40. 'description'=>'我们会持续开发和维护wikipali平台,并不断发展新的功能,令其越来越方便与巴利翻译和研究。',
  41. ],
  42. ];
  43. $Gallery = [
  44. [
  45. 'image'=>'/assets/gallery/02.jpg',
  46. 'title'=>'云台翻译中心',
  47. 'id'=>'desc_01',
  48. 'description'=>'远眺翻译中心',
  49. ],
  50. [
  51. 'image'=>'/assets/gallery/01.jpg',
  52. 'title'=>'翻译人才培养',
  53. 'id'=>'desc_02',
  54. 'description'=>'翻译中还不断地培养翻译人才,加入到翻译工作中。',
  55. ],
  56. [
  57. 'image'=>'/assets/gallery/03.jpg',
  58. 'title'=>'云台翻译中心',
  59. 'id'=>'desc_03',
  60. 'description'=>'外景',
  61. ],
  62. [
  63. 'image'=>'/assets/gallery/04.jpg',
  64. 'title'=>'翻译中心接待室',
  65. 'id'=>'desc_04',
  66. 'description'=>'人工湖畔的接待室,访客活动中心',
  67. ],
  68. [
  69. 'image'=>'/assets/gallery/05.jpg',
  70. 'title'=>'办公环境',
  71. 'id'=>'desc_05',
  72. 'description'=>'27寸竖屏保证翻译的效率和质量,站坐交替的升降台,保证翻译者的健康。',
  73. ],
  74. ];
  75. return view('typhoon',[
  76. 'nav'=>$nav,
  77. 'title' => '巴 利 圣 典 文 库',
  78. 'subtitle' => '巴利圣典翻译计划欢迎您的参与',
  79. 'description' => '巴利语学习与翻译工具',
  80. 'gallery' => $Gallery,
  81. ]);
  82. }
  83. }