Misc edits for release (#1)

* optimize data for ticker

* rework data model for cleaner be your own section

* wip

* delete deprecated assets

* edit copy; misc small style fixes

* reenable ticker, update nexcloud, edit embassy one name

* rearrange support section

* new graphiccs to info section

* bold personal server iheader in info section

* mobile styling for be your own section

* adjust infographics section

* adjust underline + animmation

* add ui screenshots to powered by section

* fix overflow, sizing, spacing

* renable ticker

* fix marketplace link

* more link updates

* edit team bios and fix apostrophes

* update footer with bdonation link; adjust scss spacing

* copy changes

* add license page

* clean up spacing and uunused files

* Update src/_includes/components/landing/community.njk

* Update src/_includes/components/landing/infographics.njk

* Update src/_includes/components/landing/powered-by.njk

* Update src/_includes/components/landing/support.njk

* connect subscribe api

* implement newsletter subscription

* audit all links and cleanup

* add 404 page and more cleanup

* add sitemap and robots

* fix service links

* small fixes + copy edits

* fix infographics and ticker spacing

* update emails

* update docs links and temp remove team

* update docs link urls

* fix diy link

* typo

* typo and sizing

* Update src/about.njk

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
Lucy C
2022-11-01 08:35:02 -06:00
committed by GitHub
parent 322b0e19db
commit e8ae97da1c
90 changed files with 1262 additions and 1120 deletions

View File

@@ -1,6 +1,6 @@
const eleventySass = require("eleventy-sass");
const lazyImagesPlugin = require('eleventy-plugin-lazyimages');
const faviconPlugin = require("eleventy-favicon");
const format = require('date-fns/format')
// https://github.com/artstorm/eleventy-plugin-seo
const pluginSEO = require("eleventy-plugin-seo");
@@ -8,9 +8,6 @@ const pluginSEO = require("eleventy-plugin-seo");
// https://github.com/saneef/eleventy-plugin-img2picture
const img2picture = require("eleventy-plugin-img2picture");
// https://www.npmjs.com/package/@sardine/eleventy-plugin-tinycss
const tinyCSS = require('@sardine/eleventy-plugin-tinycss');
// https://www.npmjs.com/package/@sardine/eleventy-plugin-tinysvg
const tinysvg = require('@sardine/eleventy-plugin-tinysvg');
@@ -51,12 +48,18 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(eleventySass);
eleventyConfig.addPlugin(faviconPlugin, { destination: './_site' });
eleventyConfig.addPlugin(pluginSEO, require("./src/_data/seo.json"));
//eleventyConfig.addPlugin(tinyCSS); // smartly injects selectors from external css files into style tags. requires some massaging. not ready for prime time.
eleventyConfig.addPlugin(tinyHTML);
eleventyConfig.addPlugin(tinysvg, {
baseUrl: 'src/_includes/svgs/',
});
eleventyConfig.addWatchTarget('./src/assets/styles/**/*')
// add date filter for human readability
eleventyConfig.addFilter('date', function (date, dateFormat) {
return format(date, dateFormat)
})
return {
dir: { input: "src", output: "_site", data: "_data" },
};