mirror of
https://github.com/Start9Labs/start9.com.git
synced 2026-03-26 10:21:54 +00:00
e8ae97da1c1230886745634baee7eedb9561c5f0
* 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>
Start9 website
Architecture
- 11ty for Static Site Generator
Serve for dev
npm run start
Open http://localhost:8080 to see the site. (8080+n will be used if 8080 is already in use, ad nauseum)
NOTE
Eleventy projects served in this way will re-build on save of any file in the project. Usually, any browser viewing the page will also hot-reload on build. However, this project stopped hot-reloading a couple of weeks ago. Have not been able to diagnose why. According to some threads I found, it's a bit of a black-box with many possible causes.
Deploy to production
You can see the results locally in production mode with:
npm run build
Now, your blog is ready to be deployed. All generated files are located at _site folder, which you can deploy with any hosting service.
(I use https://coolify.io/ which allows me to auto-deploy by pushing to GitLab.)
Project structure
.
├── .eleventy.js # Eleventy config
│
└── src
├── _data # Eleventy data folder (supports .json and exported .js)
├── _includes
│ └── components # landing sections and reuable components
│ └── layouts # page layouts
│ └── svgs # for including in njk templates
└── assets
├── fonts
├── images
├── js
└── styles # SCSS
Languages
SCSS
55.9%
Nunjucks
29.1%
JavaScript
15%