feat: Consolidate body navigation
- Update html spec in components page - Add form components - Add JS for components which is not globally available - Move body navigation to main template - Reformat main template
This commit is contained in:
parent
8f15664d57
commit
4fcd7742a8
6 changed files with 167 additions and 96 deletions
|
|
@ -15,8 +15,6 @@ tags:
|
|||
|
||||
{% block main %}
|
||||
<!-- {{ page.fileSlug }}.page -->
|
||||
{% include "hippie/partials/_body_nav.njk" %}
|
||||
|
||||
<section class="sec_main_center">
|
||||
<header>
|
||||
<hgroup>
|
||||
|
|
@ -41,19 +39,9 @@ tags:
|
|||
logPerf('Assets loaded.', assetsLoaded);
|
||||
// Page specific
|
||||
// ------------------------------------------------------------------------------
|
||||
// Create instance of object made by contructor function
|
||||
var scrollUi = new HippieScroll($('.js_scrolltop'), $('.js_scrolldown'));
|
||||
var helpUi = new HippieMeta($('.js_showmeta'), $('.js_pop'));
|
||||
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
|
||||
composeMail('.general', 'name', 'domain', 'tld', '', '')
|
||||
|
||||
$(document).ready(function () {
|
||||
logPerf('JQ document ready event fired.');
|
||||
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
|
||||
composeMail('.general', 'name', 'domain', 'tld', '', '')
|
||||
});
|
||||
|
||||
$(document).scroll(function () {
|
||||
scrollUi.check();
|
||||
});
|
||||
logPerf('Application ready... not.');
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue