|
1 | 1 | <?php |
2 | 2 |
|
3 | 3 | use App\Web\Blog\BlogController; |
4 | | -use App\Web\Documentation\ChapterController; |
| 4 | +use App\Web\Documentation\DocumentationController; |
5 | 5 | use App\Web\RedirectsController; |
6 | 6 |
|
7 | 7 | use function Tempest\uri; |
|
30 | 30 | Tempest embraces modern PHP and covers a wide range of features, giving you all the tools you need to focus on your code. |
31 | 31 | </p> |
32 | 32 | <div class="mt-6 md:mt-8 xl:mt-10 flex gap-x-4 items-center font-medium text-lg"> |
33 | | - <a :href="uri([ChapterController::class, 'index'])" class="bg-(--ui-bg-inverted) text-(--ui-bg) hover:bg-(--ui-bg-inverted)/90 rounded-xl px-6 py-2.5 gap-1.5 transition"> |
| 33 | + <a :href="uri([DocumentationController::class, 'index'])" class="bg-(--ui-bg-inverted) text-(--ui-bg) hover:bg-(--ui-bg-inverted)/90 rounded-xl px-6 py-2.5 gap-1.5 transition"> |
34 | 34 | Get started |
35 | 35 | </a> |
36 | 36 | <a :href="uri([RedirectsController::class, 'github'])" class="hidden min-[401px]:flex text(--ui-text) hover:bg-(--ui-info)/10 group rounded-xl px-6 py-2.5 items-center gap-x-1.5 transition"> |
|
57 | 57 | 'Tempest doesn\'t require hand-holding. Your code is scanned and everything is configured automatically: routes, view components, console commands, event handlers, middleware, migrations — everything.', |
58 | 58 | ]" |
59 | 59 | link-label="Discovery" |
60 | | - :link-uri="uri(ChapterController::class, version: \App\Web\Documentation\Version::default(), category: 'internals', slug: 'discovery')" |
| 60 | + :link-uri="uri(DocumentationController::class, version: \App\Web\Documentation\Version::default(), category: 'internals', slug: 'discovery')" |
61 | 61 | :snippets="['controller', 'view-component', 'event-handler']" |
62 | 62 | ></x-home-section> |
63 | 63 | <!-- Template engine --> |
|
68 | 68 | 'Do you prefer something tried and tested? Tempest has built-in support for Blade and Twig as well.', |
69 | 69 | ]" |
70 | 70 | link-label="Templating" |
71 | | - :link-uri="uri(ChapterController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'views')" |
| 71 | + :link-uri="uri(DocumentationController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'views')" |
72 | 72 | :snippets="['templating-view', 'templating-component']" |
73 | 73 | ></x-home-section> |
74 | 74 | <!-- ORM--> |
|
78 | 78 | 'Models in Tempest embrace modern PHP and are designed to be decoupled from the database; they don\'t even have to persist to the database and can be mapped to any kind of data source.', |
79 | 79 | ]" |
80 | 80 | link-label="ORM" |
81 | | - :link-uri="uri(ChapterController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'database')" |
| 81 | + :link-uri="uri(DocumentationController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'database')" |
82 | 82 | :snippets="['model', 'orm']" |
83 | 83 | ></x-home-section> |
84 | 84 | <!-- Console--> |
|
88 | 88 | 'Thinking out of the box, Tempest\'s console component is a brand new approach to building console applications with PHP', |
89 | 89 | ]" |
90 | 90 | link-label="Console" |
91 | | - :link-uri="uri(ChapterController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'console-commands')" |
| 91 | + :link-uri="uri(DocumentationController::class, version: \App\Web\Documentation\Version::default(), category: 'essentials', slug: 'console-commands')" |
92 | 92 | :snippets="['console']" |
93 | 93 | ></x-home-section> |
94 | 94 | <!-- Much more--> |
|
98 | 98 | 'Configuration objects for easy autocompletion and injection, data mapping, a powerful dependency container with autowiring. Tempest is designed to be frictionless.', |
99 | 99 | ]" |
100 | 100 | link-label="Get started" |
101 | | - :link-uri="uri([ChapterController::class, 'index'])" |
| 101 | + :link-uri="uri([DocumentationController::class, 'index'])" |
102 | 102 | :snippets="['config', 'static-pages', 'query', 'markdown-initializer']" |
103 | 103 | ></x-home-section> |
104 | 104 | </main> |
|
0 commit comments