Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const React = require('react');
const CompLibrary = require('docusaurus/lib/core/CompLibrary.js');
const translate = require("docusaurus/lib/server/translate.js").translate;
const translation = require('docusaurus/lib/server/translation.js');
const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock;
const siteConfig = require(process.cwd() + '/siteConfig.js');
const createShowcase = (userList) => {
return userList
.filter((user) => {
if (user.pinned) {
return user;
}
})
.map((user, i) => {
return (
<a rel="noopener" href="{user.infoLink}">
<img title="{user.caption}" alt="{user.caption}" src="{siteConfig.baseUrl">
</a>
);
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const translate = require("docusaurus/lib/server/translate.js").translate;
const CompLibrary = require('docusaurus/lib/core/CompLibrary.js');
const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock;
const siteConfig = require(process.cwd() + '/siteConfig.js');
class Help extends React.Component {
render() {
const supportLinks = [
{
content:
Learn more about Verdaccio using the [documentation on this site.](/docs/en/installation.html),
title: Browse Docs,
},
{
content: You can follow and contact us on + ' [Twitter](https://twitter.com/verdaccio_npm).',
title: 'Twitter',
},
{
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('docusaurus/lib/core/CompLibrary.js');
const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock;
const translate = require('docusaurus/lib/server/translate.js').translate;
const siteConfig = require(process.cwd() + '/siteConfig.js');
class Help extends React.Component {
render() {
const supportLinks = [
{
content: (
Learn more using the [documentation on this
site.](/docs/en/installation.html)
),
title: Browse Docs,