1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/website/siteConfig.js
Juan Picado @jotadeveloper 78ef24d79b
chore: update website
* display tweets
* big github button
* display new users
2018-06-17 01:23:19 +02:00

111 lines
3.0 KiB
JavaScript

/**
* 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.
*/
/* List of projects/orgs using your project for the users page */
const users = [
{
caption: "Filiosoft",
image: "/img/users/filiosoft.png",
infoLink: "https://filiosoft.com/",
fbOpenSource: false,
pinned: false,
},
{
caption: "SheetJS",
image: "/img/users/sheetjs.png",
infoLink: "https://sheetjs.com/",
fbOpenSource: false,
pinned: true,
},
{
caption: "Mozilla Neutrino",
image: "/img/users/neutrino.png",
infoLink: "https://neutrinojs.org/",
fbOpenSource: false,
pinned: true,
},
{
caption: "pnpm",
image: "/img/users/pnpm.svg",
infoLink: "https://pnpm.js.org/",
fbOpenSource: false,
pinned: true,
},
{
caption: "nodesource",
image: "/img/users/nodesource.jpg",
infoLink: "https://nodesource.com/",
fbOpenSource: false,
pinned: true,
},
{
caption: "Strapi",
image: "/img/users/strapijs.jpg",
infoLink: "https://strapi.io/",
fbOpenSource: false,
pinned: true,
}
];
const siteConfig = {
title: 'Verdaccio' /* title for your website */,
tagline: 'Verdaccio · A lightweight private npm proxy registry',
url: 'http://www.verdaccio.org' /* your website url */,
organizationName: 'verdaccio',
cname: 'www.verdaccio.org',
noIndex: false,
baseUrl: '/' /* base url for your project */,
projectName: 'verdaccio',
headerLinks: [
{ doc: 'installation', label: 'Docs'},
{ page: 'help', label: 'Help'},
{ href: "https://medium.com/verdaccio", label: 'Blog'},
{ href: "https://github.com/verdaccio", label: "GitHub" }
],
users,
headerIcon: 'img/verdaccio-tiny.png',
footerIcon: 'img/verdaccio-blackwhite.png',
favicon: 'img/favicon.ico',
colors: {
primaryColor: '#4B5E40',
secondaryColor: '#205C3B',
},
translationRecruitingLink: 'https://crowdin.com/project/verdaccio',
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
copyright:
'Copyright © ' + new Date().getFullYear() + ' Verdaccio community',
// organizationName: 'deltice', // or set an env variable ORGANIZATION_NAME
// projectName: 'test-site', // or set an env variable PROJECT_NAME
usePrism: ['jsx'],
highlight: {
theme: 'atom-one-dark',
},
algolia: {
apiKey: 'a8b4d117e513cd8d71d6a95e3d9d4a91',
indexName: 'verdaccio',
},
gaTrackingId: 'UA-2527438-21',
twitter: true,
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/code-blocks-buttons.js',
],
stylesheets: [
'/css/code-blocks-buttons.css',
],
// You may provide arbitrary config keys to be used as needed by your template.
repoUrl: 'https://github.com/verdaccio/verdaccio',
cleanUrl: true,
scrollToTop: true,
scrollToTopOptions: {
zIndex: 100,
},
};
module.exports = siteConfig;