Skip to content

Commit 5eb982e

Browse files
committed
✨ added new leafmvc link
1 parent 5e78a4f commit 5eb982e

File tree

1 file changed

+65
-53
lines changed

1 file changed

+65
-53
lines changed

App/Views/index.blade.php

Lines changed: 65 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,65 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
4-
<head>
5-
<meta charset="UTF-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>{{ getenv('APP_NAME') ?? "Leaf MVC" }}</title>
8-
<link rel="shortcut icon" href="https://leafphp.netlify.app/img/logo.png" type="image/x-icon">
9-
<link rel="stylesheet" href="{{ views_path("assets/css/styles.css", true) }}">
10-
</head>
11-
12-
<body>
13-
<div id="app" style="margin-top: 35px;">
14-
<section>
15-
<h1>{{ getenv('APP_NAME') ?? "Leaf MVC" }}</h1>
16-
<p>
17-
This is the LeafMVC framework. A simple MVC framework built for <a href="https://leafphp.netlify.app" class="wynter text-green">Leaf PHP Framework</a>
18-
</p>
19-
</section>
20-
<section>
21-
<h2>Getting Started</h2>
22-
<ul>
23-
<li>Open up <code>App/Routes/index.php</code> to add your routes.</li>
24-
<li>Edit <code>App/Views/index.blade.php</code> and reload to see changes.</li>
25-
<li>Open up the root directory in your console and type <code>php leaf list</code> to view all available commands.</li>
26-
<li>Grow something amazing. Happy gardening!</li>
27-
</ul>
28-
</section>
29-
<section>
30-
<h2>Learning Leaf MVC</h2>
31-
<div class="collection">
32-
<a href="https://leafmvc.netlify.app" target="_blank" class="collection-item">Read our informative docs</a>
33-
<a href="https://leafphp.netlify.app" target="_blank" class="collection-item">Read Leaf Framework's docs</a>
34-
<a href="https://twitter.com/leafphp" target="_blank" class="collection-item">Follow @leafphp on twitter for updates on Leaf</a>
35-
<a href="https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw" target="_blank" class="collection-item">Subscribe to our Youtube channel</a>
36-
</div>
37-
</section>
38-
</div>
39-
40-
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
41-
<script>
42-
new Vue({
43-
el: "#app",
44-
data() {
45-
return {
46-
showExtras: false,
47-
};
48-
},
49-
});
50-
</script>
51-
</body>
52-
53-
</html>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>{{ getenv('APP_NAME') ?? "Leaf MVC" }}</title>
8+
<link rel="shortcut icon" href="https://leafphp.netlify.app/img/logo.png" type="image/x-icon">
9+
<link rel="stylesheet" href="{{ views_path("assets/css/styles.css") }}">
10+
</head>
11+
12+
<body>
13+
<div id="app" style="margin-top: 35px;">
14+
<section>
15+
<h1>{{ getenv('APP_NAME') ?? "Leaf MVC" }}</h1>
16+
<p>
17+
This is the LeafMVC framework. A simple MVC framework built for
18+
<a href="https://leafphp.netlify.app" class="wynter text-green">Leaf PHP Framework</a>
19+
</p>
20+
</section>
21+
<section>
22+
<h2>Getting Started</h2>
23+
<ul>
24+
<li>Open up <b><code>App/Routes/index.php</code></b> to add your routes.</li>
25+
<li>Edit <b><code>App/Views/index.blade.php</code></b> and reload to see changes.</li>
26+
<li>
27+
Open up the root directory in your console and type <code>php leaf list</code>
28+
to view all available commands.
29+
</li>
30+
<li>Grow something amazing. Happy gardening!</li>
31+
</ul>
32+
</section>
33+
<section>
34+
<button @click="showExtras = !showExtras">Learn Leaf MVC</button>
35+
<div class="collection" v-if="showExtras">
36+
<a href="https://leafphp.netlify.app/#/leaf-mvc/" target="_blank" class="collection-item">
37+
Read our informative docs
38+
</a>
39+
<a href="https://leafphp.netlify.app/#/leaf/" target="_blank" class="collection-item">
40+
Read Leaf Framework's docs
41+
</a>
42+
<a href="https://twitter.com/leafphp" target="_blank" class="collection-item">
43+
Follow @leafphp on twitter for updates on Leaf
44+
</a>
45+
<a href="https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw" target="_blank" class="collection-item">
46+
Subscribe to our Youtube channel
47+
</a>
48+
</div>
49+
</section>
50+
</div>
51+
52+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
53+
<script>
54+
new Vue({
55+
el: "#app",
56+
data() {
57+
return {
58+
showExtras: false,
59+
};
60+
},
61+
});
62+
</script>
63+
</body>
64+
65+
</html>

0 commit comments

Comments
 (0)