Skip to content

Commit b54f2dc

Browse files
committed
📝 Improved Readme
Signed-off-by: bnomei <[email protected]>
1 parent 003e660 commit b54f2dc

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ composer require bnomei/kirby-blueprints
3535

3636
This plugin introduces two new ways to define blueprints for Kirby.
3737

38+
<div>
3839
<div style="width: 50%; float: left; padding-right: 1vw;">
3940

4041
### Fluent & Named Helper Classes
@@ -54,16 +55,17 @@ Define blueprints for pages in PageModels and use public properties with PHP att
5455

5556
**site/plugins/example/models/ArticlePage.php**
5657
```php
57-
#[
58-
Label([
59-
'en' => 'Introduction',
60-
'de' => 'Einleitung',
61-
]),
62-
Type(FieldTypes::TEXT),
63-
]
64-
public Field $introduction;
58+
#[
59+
Label([
60+
'en' => 'Introduction',
61+
'de' => 'Einleitung',
62+
]),
63+
Type(FieldTypes::TEXT),
64+
]
65+
public Field $introduction;
6566
```
6667
</div>
68+
</div>
6769

6870
## Blueprint definitions from Files
6971

0 commit comments

Comments
 (0)