Skip to content

Commit 0247e1e

Browse files
committed
feat: add specialized MVC pages
1 parent 49aab14 commit 0247e1e

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

src/docs/mvc/mail.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Mailing with Leaf MVC

src/docs/utils/mail/index.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,48 @@
22

33
<!-- markdownlint-disable no-inline-html -->
44

5+
<script setup>
6+
import VideoModal from '@theme/components/shared/VideoModal.vue';
7+
import Button from '@theme/components/shared/Button.vue';
8+
</script>
9+
510
Mailing in PHP apps has always been seen as a daunting task. Leaf Mail provides a simple, straightforward and efficient email API that is built on the widely used [PHPMailer Library](https://github.com/PHPMailer/PHPMailer) component.
611

712
With Leaf Mail, you can easily send emails using various drivers and services such as SMTP, Mailgun, SendGrid, Amazon SES, and sendmail. This flexibility enables you to swiftly begin sending emails through a preferred local or cloud-based service.
813

14+
<div
15+
class="w-full relative text-white overflow-hidden rounded-3xl flex shadow-lg sm:max-w-[50%]"
16+
>
17+
<div
18+
class="w-full flex md:flex-col bg-gradient-to-br from-pink-500 to-rose-500"
19+
>
20+
<div
21+
class="sm:flex-none md:w-auto md:flex-auto flex flex-col items-start relative z-10 p-6"
22+
>
23+
<h3 class="text-xl font-semibold mb-2 text-shadow !mt-0">
24+
Using Leaf MVC?
25+
</h3>
26+
<p class="font-medium text-rose-100 text-shadow mb-4">
27+
We've crafted a specialized guide for routing in Leaf MVC. While it's similar to the mailing in Leaf, it's more detailed and tailored for Leaf MVC.
28+
</p>
29+
<Button
30+
as="a"
31+
href="/docs/mvc/mail"
32+
class="mt-auto bg-rose-900 hover:!bg-rose-900 !text-white bg-opacity-50 hover:bg-opacity-75 transition-colors duration-200 rounded-xl font-bold py-2 px-4 inline-flex"
33+
>Start mailing now</Button
34+
>
35+
</div>
36+
<!-- <div
37+
class="relative md:pl-6 xl:pl-8 hidden sm:block"
38+
>
39+
Hello
40+
</div> -->
41+
</div>
42+
<div
43+
class="absolute bottom-0 left-0 right-0 h-20 bg-gradient-to-t from-rose-500 hidden sm:block"
44+
></div>
45+
</div>
46+
947
## Setting Up
1048

1149
You can install leaf mail using the leaf cli:

src/docs/utils/mail/mvc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)