diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 46d30b33..a8352e99 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
-title: Issue
+title: 'Issue: '
labels: ''
assignees: ''
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 1ed032e1..fc5b0e4a 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
-title: Enhancement
+title: 'Enhancement: '
labels: ''
assignees: ''
diff --git a/.github/ISSUE_TEMPLATE/showcase.md b/.github/ISSUE_TEMPLATE/showcase.md
new file mode 100644
index 00000000..d0802aa7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/showcase.md
@@ -0,0 +1,20 @@
+---
+name: Showcase
+about: Let us know that you are using Front Matter and we'll add you on our showcase page
+title: 'Showcase: '
+labels: 'showcase'
+assignees: ''
+---
+
+**Title you want to give your site**
+
+Define a clear title that will be used on the showcase page. Example: `Front Matter`.
+
+**Link to the site**
+
+A URL to the site to add.
+
+**A nice and clean description**
+
+Keep it simple. Just let us know which static-site generator you used, and other frameworks.
+
diff --git a/docs/constants/extension.ts b/docs/constants/extension.ts
index fb69caba..84910cbc 100644
--- a/docs/constants/extension.ts
+++ b/docs/constants/extension.ts
@@ -9,5 +9,6 @@ export const Extension = {
sponsorLink: "https://github.com/sponsors/estruyf",
extensionLink: "https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-front-matter",
reviewLink: "https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-front-matter&ssr=false#review-details",
- installLink: "vscode:extension/eliostruyf.vscode-front-matter"
+ installLink: "vscode:extension/eliostruyf.vscode-front-matter",
+ showcaseLink: "https://github.com/estruyf/vscode-front-matter/issues/new?assignees=&labels=&template=showcase.md&title=Showcase: "
}
\ No newline at end of file
diff --git a/docs/locale/en.ts b/docs/locale/en.ts
index 5e44dbe8..214baa9f 100644
--- a/docs/locale/en.ts
+++ b/docs/locale/en.ts
@@ -40,7 +40,7 @@ export const strings = {
// Showcase
showcase_title: "Showcase",
- showcase_description: "Check out our showcase of static-sites using Front Matter.",
+ showcase_description: "Check out our showcase of sites using Front Matter.",
// Changelog
changelog_title: "Changelog",
diff --git a/docs/pages/showcase/index.tsx b/docs/pages/showcase/index.tsx
index f50735af..f56e7318 100644
--- a/docs/pages/showcase/index.tsx
+++ b/docs/pages/showcase/index.tsx
@@ -2,7 +2,28 @@ import React from 'react';
import { useTranslation } from 'react-i18next';
import { Description, OtherMeta, Title } from '../../components/Meta';
import { Layout } from '../../components/Page/Layout';
+import { Extension } from '../../constants/extension';
import showcases from '../../showcases.json';
+import Image from 'next/image';
+
+const shimmer = (w: number, h: number) => `
+`;
+
+const toBase64 = (str: string) =>
+ typeof window === 'undefined'
+ ? Buffer.from(str).toString('base64')
+ : window.btoa(str);
export default function Home({ showcases }: any) {
const { t: strings } = useTranslation();
@@ -25,7 +46,16 @@ export default function Home({ showcases }: any) {
{showcases.filter((showcase: any) => showcase.image).map((showcase: any) => (
+
{showcase.title}
@@ -34,6 +64,12 @@ export default function Home({ showcases }: any) {
))}
+
+
Want to add your site to our showcase? Great, open a showcase on Github!
+