<template>
  <div>
    <h1>Contact Us</h1>
    <div v-html="content.body" />
  </div>
</template>

<script>
import { useContent } from '@borngroup/lightswitch-shopify';
import { onSSR } from '@borngroup/lightswitch-core';

export default {
  name: 'ContactUs',
  transition: 'fade',
  setup() {
    const {
      loading: contextsLoading,
      content,
      search
    } = useContent('pageContents');
    onSSR(async () => {
      await search({ slug: 'who-we-are', ContentType: 'page' });
    });
    return {
      content,
      contextsLoading
    };
  }
};
</script>
