This repository contains the WOS Nerds website - a collection of tools and calculators for Whiteout Survival.
The website is organized into multiple standalone tools in subfolders:
/rallytracker- Track rallies and coordination/researchtree- Research calculator and planner/troop-stats- Troop statistics viewer/calendar- Calendar of events/svs-history- SVS History viewer/alliancerss- Alliance RSS Calculator/formationbuilder- Formation building tool/layout-planner- Base layout planner
- Tailwind CSS - For responsive styling
- Vanilla JavaScript - For functionality
- Static HTML - No backend required
The website is designed to be fully responsive and mobile-friendly with:
- Mobile-first design approach
- Responsive sidebar navigation
- Optimized layouts for small screens
- Touch-friendly interface elements
- Clone the repository
- Install dependencies:
npm install - Build the CSS:
npm run build:css - For development with live CSS updates:
npm run watch:css
The site uses a template system for consistent layout across all tools:
- Each tool folder can use the template by including the template helper:
<script src="/js/template-helper.js"></script>
<script>
applyTemplate('Tool Name', {
beforeContent: function() {
// Add custom CSS
addStylesheet('/toolname/css/style.css');
},
afterContent: function() {
// Add custom JS
addScript('/toolname/js/script.js');
}
});
</script>- Alternatively, copy
/template.htmland replace placeholders:PAGE_TITLE- The page titleMAIN_CONTENT- Your tool's HTML contentADDITIONAL_CSS- Your tool's CSS linksADDITIONAL_SCRIPTS- Your tool's JavaScript files
Contributions are welcome! To add a new tool:
- Create a new folder in the root directory
- Use the template system to maintain consistent styling
- Create your tool using HTML, CSS, and JavaScript
- Add your tool to the navigation in
/navbar.html