Skip to content

Commit

Permalink
Update readme images with absolute links
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Aug 31, 2024
1 parent e7bda1c commit a74a579
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

We use the standard Laravel mail sending capability, the package simply allows content editing and faster adding of new template Classes

![Email Preview](./media/ThemeEditor.jpg)
![Email Preview](https://raw.githubusercontent.com/visualbuilder/email-templates/3.x/media/ThemeEditor.jpg)

## Installation

Expand Down Expand Up @@ -64,7 +64,7 @@ Menu Group and sort order can be set in the config

### HTML Editor
Edit email content in the admin and use tokens to inject model or config content.
![Email Preview](./media/EmailEditor.png)
![Email Preview](https://raw.githubusercontent.com/visualbuilder/email-templates/3.x/media/EmailEditor.png)

### Tokens
Token format is ##model.attribute##. When calling the email pass any referenced models to replace the tokens automatically.
Expand Down Expand Up @@ -214,7 +214,7 @@ Languages that should be shown on the language picker can be set in the config
]
```

![Language Picker](./media/Languages.png)
![Language Picker](https://raw.githubusercontent.com/visualbuilder/email-templates/3.x/media/Languages.png)

Flag icons are loaded from CDN: https://cdn.jsdelivr.net/gh/lipis/[email protected]/css/flag-icons.min.css
see https://www.npmjs.com/package/flag-icons
Expand All @@ -225,7 +225,7 @@ see https://www.npmjs.com/package/flag-icons
We've currently opted to keep using a separate Mailable Class for each email type. This means when you create a new template in the admin, it will require a new php Class.
The package provides an action to build the class if the file does not exist in app\Mail\VisualBuilder\EmailTemplates.

![Build Class](./media/BuildClass.png)
![Build Class](https://raw.githubusercontent.com/visualbuilder/email-templates/3.x/media/BuildClass.png)
Currently generated Mailable Classes will use the BuildGenericEmail Trait

```php
Expand Down

0 comments on commit a74a579

Please sign in to comment.