2021-10-18 15:08:46 +02:00

71 lines
2.1 KiB
JavaScript

const ip = require( 'ip' )
const { normalize } = require( 'path' )
module.exports = {
// ///////////////////////////////
// Identity variables used in pug templates
// Relevant for SEO
// ⚠️ You should edit this section
// ///////////////////////////////
identity: {
title: "Rocketeer NFT project",
desc: "Rocketeer NFT drop website.",
"logo": "logo.jpg"
},
// ///////////////////////////////
// System vars managing some pug elements as well as file paths
// ///////////////////////////////
system: {
// // ⚠️ You should edit the 'url' key to be the production URL
url: process.env.NODE_ENV == 'production' ? 'https://rocketeer.web.app/' : 'http://' + ip.address() + ':3000/',
public: normalize( process.env.NODE_ENV == 'production' ? __dirname + '/../docs/' : __dirname + '/../public/' ),
source: normalize( __dirname + '/../src/' ),
timestamp: new Date().getTime(),
year: new Date().getFullYear(),
// Browser compatibility warnings
browser: {
support: {
// browsers: [ 'last 2 versions', 'not dead' ],
// Format your own based on: https://github.com/browserslist/browserslist
browsers: [ '>0.2%', 'last 2 versions', 'not dead', 'not op_mini all', 'not IE 11' ]
}
},
// Image compression settings, these defaults are fine for many people
images: {
defaultCompression: 80, // Default jpeg compression
sizes: [ 240, 480, 720, 1080, 2160, 3840 ], // Image sizes to generate
extensions: [ 'jpg', 'png', 'jpeg', 'webp' ] // Image file extensions to compress and transform
}
},
// ///////////////////////////////
// About the author. Change this to your own
// ⚠️ You should edit this section
// ///////////////////////////////
author: {
firstname: "Mentor",
lastname: "Palokaj",
email: "mentor@palokaj.co",
twitter: "@actuallymentor",
url: "https://github.com/actuallymentor"
},
// ///////////////////////////////
// Tracking codes
// ⚠️ You should edit this section
// ///////////////////////////////
track: {
gverification: undefined, // Google webmaster verification code
gtm: undefined // Google tag manager code
}
}