mirror of
https://github.com/BradNut/weddingsite
synced 2025-09-08 17:40:36 +00:00
Fixing ICS and og image.
This commit is contained in:
parent
bf0ca30a79
commit
261104e4cc
2 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import { SWRConfig } from 'swr';
|
||||||
import Page from '../components/Page';
|
import Page from '../components/Page';
|
||||||
import '../components/styles/nprogress.css';
|
import '../components/styles/nprogress.css';
|
||||||
import fetch from '../lib/fetchJson';
|
import fetch from '../lib/fetchJson';
|
||||||
|
import penguin from '../public/penguin.svg';
|
||||||
|
|
||||||
Router.events.on('routeChangeStart', () => NProgress.start());
|
Router.events.on('routeChangeStart', () => NProgress.start());
|
||||||
Router.events.on('routeChangeComplete', () => NProgress.done());
|
Router.events.on('routeChangeComplete', () => NProgress.done());
|
||||||
|
|
@ -39,7 +40,7 @@ function MyApp({ Component, pageProps }) {
|
||||||
content="Wedding Website"
|
content="Wedding Website"
|
||||||
key="ogsitename"
|
key="ogsitename"
|
||||||
/>
|
/>
|
||||||
<meta property="og:image" content="/penguin.svg" />
|
<meta property="og:image" content={penguin} />
|
||||||
<meta property="og:locale" content="en_US" />
|
<meta property="og:locale" content="en_US" />
|
||||||
<link
|
<link
|
||||||
rel="preload"
|
rel="preload"
|
||||||
|
|
|
||||||
|
|
@ -402,7 +402,7 @@ export default function SingleGroupPage({ group }) {
|
||||||
<p>{message}</p>
|
<p>{message}</p>
|
||||||
<div>
|
<div>
|
||||||
<p>Saturday, June 25, 2022 at 5:00 PM</p>
|
<p>Saturday, June 25, 2022 at 5:00 PM</p>
|
||||||
<a href="/myevent.ics" aria-label="Click to add to calendar">
|
<a href="/myevents.ics" aria-label="Click to add to calendar">
|
||||||
<CalendarIcon /> Add to Calendar
|
<CalendarIcon /> Add to Calendar
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue