Added Vercel as sponsor

This commit is contained in:
Elio Struyf
2021-09-01 11:53:59 +02:00
parent 3fea99ef24
commit c9e813effe
4 changed files with 36 additions and 0 deletions
+3
View File
@@ -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>
);
+24
View File
@@ -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>
);
};
+3
View File
@@ -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