Skip to content

Commit

Permalink
2.0 the framework with a lore (#1)
Browse files Browse the repository at this point in the history
And with the click of a button history is rewritten. Never mind the struggle of getting to this point. It was always perfect right?
  • Loading branch information
ZebTheWizard authored Sep 5, 2024
1 parent d96f460 commit 05e96b3
Show file tree
Hide file tree
Showing 41 changed files with 2,559 additions and 0 deletions.
180 changes: 180 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches

.cache

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)

.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store


*.conf
.docker
*.sqlite*
65 changes: 65 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
![img](src/public/img/Chione-2.png)

# Chione - Snow Builds Kickstart

In memory are those who struggle to share. This repo is dedicated to them. You've got this!

## Origin

> In Greek mythology, Chione or Khionê (Ancient Greek: Χιονη from χιών – chiōn, "snow") was the daughter of the Oceanid Callirrhoe and Nilus. She was raped by a local peasant and transformed into a snow cloud by Hermes at the order of Zeus. From the clouds she cast snow (khiôn) upon the desert. The Greek word for snow (χιών chiōn) was thought to have come from her name.
>
> _[The Wikipedia Article](https://en.wikipedia.org/wiki/Chione_(daughter_of_Callirrhoe))_
## Introduction
Chione provides several avenues for generating static content. Authors should start simple. From there, they may wish to continue or combine ideas into something greater.

## Folder Structure
The `src` folder houses your unpublished thoughts. The first level of folders specify the broadest scope. By default, "language" is assumed to be the broadest scope. Just fork the repository. From there, do what you want.

## Getting Started
1. Fork the repository
2. Install dependencies [See bun installation](https://github.com/oven-sh/bun)
3. Build static files `./build.sh`
4. Share `docs` directory with world

## Screenshots
Only because if I were you, I'd want to see what I'm getting into. Food for thought.

![img](src/public/img/screenshot-1.jpg)
![img](src/public/img/screenshot-2.jpg)
![img](src/public/img/screenshot-3.jpg)
![img](src/public/img/screenshot-4.jpg)

## Advanced
This step is optional and only necessary if you want to rewrite URLs. Doing so means your content depends on a server and will ultimately cost money to publish. Hosting static content for free is possible if you search around, yet "compute" is what you desire.

1. Run `bun index.js`
2. Modify server to fit your needs
3. Publish

## Stack
Oh yes how could this be forgotten. Chione is built on the following technologies:
* Bun
* I18N routing
* Analytics
* 11TY
* Static Site Generation
* Markdown
* Templating (Liquid, Nunjucks, EJS, etc.)
* Vite
* Asset Bundling

## Purpose
This project aims to provide ground for thoughts. Please be mindful.

## Intent
Changes to this repository are not welcome at this time. Please fork and create your own apps.

## Disclaimers
Security, accessibility, performance, etc. are deferred. Chione provides rudimentary I18N. Concerns will not be addressed at this time. Please make your own framework.

## License
MIT

## Credits
Adobe, ChatGPT, Wikipedia, and subject matter are not my own. All rights reserved.
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

OUTPUT_DIR=docs
INPUT_DIR=src/public
DEBUG=Eleventy*

rm -rf $OUTPUT_DIR
bun x tailwindcss --input ./src/public/app.css --output ./docs/app.min.css --minify
bun x @11ty/eleventy --input $INPUT_DIR --output $OUTPUT_DIR "$@"
Binary file added bun.lockb
Binary file not shown.
19 changes: 19 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

<!doctype html>
<html lang="en" class="bg-indigo-300">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404</title>
<link rel="stylesheet" href="/app.min.css" />
</head>
<body>
<main class="max-w-[70ch] w-full mx-auto space-y-12">
<h1 class="title">404</h1>

<hr />
<article><p>Page not found</p>
</article>
</main>
</body>
</html>
8 changes: 8 additions & 0 deletions docs/app.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 74 additions & 0 deletions docs/en/snowboarding/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@

<!doctype html>
<html lang="en" class="bg-indigo-300">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Snowboarding: The Ultimate Winter Adventure</title>
<link rel="stylesheet" href="/app.min.css" />
</head>
<body>
<main class="max-w-[70ch] w-full mx-auto space-y-12">
<h1 class="title">Snowboarding: The Ultimate Winter Adventure</h1>
<nav class="toc no-print" >
<ol><li><a href="#getting-started">

Getting Started</a></li><li><a href="#my-favorite-snowboarding-destinations">

My Favorite Snowboarding Destinations</a><ol><li><a href="#1.-whistler-blackcomb%2C-canada">

1. Whistler Blackcomb, Canada</a></li><li><a href="#2.-zermatt%2C-switzerland">

2. Zermatt, Switzerland</a></li><li><a href="#3.-hakuba-valley%2C-japan">

3. Hakuba Valley, Japan</a></li></ol></li><li><a href="#tips-for-advanced-riders">

Tips for Advanced Riders</a></li><li><a href="#conclusion">

Conclusion</a></li></ol>
</nav>
<hr />
<article><p>Snowboarding is more than just a sport—it's a way of life. Whether you're carving down a pristine mountain slope or hitting the terrain park, there's nothing quite like the thrill of snowboarding.</p>
<h2 id="getting-started" tabindex="-1"><a class="header-anchor" href="#getting-started">
<span aria-hidden="true">#</span>
</a>Getting Started</h2>
<p>If you're new to snowboarding, the first step is to familiarize yourself with the basics. Here’s what you need to know before you hit the slopes:</p>
<ul>
<li><strong>Gear:</strong> A good snowboard, boots, bindings, and helmet are essential. Make sure your gear fits properly to ensure a safe and enjoyable experience.</li>
<li><strong>Lessons:</strong> Consider taking a few lessons if you're a beginner. An instructor can help you master the basics and get comfortable on the board.</li>
<li><strong>Stance:</strong> Decide whether you’re regular (left foot forward) or goofy (right foot forward). This will determine your stance on the board.</li>
</ul>
<h2 id="my-favorite-snowboarding-destinations" tabindex="-1"><a class="header-anchor" href="#my-favorite-snowboarding-destinations">
<span aria-hidden="true">#</span>
</a>My Favorite Snowboarding Destinations</h2>
<p>Over the years, I've had the chance to snowboard in some incredible locations. Here are a few of my favorites:</p>
<h3 id="1.-whistler-blackcomb%2C-canada" tabindex="-1"><a class="header-anchor" href="#1.-whistler-blackcomb%2C-canada">
<span aria-hidden="true">#</span>
</a>1. <strong>Whistler Blackcomb, Canada</strong></h3>
<p>One of the largest and most popular ski resorts in North America, Whistler Blackcomb offers a variety of terrain for all skill levels.</p>
<h3 id="2.-zermatt%2C-switzerland" tabindex="-1"><a class="header-anchor" href="#2.-zermatt%2C-switzerland">
<span aria-hidden="true">#</span>
</a>2. <strong>Zermatt, Switzerland</strong></h3>
<p>Home to the iconic Matterhorn, Zermatt is a must-visit for any serious snowboarder. The views alone are worth the trip.</p>
<h3 id="3.-hakuba-valley%2C-japan" tabindex="-1"><a class="header-anchor" href="#3.-hakuba-valley%2C-japan">
<span aria-hidden="true">#</span>
</a>3. <strong>Hakuba Valley, Japan</strong></h3>
<p>Known for its deep powder and beautiful scenery, Hakuba Valley is a snowboarding paradise.</p>
<h2 id="tips-for-advanced-riders" tabindex="-1"><a class="header-anchor" href="#tips-for-advanced-riders">
<span aria-hidden="true">#</span>
</a>Tips for Advanced Riders</h2>
<p>If you're already an experienced snowboarder, here are some tips to take your riding to the next level:</p>
<ul>
<li><strong>Practice Switch Riding:</strong> Improve your balance and control by riding switch (opposite of your natural stance).</li>
<li><strong>Master the Carve:</strong> Focus on carving turns to maintain speed and control, especially on steep terrain.</li>
<li><strong>Hit the Park:</strong> Challenge yourself with jumps, rails, and boxes in the terrain park. Start small and work your way up.</li>
</ul>
<h2 id="conclusion" tabindex="-1"><a class="header-anchor" href="#conclusion">
<span aria-hidden="true">#</span>
</a>Conclusion</h2>
<p>Snowboarding is an exhilarating way to enjoy the winter months. Whether you're just starting out or have been riding for years, there's always something new to learn and experience. So grab your board, hit the slopes, and enjoy the ride!</p>
<p><a href="#">Back to Home</a></p>
</article>
</main>
</body>
</html>
Loading

0 comments on commit 05e96b3

Please sign in to comment.