mirror of
https://github.com/He4eT/huge-link.git
synced 2026-11-01 16:08:30 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28670096c8 | |||
| f24a751f50 | |||
| 62ce3c4cd6 | |||
| e031a519fd | |||
| 64ea49334e | |||
| 062779c4b3 |
37 changed files with 188 additions and 7 deletions
1
docs/200.html
Normal file
1
docs/200.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>huge-link</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"><link rel="manifest" href="/huge-link/manifest.json"><meta name="theme-color" content="#333333"><style>html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}html{font:112.5%/1.5 Open Sans,sans-serif;box-sizing:border-box;overflow-y:scroll}*{box-sizing:inherit}body{color:rgba(0,0,0,.8);font-family:Open Sans,sans-serif;font-weight:400;word-wrap:break-word;-webkit-font-kerning:normal;font-kerning:normal;-ms-font-feature-settings:"kern","liga","clig","calt";-webkit-font-feature-settings:"kern","liga","clig","calt";font-feature-settings:"kern","liga","clig","calt"}noscript{padding:0;margin:0 0 1.5rem}</style><link href="/huge-link/bundle.47ed9.css" rel="stylesheet" media="only x" onload="this.media='all'"><noscript><link rel="stylesheet" href="/huge-link/bundle.47ed9.css"></noscript></head><body><script type="__PREACT_CLI_DATA__">%7B%22preRenderData%22:%7B%22url%22:%22/200.html%22%7D%7D</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/huge-link/bundle.ba53f.esm.js" type="module"></script><script nomodule="" src="/huge-link/polyfills.dd476.js"></script><script nomodule="" defer="defer" src="/huge-link/bundle.25769.js"></script></body></html>
|
||||||
1
docs/404.html
Normal file
1
docs/404.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>huge-link</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"><link rel="manifest" href="/huge-link/manifest.json"><meta name="theme-color" content="#333333"><style>html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}html{font:112.5%/1.5 Open Sans,sans-serif;box-sizing:border-box;overflow-y:scroll}*{box-sizing:inherit}body{color:rgba(0,0,0,.8);font-family:Open Sans,sans-serif;font-weight:400;word-wrap:break-word;-webkit-font-kerning:normal;font-kerning:normal;-ms-font-feature-settings:"kern","liga","clig","calt";-webkit-font-feature-settings:"kern","liga","clig","calt";font-feature-settings:"kern","liga","clig","calt"}noscript{padding:0;margin:0 0 1.5rem}main{box-sizing:content-box;max-width:45rem;padding:3% 5%}</style><link href="/huge-link/bundle.47ed9.css" rel="stylesheet" media="only x" onload="this.media='all'"><noscript><link rel="stylesheet" href="/huge-link/bundle.47ed9.css"></noscript></head><body><main></main><script type="__PREACT_CLI_DATA__">%7B%22preRenderData%22:%7B%22url%22:%22/%22%7D%7D</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/huge-link/bundle.ba53f.esm.js" type="module"></script><script nomodule="" src="/huge-link/polyfills.dd476.js"></script><script nomodule="" defer="defer" src="/huge-link/bundle.25769.js"></script></body></html>
|
||||||
2
docs/bundle.25769.js
Normal file
2
docs/bundle.25769.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.25769.js.map
Normal file
1
docs/bundle.25769.js.map
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.47ed9.css
Normal file
1
docs/bundle.47ed9.css
Normal file
File diff suppressed because one or more lines are too long
2
docs/bundle.ba53f.esm.js
Normal file
2
docs/bundle.ba53f.esm.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/bundle.ba53f.esm.js.map
Normal file
1
docs/bundle.ba53f.esm.js.map
Normal file
File diff suppressed because one or more lines are too long
1
docs/index.html
Normal file
1
docs/index.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>huge-link</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"><link rel="manifest" href="/huge-link/manifest.json"><meta name="theme-color" content="#333333"><style>html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}html{font:112.5%/1.5 Open Sans,sans-serif;box-sizing:border-box;overflow-y:scroll}*{box-sizing:inherit}body{color:rgba(0,0,0,.8);font-family:Open Sans,sans-serif;font-weight:400;word-wrap:break-word;-webkit-font-kerning:normal;font-kerning:normal;-ms-font-feature-settings:"kern","liga","clig","calt";-webkit-font-feature-settings:"kern","liga","clig","calt";font-feature-settings:"kern","liga","clig","calt"}noscript{padding:0;margin:0 0 1.5rem}main{box-sizing:content-box;max-width:45rem;padding:3% 5%}</style><link href="/huge-link/bundle.47ed9.css" rel="stylesheet" media="only x" onload="this.media='all'"><noscript><link rel="stylesheet" href="/huge-link/bundle.47ed9.css"></noscript></head><body><main></main><script type="__PREACT_CLI_DATA__">%7B%22preRenderData%22:%7B%22url%22:%22/%22%7D%7D</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/huge-link/bundle.ba53f.esm.js" type="module"></script><script nomodule="" src="/huge-link/polyfills.dd476.js"></script><script nomodule="" defer="defer" src="/huge-link/bundle.25769.js"></script></body></html>
|
||||||
10
docs/manifest.json
Normal file
10
docs/manifest.json
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"name": "huge-link",
|
||||||
|
"short_name": "huge-link",
|
||||||
|
"start_url": "/huge-link/",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait",
|
||||||
|
"background_color": "#fff",
|
||||||
|
"theme_color": "#333333"
|
||||||
|
}
|
||||||
|
|
||||||
2
docs/polyfills.7fc88.esm.js
Normal file
2
docs/polyfills.7fc88.esm.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/polyfills.7fc88.esm.js.map
Normal file
1
docs/polyfills.7fc88.esm.js.map
Normal file
File diff suppressed because one or more lines are too long
2
docs/polyfills.dd476.js
Normal file
2
docs/polyfills.dd476.js
Normal file
File diff suppressed because one or more lines are too long
1
docs/polyfills.dd476.js.map
Normal file
1
docs/polyfills.dd476.js.map
Normal file
File diff suppressed because one or more lines are too long
1
docs/preact_prerender_data.json
Normal file
1
docs/preact_prerender_data.json
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{"url":"/"}
|
||||||
1
docs/push-manifest.json
Normal file
1
docs/push-manifest.json
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{"/":{"bundle.47ed9.css":{"type":"style","weight":1},"bundle.ba53f.esm.js":{"type":"script","weight":1}},"/editor":{"bundle.47ed9.css":{"type":"style","weight":1},"bundle.ba53f.esm.js":{"type":"script","weight":1},"route-editor.chunk.6c9ac.esm.js":{"type":"script","weight":0.9},"route-editor.chunk.e8d99.css":{"type":"style","weight":0.9}},"/post":{"bundle.47ed9.css":{"type":"style","weight":1},"bundle.ba53f.esm.js":{"type":"script","weight":1},"route-post.chunk.95b49.esm.js":{"type":"script","weight":0.9}}}
|
||||||
2
docs/route-editor.chunk.6c9ac.esm.js
Normal file
2
docs/route-editor.chunk.6c9ac.esm.js
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{TqeA:function(t,e,n){"use strict";n.r(e);var r=n("hosL"),o=n("ox/y"),a=n("tP7B"),i=n.n(a);e.default=({markdown:t,setMarkdown:e})=>Object(r.h)("section",null,Object(r.h)("h1",null,"Huge link"),Object(r.h)("p",null,"A minimalist serverless publishing tool that allows you to create markdown posts and push them to the Web by sharing the link."),Object(r.h)("textarea",{class:i.a.textarea,placeholder:"Write a post using markdown and click Preview",onInput:({target:t})=>e(t.value)},t),Object(r.h)("nav",null,Object(r.h)(o.Link,{href:"/huge-link/preview"},"Preview")))},"ox/y":function(t,e,n){"use strict";function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}Object.defineProperty(e,"__esModule",{value:!0}),e.Link=e.Match=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n("hosL"),i=n("Y3FI"),s=e.Match=function(t){function e(){for(var e,n,o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return e=n=r(this,t.call.apply(t,[this].concat(a))),n.update=function(t){n.nextUrl=t,n.setState({})},r(n,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentDidMount=function(){i.subscribers.push(this.update)},e.prototype.componentWillUnmount=function(){i.subscribers.splice(i.subscribers.indexOf(this.update)>>>0,1)},e.prototype.render=function(t){var e=this.nextUrl||(0,i.getCurrentUrl)(),n=e.replace(/\?.+$/,"");return this.nextUrl=null,t.children({url:e,path:n,matches:!1!==(0,i.exec)(n,t.path,{})})},e}(a.Component),c=function(t){var e=t.activeClassName,n=t.path,r=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["activeClassName","path"]);return(0,a.h)(s,{path:n||r.href},(function(t){return(0,a.h)(i.Link,o({},r,{class:[r.class||r.className,t.matches&&e].filter(Boolean).join(" ")}))}))};e.Link=c,e.default=s,s.Link=c},tP7B:function(t){t.exports={textarea:"textarea__1UKFm"}}}]);
|
||||||
|
//# sourceMappingURL=route-editor.chunk.6c9ac.esm.js.map
|
||||||
1
docs/route-editor.chunk.6c9ac.esm.js.map
Normal file
1
docs/route-editor.chunk.6c9ac.esm.js.map
Normal file
File diff suppressed because one or more lines are too long
1
docs/route-editor.chunk.e8d99.css
Normal file
1
docs/route-editor.chunk.e8d99.css
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.textarea__1UKFm{font-family:Fira Code,monospace;display:block;resize:vertical;min-height:50vh;width:100%;box-sizing:border-box;outline:none;border:4px solid rgba(0,0,0,.7);padding:.7em 1em;margin-bottom:1.5em}
|
||||||
2
docs/route-editor.chunk.fda69.js
Normal file
2
docs/route-editor.chunk.fda69.js
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{TqeA:function(t,e,n){"use strict";n.r(e);var r=n("hosL"),o=n("ox/y"),a=n("tP7B"),i=n.n(a);e.default=function(t){var e=t.markdown,n=t.setMarkdown;return Object(r.h)("section",null,Object(r.h)("h1",null,"Huge link"),Object(r.h)("p",null,"A minimalist serverless publishing tool that allows you to create markdown posts and push them to the Web by sharing the link."),Object(r.h)("textarea",{class:i.a.textarea,placeholder:"Write a post using markdown and click Preview",onInput:function(t){return n(t.target.value)}},e),Object(r.h)("nav",null,Object(r.h)(o.Link,{href:"/huge-link/preview"},"Preview")))}},"ox/y":function(t,e,n){"use strict";function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}Object.defineProperty(e,"__esModule",{value:!0}),e.Link=e.Match=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n("hosL"),i=n("Y3FI"),c=e.Match=function(t){function e(){for(var e,n,o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return e=n=r(this,t.call.apply(t,[this].concat(a))),n.update=function(t){n.nextUrl=t,n.setState({})},r(n,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentDidMount=function(){i.subscribers.push(this.update)},e.prototype.componentWillUnmount=function(){i.subscribers.splice(i.subscribers.indexOf(this.update)>>>0,1)},e.prototype.render=function(t){var e=this.nextUrl||(0,i.getCurrentUrl)(),n=e.replace(/\?.+$/,"");return this.nextUrl=null,t.children({url:e,path:n,matches:!1!==(0,i.exec)(n,t.path,{})})},e}(a.Component),s=function(t){var e=t.activeClassName,n=t.path,r=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["activeClassName","path"]);return(0,a.h)(c,{path:n||r.href},(function(t){return(0,a.h)(i.Link,o({},r,{class:[r.class||r.className,t.matches&&e].filter(Boolean).join(" ")}))}))};e.Link=s,e.default=c,c.Link=s},tP7B:function(t){t.exports={textarea:"textarea__1UKFm"}}}]);
|
||||||
|
//# sourceMappingURL=route-editor.chunk.fda69.js.map
|
||||||
1
docs/route-editor.chunk.fda69.js.map
Normal file
1
docs/route-editor.chunk.fda69.js.map
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue