Skip to content

Commit

Permalink
Add Open Graph information to the public booking page so that it rend…
Browse files Browse the repository at this point in the history
…ers nicely once shared on social media apps (#1382)
  • Loading branch information
alextselegidis committed Jul 11, 2023
1 parent 36937a6 commit ae26a5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/views/layouts/booking_layout.php
Expand Up @@ -7,6 +7,12 @@
<meta name="theme-color" content="#35A768">
<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') ?>

<title><?= lang('page_title') . ' ' . vars('company_name') ?> | Easy!Appointments</title>
Expand Down
Binary file added assets/img/social-card.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ae26a5f

Please sign in to comment.