free-framework 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/generator.js +88 -199
- package/compiler/lexer.js +2 -1
- package/compiler/parser.js +16 -13
- package/package.json +1 -1
- package/templates/app-template/package.json +1 -1
- package/templates/app-template/resources/views/counter.free +3 -6
- package/templates/app-template/resources/views/docs.free +24 -34
- package/templates/app-template/resources/views/header.free +1 -1
- package/templates/app-template/resources/views/home.free +1 -1
- package/templates/app-template/routes/web.free +4 -4
- package/templates/app-template/.free/app.js +0 -1555
- /package/templates/app-template/{resources → public}/css/app.css +0 -0
|
@@ -28,7 +28,7 @@ component Home {
|
|
|
28
28
|
section class="relative pt-48 pb-32 px-8 overflow-hidden" {
|
|
29
29
|
div class="max-w-5xl mx-auto text-center relative z-10" {
|
|
30
30
|
div class="inline-block px-4 py-1 rounded-full bg-primary/20 border border-primary/30 mb-8" {
|
|
31
|
-
span class="text-[9px] font-black tracking-[.4em] uppercase text-primary" { text "Aura v5.0.
|
|
31
|
+
span class="text-[9px] font-black tracking-[.4em] uppercase text-primary" { text "Aura v5.0.1 High-Octane" }
|
|
32
32
|
}
|
|
33
33
|
h1 class="text-7xl md:text-9xl font-black tracking-tighter leading-none mb-10" {
|
|
34
34
|
text "The Taskfy"
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
// A simple GET request that renders the 'Home' view component
|
|
17
|
-
|
|
17
|
+
Get "/" -> Home
|
|
18
18
|
|
|
19
19
|
// Documentation & Authentication
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Get "/docs" -> Docs
|
|
21
|
+
Get "/login" -> Login
|
|
22
22
|
|
|
23
23
|
// Example of a route that points to a dedicated controller logic before rendering
|
|
24
24
|
// Ensure the 'Dashboard' view is defined in resources/views
|
|
25
|
-
|
|
25
|
+
Get "/dashboard" {
|
|
26
26
|
// Calling an action/controller before returning the view
|
|
27
27
|
// The controller should handle checking if the user is authenticated
|
|
28
28
|
return Dashboard;
|