Skip to content

Commit

Permalink
fix router for static app
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Dec 29, 2020
1 parent 6039dc1 commit 3b82746
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/architecture.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/configuration.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# and to test with --prefer-lowest
composer tests
</code></pre> <h3 id=other-requirements>Other Requirements</h3> <p>This attention, not always respected by the main maintener, would be cool&nbsp;: <ul><li><p><strong>Add tests</strong> <li><p><strong>Document any change in behaviour</strong> - Make sure the <a href=../packages/docs/content/>documentation</a> are kept up-to-date. <li><p><strong>Consider our release cycle</strong> - We try to follow <a href=https://semver.org/>SemVer v2.0.0</a>. Randomly breaking public APIs is not an option. <li><p><strong>One pull request per feature</strong> - If you want to do more than one thing, send multiple pull requests. <li><p><strong>Send coherent history</strong> - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please <a href=https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages>squash them</a> before submitting.</ul> <p><strong>Happy coding</strong>!</div> </div></div> </div> <div class="lg:w-auto order-1 w-0"><div class=h-full><input class=hidden id=right-column type=checkbox> <label class="bg-primary block bottom-0 fixed h-12 hover:bg-primary-light left-0 lg:hidden m-2 p-3 w-12 z-50" for=right-column><div class="content-center flex flex-wrap h-6 relative w-6"><span class="block border-b-2 border-gray-100 h-1 w-full"></span> <span class="block border-b-2 border-gray-100 h-1 my-1 w-full"></span> <span class="block border-b-2 border-gray-100 h-1 w-full"></span></div> </label> <div class="bg-white border-gray-200 border-r h-full lg:block lg:mr-3 lg:top-18 mr-24 overflow-hidden px-3 sticky text-sm w-60 z-40" id=right-column-nav><a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/pushword.piedweb.com/installation> Getting Started</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/> Introduction</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/installation> Installation</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/configuration> Configuration</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/upgrade> Upgrade Guide</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/cookbook> Cookbook</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/pushword.piedweb.com/themes> Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/themes> Find a Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Customize the current theme or change the theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Override the Current Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Create a new theme</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/pushword.piedweb.com/create-extension> Extensions</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/extensions> Find an extension</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Customize your Pushword installation</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/create-extension> Create an extension (and package it)</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/pushword.piedweb.com/contribute> Contribute</a> <a class="bg-gray-200 block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/contribute> Issues and Pull Request</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/architecture> The Architecture</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/pushword.piedweb.com/roadmap> Roadmap</a></div></div> <script>document.addEventListener('DOMContentLoaded',function(){if(window.screen.width>=1025){document.querySelector('#right-column').checked=!0}})</script> <style>#right-column:checked~label span:nth-child(1){transform:rotate(45deg) translateY(.2rem) translateX(.1rem)}#right-column:checked~label span:nth-child(2){border-color:transparent;margin:0 !important}#right-column:checked~label span:nth-child(3){transform:rotate(-45deg) translateY(-.3rem) translateX(.1rem)}#right-column:not(:checked)~#right-column-nav{height:0 !important;width:0}#right-column:checked~label{left:15rem}</style></div></div> <footer class="border-gray-200 border-t-2 mt-10 text-sm"><div class="max-w-screen-md mx-auto p-3 py-10 text-right"><a class="block hover:text-primary-light mb-3 text-2xl text-primary" href=/pushword.piedweb.com/>Pushword</a> Design by <a class="hover:text-primary-light text-primary" href=https://piedweb.com>Pied Web</a>. </div> </footer> <header class="fixed flex flex-col left-0 right-0 top-0 z-50"><div class="bg-white border-b border-gray-200 flex flex-row items-center justify-between p-4"><span class="block font-mono mr-1 text-4xl"><a class="flex font-bold hover:text-primary-light logo text-primary" href=/pushword.piedweb.com/><span class="bg-center bg-contain fill-current h-12 inline-block text-primary-light w-12" style="background-image:url('/assets/logo.svg')"></span> <span class="hidden lg:inline-block ml-2 mt-2 text-small">Pushword</span></a> </span> <div class="flex flex-1 flex-row mx-2"><input class="border-none focus:border-none focus:outline-none focus:shadow-none focus:w-60 md:focus:w-full md:w-full px-2 py-1 text-xl w-20" id=search placeholder=Search type=text> <button class="bg-primary-light font-bold hidden hover:bg-primary md:block mr-10 px-4 py-4 rounded text-white" onclick="document.querySelector('#search').focus()"><svg xmlns=http://www.w3.org/2000/svg fill=currentColor height=16 viewbox="0 0 16 16" width=16><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"></path> </svg> </button></div> <nav class=nav><ul class="flex space-x-6"><li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/installation>Getting Started</a> <li><a class="hover:text-primary-light text-primary" href=/themes>Themes</a> <li><a class="hover:text-primary-light text-primary" href=/extensions>Extensions</a> <li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/contribute>Contribute</a> <li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/roadmap>Roadmap</a></ul> </nav></div> <div class="bg-gray-100 flex flex-col md:px-20 px-5 rounded-b-200" id=search-results></div></header> <style>body{margin-top:120px}a.logo:hover{filter:sepia(50%)}:root{--tw-ring-color:transparent}</style> <script src=/assets/app.js></script>
</code></pre> <h3 id=other-requirements>Other Requirements</h3> <p>This attention, not always respected by the main maintener, would be cool&nbsp;: <ul><li><p><strong>Add tests</strong> <li><p><strong>Document any change in behaviour</strong> - Make sure the <a href=../packages/docs/content/>documentation</a> are kept up-to-date. <li><p><strong>Consider our release cycle</strong> - We try to follow <a href=https://semver.org/>SemVer v2.0.0</a>. Randomly breaking public APIs is not an option. <li><p><strong>One pull request per feature</strong> - If you want to do more than one thing, send multiple pull requests. <li><p><strong>Send coherent history</strong> - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please <a href=https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages>squash them</a> before submitting.</ul> <p><strong>Happy coding</strong>!</div> </div></div> </div> <div class="lg:w-auto order-1 w-0"><div class=h-full><input class=hidden id=right-column type=checkbox> <label class="bg-primary block bottom-0 fixed h-12 hover:bg-primary-light left-0 lg:hidden m-2 p-3 w-12 z-50" for=right-column><div class="content-center flex flex-wrap h-6 relative w-6"><span class="block border-b-2 border-gray-100 h-1 w-full"></span> <span class="block border-b-2 border-gray-100 h-1 my-1 w-full"></span> <span class="block border-b-2 border-gray-100 h-1 w-full"></span></div> </label> <div class="bg-white border-gray-200 border-r h-full lg:block lg:mr-3 lg:top-18 mr-24 overflow-hidden px-3 sticky text-sm w-60 z-40" id=right-column-nav><a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/installation> Getting Started</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/> Introduction</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/installation> Installation</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/configuration> Configuration</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/upgrade> Upgrade Guide</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/cookbook> Cookbook</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/themes> Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/themes> Find a Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Customize the current theme or change the theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Override the Current Theme</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Create a new theme</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/create-extension> Extensions</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/extensions> Find an extension</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=#> Customize your Pushword installation</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/create-extension> Create an extension (and package it)</a> <a class="block font-semibold lg:mb-3 lg:text-xs mb-3 mt-3 px-3 text-gray-900 text-sm tracking-wide uppercase" href=/contribute> Contribute</a> <a class="bg-gray-200 block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/contribute> Issues and Pull Request</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/architecture> The Architecture</a> <a class="block duration-200 hover:bg-primary hover:text-white px-3 py-2 relative rounded text-gray-900 transition-colors" href=/roadmap> Roadmap</a></div></div> <script>document.addEventListener('DOMContentLoaded',function(){if(window.screen.width>=1025){document.querySelector('#right-column').checked=!0}})</script> <style>#right-column:checked~label span:nth-child(1){transform:rotate(45deg) translateY(.2rem) translateX(.1rem)}#right-column:checked~label span:nth-child(2){border-color:transparent;margin:0 !important}#right-column:checked~label span:nth-child(3){transform:rotate(-45deg) translateY(-.3rem) translateX(.1rem)}#right-column:not(:checked)~#right-column-nav{height:0 !important;width:0}#right-column:checked~label{left:15rem}</style></div></div> <footer class="border-gray-200 border-t-2 mt-10 text-sm"><div class="max-w-screen-md mx-auto p-3 py-10 text-right"><a class="block hover:text-primary-light mb-3 text-2xl text-primary" href=/>Pushword</a> Design by <a class="hover:text-primary-light text-primary" href=https://piedweb.com>Pied Web</a>. </div> </footer> <header class="fixed flex flex-col left-0 right-0 top-0 z-50"><div class="bg-white border-b border-gray-200 flex flex-row items-center justify-between p-4"><span class="block font-mono mr-1 text-4xl"><a class="flex font-bold hover:text-primary-light logo text-primary" href=https://pushword.piedweb.com/><span class="bg-center bg-contain fill-current h-12 inline-block text-primary-light w-12" style="background-image:url('/assets/logo.svg')"></span> <span class="hidden lg:inline-block ml-2 mt-2 text-small">Pushword</span></a> </span> <div class="flex flex-1 flex-row mx-2"><input class="border-none focus:border-none focus:outline-none focus:shadow-none focus:w-60 md:focus:w-full md:w-full px-2 py-1 text-xl w-20" id=search placeholder=Search type=text> <button class="bg-primary-light font-bold hidden hover:bg-primary md:block mr-10 px-4 py-4 rounded text-white" onclick="document.querySelector('#search').focus()"><svg xmlns=http://www.w3.org/2000/svg fill=currentColor height=16 viewbox="0 0 16 16" width=16><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"></path> </svg> </button></div> <nav class=nav><ul class="flex space-x-6"><li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/installation>Getting Started</a> <li><a class="hover:text-primary-light text-primary" href=/themes>Themes</a> <li><a class="hover:text-primary-light text-primary" href=/extensions>Extensions</a> <li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/contribute>Contribute</a> <li><a class="hidden hover:text-primary-light md:inline-block text-primary" href=/roadmap>Roadmap</a></ul> </nav></div> <div class="bg-gray-100 flex flex-col md:px-20 px-5 rounded-b-200" id=search-results></div></header> <style>body{margin-top:120px}a.logo:hover{filter:sepia(50%)}:root{--tw-ring-color:transparent}</style> <script src=/assets/app.js></script>
Loading

0 comments on commit 3b82746

Please sign in to comment.