Skip to content

Commit

Permalink
Jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
quiple committed Apr 16, 2023
1 parent 7853d4d commit af61d7b
Show file tree
Hide file tree
Showing 13 changed files with 986 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bitsnpicas/
mkttf/
files/
src/
docs/
5 changes: 5 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
12 changes: 12 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: default
---

<style>footer { display: none; }</style>
<div id="error">
<h1>404</h1>
<p>페이지를 찾을 수 없습니다.</p>
<div class="btns">
<a class="btn" href="/">메인으로</a>
</div>
</div>
31 changes: 31 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.2"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
79 changes: 79 additions & 0 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
google-protobuf (3.22.3-x64-mingw-ucrt)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.1.0)
safe_yaml (1.0.5)
sass-embedded (1.62.0-x64-mingw-ucrt)
google-protobuf (~> 3.21)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2023.3)
tzinfo (>= 1.0.0)
unicode-display_width (2.4.2)
wdm (0.1.1)
webrick (1.8.1)

PLATFORMS
x64-mingw-ucrt

DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.2)
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
2.4.12
58 changes: 58 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Galmuri
author: Minseo Lee
email: itoupluk427@gmail.com
description: 작은 크기에서도 가독성 좋고 균형 있는 한글 비트맵 폰트.
baseurl: # the subpath of your site, e.g. /blog
url: https://galmuri.quiple.dev # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: kuipuru
github_username: quiple
github_reponame: galmuri
kramdown:
input: GFM
syntax_highlighter: rouge
sass:
style: compressed

# Build settings
# theme:
# plugins:

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
39 changes: 39 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!doctype html>
<html lang="ko">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}">
<meta name="author" content="{{ site.author }}">
<meta name="theme-color" content="#6171eb">
<meta property="og:title" content="{% if page.title %}{{ page.title }} • {% endif -%}{{ site.title }}">
<meta property="og:description" content="{{ site.description }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ site.url }}">
<meta property="og:image" content="{{ site.url }}/files/cover.png">
<meta property="og:image:type" content="image/png">
<meta property="og:locale" content="ko_KR">
<title>{% if page.title %}{{ page.title }} • {% endif -%}{{ site.title }}</title>
<link rel="canonical" href="{{ site.url }}">
<link rel="icon" type="image/svg+xml" href="./assets/galmuri.svg">
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/syntax.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3XWK7FLW2C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3XWK7FLW2C');
</script>
</head>

<body>
<main>{{ content }}</main>
<footer>
<small>Copyright &copy; 2019-2023 {{ site.author }}. Quiple은 Minseo Lee의 상표입니다. 닌텐도 DS는 Nintendo의 상표이며 이 프로젝트는 Nintendo와 어떠한 관련도 없습니다. 각 폰트 및 게임은 해당 소유자 및 사용 허가자의 상표 및 저작권 자산입니다.</small>
</footer>
</body>

</html>
59 changes: 59 additions & 0 deletions docs/_layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
layout: default
---
{{ content }}
<script>
window.addEventListener('load', function() {
setTimeout(function() {
document.querySelector('#title').classList.add('show');
}, 500);
});
const test = document.getElementById('test');
const testFamily = document.getElementById('test-family');
const testSize = document.getElementById('test-size');
const testSizeIndicator = document.getElementById('test-size-indicator');
testFamily.addEventListener('change', function() {
let testFontValue = this.value;
if (testFontValue == 'g14') {
test.style.fontFamily = 'Galmuri14-web, sans-serif';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'g11') {
test.style.fontFamily = 'Galmuri11-web, sans-serif';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'g11b') {
test.style.fontFamily = 'Galmuri11-web, sans-serif';
test.style.fontWeight = '700';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'g11c') {
test.style.fontFamily = 'Galmuri11-web, sans-serif';
test.style.fontWeight = '400';
test.style.fontStretch = 'condensed';
} else if (testFontValue == 'g9') {
test.style.fontFamily = 'Galmuri9-web, sans-serif';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'g7') {
test.style.fontFamily = 'Galmuri7-web, sans-serif';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'gm11') {
test.style.fontFamily = 'GalmuriMono11-web, monospace';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'gm9') {
test.style.fontFamily = 'GalmuriMono9-web, monospace';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
} else if (testFontValue == 'gm7') {
test.style.fontFamily = 'GalmuriMono7-web, monospace';
test.style.fontWeight = '400';
test.style.fontStretch = 'normal';
}
});
testSize.addEventListener('input', function() {
test.style.fontSize = this.value + 'px';
testSizeIndicator.innerText = this.value + 'px';
});
</script>
13 changes: 13 additions & 0 deletions docs/assets/galmuri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit af61d7b

Please sign in to comment.