Add Open Graph information to the public booking page so that it renders nicely once shared on social media apps (#1382)

This commit is contained in:
Alex Tselegidis 2023-07-11 07:58:57 +02:00
parent 36937a6492
commit ae26a5f397
2 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,12 @@
<meta name="theme-color" content="#35A768"> <meta name="theme-color" content="#35A768">
<meta name="google" content="notranslate"> <meta name="google" content="notranslate">
<meta property="og:title" content="<?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments" />
<meta property="og:description" content="Book your appointment with just a few clicks." />
<meta property="og:url" content="<?= base_url() ?>">
<meta property="og:image" content="<?= base_url('assets/img/social-card.png') ?>" />
<meta property="og:type" content="website">
<?php slot('meta') ?> <?php slot('meta') ?>
<title><?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments</title> <title><?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments</title>

BIN
assets/img/social-card.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB