mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-10 19:03:17 +02:00
Added Vercel as sponsor
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import * as React from 'react';
|
||||
import { Navigation } from '../Navigation';
|
||||
import { Footer } from './Footer';
|
||||
import { Sponsors } from './Sponsors';
|
||||
|
||||
export interface ILayoutProps {}
|
||||
|
||||
@@ -15,6 +16,8 @@ export const Layout: React.FunctionComponent<ILayoutProps> = (props: React.Props
|
||||
{props.children}
|
||||
</main>
|
||||
|
||||
<Sponsors />
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import * as React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export interface ISponsorsProps {}
|
||||
|
||||
export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.PropsWithChildren<ISponsorsProps>) => {
|
||||
const { t: strings } = useTranslation();
|
||||
|
||||
return (
|
||||
<div className="bg-vulcan-600">
|
||||
<div className="max-w-7xl mx-auto pt-12 px-4 sm:px-6 lg:px-8">
|
||||
<p className="text-center text-sm font-semibold uppercase text-whisper-900 tracking-wide">
|
||||
{strings(`sponsors_title`)}
|
||||
</p>
|
||||
|
||||
<div className="mt-6">
|
||||
<a target={`_blank`} rel={`noopener noreferrer`} href={`https://vercel.com/?utm_source=vscode-frontmatter&utm_campaign=oss`} title={`Powered by Vercel`} className="col-span-1 flex justify-center">
|
||||
<img className="h-12" src="/assets/sponsors/powered-by-vercel.svg" alt="Vercel" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -34,6 +34,9 @@ export const strings = {
|
||||
feature_title_6: "Extensibility",
|
||||
feature_description_6: "Add your actions with our custom scripting capability. For instance, you can use a script and hook it up to the extension if you want to generate preview images. If we do not support it, you can build it and share it with us.",
|
||||
|
||||
// Sponsors
|
||||
sponsors_title: "Special thanks to our sponsor",
|
||||
|
||||
// Documentation
|
||||
documentation_title: "Documentation",
|
||||
documentation_description: `Get to know more about how you can use ${Extension.name} with our documentation.`,
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.2 KiB |
Reference in New Issue
Block a user