summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/static_site_editor/components/invalid_content_message.vue
blob: fef87057307421a20df8e58c44b2c42337085af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script>
import { GlButton } from '@gitlab/ui';

export default {
  components: {
    GlButton,
  },
};
</script>

<template>
  <div>
    <h3>{{ s__('StaticSiteEditor|Incompatible file content') }}</h3>
    <p>
      {{
        s__(
          'StaticSiteEditor|The Static Site Editor is currently configured to only edit Markdown content on pages generated from Middleman. Visit the documentation to learn more about configuring your site to use the Static Site Editor.',
        )
      }}
    </p>
    <div>
      <gl-button
        ref="documentationButton"
        href="https://gitlab.com/gitlab-org/project-templates/static-site-editor-middleman"
        >{{ s__('StaticSiteEditor|View documentation') }}</gl-button
      >
    </div>
  </div>
</template>