whisper.cat stuff

This commit is contained in:
[Harper Innes]
2023-10-05 23:28:32 +11:00
parent 2a6e28637c
commit f127b4fea8
5224 changed files with 919361 additions and 0 deletions

View File

@ -0,0 +1,41 @@
include mixins/example
include mixins/example-content
include mixins/example-code
include mixins/example-inline
include mixins/param
include mixins/param-header
doctype html
html
head
title Air Datepicker
meta(charset='UTF-8')
meta(name="viewport" content="width=device-width, initial-scale=1")
link(href='css/style.css', rel='stylesheet', type='text/css')
link(href='css/github-gist.css', rel='stylesheet', type='text/css')
link(href='../dist/css/datepicker.min.css', rel='stylesheet', type='text/css')
link(href='https://fonts.googleapis.com/css?family=Fira+Sans:400,300,500&subset=latin,cyrillic', rel='stylesheet', type='text/css')
script(src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')
script(src='../dist/js/datepicker.js')
script(src='../dist/js/i18n/datepicker.en.js')
script(src='js/logger.js')
body
div.wrapper
main.main(role='main')
.container
.buttons
a(aria-label="Star t1m0n/air-datepicker on GitHub" data-count-aria-label="# stargazers on GitHub" data-count-api="/repos/t1m0n/air-datepicker#stargazers_count" data-count-href="/t1m0n/air-datepicker/stargazers" data-icon="octicon-star" href="https://github.com/t1m0n/air-datepicker" class="github-button") Star
block content
script(src='js/navigation.js')
script.
var $code = $('code');
$code.each(function (i, el) {
hljs.highlightBlock(el);
})
navigation.init();
script(async defer id="github-bjs" src="https://buttons.github.io/buttons.js")

View File

@ -0,0 +1,4 @@
mixin example-code(cl)
pre.example-code
code(class=cl)
block

View File

@ -0,0 +1,3 @@
mixin example-content()
.example-content
block

View File

@ -0,0 +1,4 @@
mixin example-inline(content, type)
span.example-inline
code(class= type).
#{content}

View File

@ -0,0 +1,6 @@
mixin example()
-var label = 'Пример';
-if (lang == 'en') label = 'Example';
.example
.example--label= label
block

View File

@ -0,0 +1,18 @@
mixin param-header(name, type, defaults, id)
-var typeLabel = 'Тип';
-var defaultLabel = 'Значение по умолчанию';
-if (lang == 'en') {typeLabel = 'Type'; defaultLabel = 'Defaults'};
header.param-header
h3(id = id)= name
if type
p.param-header--row
span.param-header--label= typeLabel
+example-inline(type, 'js')
if (defaults || block)
p.param-header--row
span.param-header--label= defaultLabel
if defaults
+example-inline(defaults, 'js')
if block
block

View File

@ -0,0 +1,5 @@
mixin param(content, type)
span.param-inline
strong !{content}
if type
i= type

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff