|
4 | 4 | <head> |
5 | 5 | <meta charset="UTF-8"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | | - <title>{{ getenv('APP_NAME') ?? 'Leaf MVC' }}</title> |
| 7 | + <title>{{ _env('APP_NAME', 'My Leaf MVC App') }}</title> |
8 | 8 | <link rel="shortcut icon" href="https://leafphp.dev/logo-circle.png" type="image/x-icon"> |
9 | 9 |
|
10 | 10 | {{-- assets() points to the public/assets folder --}} |
11 | 11 | <link rel="stylesheet" href="{{ assets('css/styles.css') }}"> |
12 | 12 |
|
13 | | - {{-- ViewsPath() points to app/views --}} |
14 | | - <link rel="stylesheet" href="{{ ViewsPath('css/app.css') }}"> |
| 13 | + {{-- |
| 14 | + You generally want to keep all your css and js in the public folder |
| 15 | + unless you are using a bundler like vite. vite() looks for assets in |
| 16 | + the app/views folder by default. You can uncomment the line below to |
| 17 | + use vite. |
| 18 | +
|
| 19 | + Be sure to run `npm install` and then `npm run dev` or `npm run build` first. |
| 20 | + --}} |
| 21 | + {{-- {{ vite('css/app.css') }} --}} |
15 | 22 |
|
16 | 23 | <link rel="stylesheet" |
17 | 24 | href="https://fonts.googleapis.com/css?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700;display=swap"> |
|
20 | 27 | </head> |
21 | 28 |
|
22 | 29 | <body class="flex center-all h-screen"> |
23 | | - <div class="container"> |
24 | | - <div class="mt-3"> |
25 | | - <div class="flex center-start"> |
26 | | - <img src="https://www.leafphp.dev/logo-circle.png" alt=""> |
27 | | - <h4 style="font-size: 22px;">Welcome to Leaf <span class="green">3</span></h4> |
28 | | - </div> |
29 | | - <div class="flex card mt-3"> |
30 | | - <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
31 | | - <ion-icon name="book-outline"></ion-icon> |
32 | | - <div class="ml-1"> |
33 | | - <h4> |
34 | | - Leaf MVC Documentation |
35 | | - </h4> |
36 | | - <p class="mt-1"> |
37 | | - Leaf MVC comes with a clean and developer-friendly documentation for both beginners and seasoned users. |
38 | | - </p> |
39 | | - <a href="https://mvc.leafphp.dev/" target="_blank" rel="noopener"> |
40 | | - Leaf MVC Docs |
41 | | - </a> |
42 | | - </div> |
43 | | - </div> |
| 30 | + <div class="container"> |
| 31 | + <div class="mt-3"> |
| 32 | + <div class="flex center-start"> |
| 33 | + <img src="https://www.leafphp.dev/logo-circle.png" alt=""> |
| 34 | + <h4 style="font-size: 22px;">Welcome to Leaf <span class="green">3</span></h4> |
| 35 | + </div> |
| 36 | + <div class="flex card mt-3"> |
| 37 | + <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
| 38 | + <ion-icon name="book-outline"></ion-icon> |
| 39 | + <div class="ml-1"> |
| 40 | + <h4> |
| 41 | + Leaf MVC Documentation |
| 42 | + </h4> |
| 43 | + <p class="mt-1"> |
| 44 | + Leaf MVC comes with a clean and developer-friendly documentation for both beginners and |
| 45 | + seasoned users. |
| 46 | + </p> |
| 47 | + <a href="https://mvc.leafphp.dev/" target="_blank" rel="noopener"> |
| 48 | + Leaf MVC Docs |
| 49 | + </a> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
| 53 | + <ion-icon name="laptop-outline"></ion-icon> |
| 54 | + <div class="ml-1"> |
| 55 | + <h4> |
| 56 | + Leaf Documentation |
| 57 | + </h4> |
| 58 | + <p class="mt-1"> |
| 59 | + Since Skeleton is basically a boilerplate built with Leaf, we recommend checking out the |
| 60 | + leaf docs first. |
| 61 | + </p> |
| 62 | + <a href="https://leafphp.dev" target="_blank" rel="noopener"> |
| 63 | + Leaf Docs |
| 64 | + </a> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
| 68 | + <ion-icon name="logo-twitter"></ion-icon> |
| 69 | + <div class="ml-1"> |
| 70 | + <h4>Twitter</h4> |
| 71 | + <p class="mt-1"> |
| 72 | + Follow Leaf PHP on Twitter to get latest news about releases, new modules, tutorials |
| 73 | + and amazing tips. |
| 74 | + </p> |
| 75 | + <a href="https://twitter.com/leafphp" target="_blank" rel="noopener">@leafphp</a> |
| 76 | + </div> |
| 77 | + </div> |
44 | 78 | <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
45 | | - <ion-icon name="laptop-outline"></ion-icon> |
46 | | - <div class="ml-1"> |
47 | | - <h4> |
48 | | - Leaf Documentation |
49 | | - </h4> |
50 | | - <p class="mt-1"> |
51 | | - Since Skeleton is basically a boilerplate built with Leaf, we recommend checking out the leaf docs first. |
52 | | - </p> |
53 | | - <a href="https://leafphp.dev" target="_blank" rel="noopener"> |
54 | | - Leaf Docs |
55 | | - </a> |
56 | | - </div> |
57 | | - </div> |
58 | | - <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
59 | | - <ion-icon name="logo-twitter"></ion-icon> |
60 | | - <div class="ml-1"> |
61 | | - <h4>Twitter</h4> |
62 | | - <p class="mt-1"> |
63 | | - Follow Leaf PHP on Twitter to get latest news about releases, new modules, tutorials |
64 | | - and amazing tips. |
65 | | - </p> |
66 | | - <a href="https://twitter.com/leafphp" target="_blank" rel="noopener">@leafphp</a> |
67 | | - </div> |
68 | | - </div> |
69 | | - <div class="flex" style="width: calc(50% - 80px); padding: 30px;"> |
70 | | - <ion-icon name="logo-youtube"></ion-icon> |
71 | | - <div class="ml-1"> |
72 | | - <h4>YouTube</h4> |
73 | | - <p class="mt-1"> |
74 | | - We have a youtube channel where we upload videos on leaf, our modules, frameworks and other projects. |
75 | | - </p> |
76 | | - <a href="https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw" target="_blank" rel="noopener">Leaf YouTube Channel</a> |
77 | | - </div> |
78 | | - </div> |
79 | | - </div> |
80 | | - </div> |
81 | | - </div> |
| 79 | + <ion-icon name="logo-youtube"></ion-icon> |
| 80 | + <div class="ml-1"> |
| 81 | + <h4>YouTube</h4> |
| 82 | + <p class="mt-1"> |
| 83 | + We have a youtube channel where we upload videos on leaf, our modules, frameworks and other |
| 84 | + projects. |
| 85 | + </p> |
| 86 | + <a href="https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw" target="_blank" |
| 87 | + rel="noopener">Leaf YouTube Channel</a> |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + </div> |
| 92 | + </div> |
82 | 93 | </body> |
83 | 94 |
|
84 | 95 | </html> |
0 commit comments