Add portfolio field to contact blueprints and edit contact icons

This commit is contained in:
Paul Nicoué 2022-12-21 14:14:32 +01:00
parent 4177b0c140
commit 5a83346350
6 changed files with 61 additions and 19 deletions

View file

@ -14,6 +14,7 @@ return function ($site) {
// Get contact fields content
$email = $site->email();
$instagram = $site->instagram();
$portfolio = $site->portfolio()->toFile();
// Get image files section content
$images = $site->files()->template("full_screen_image")->shuffle();
@ -22,6 +23,7 @@ return function ($site) {
'exhibitions' => $exhibitions,
'email' => $email,
'instagram' => $instagram,
'portfolio' => $portfolio,
'images' => $images
];
};