Commit graph hackertours-theme/assets/js
Author SHA1 Message Date
Fredrik Jonsson
97ab01cb96 Set once: true for all addEventListener in contact.js so not to waste CPU cycels. 2023-09-29 09:24:24 +02:00
Fredrik Jonsson
cf0c43760c Add clearcookieconsent link/button option. 2023-07-17 11:00:46 +02:00
Fredrik Jonsson
31f67a58b0 Remove obsolute form-submit and form-error. 2023-07-16 07:40:56 +02:00
Fredrik Jonsson
33c9642116 Remove use of :has() from js as well. 2023-04-24 14:25:36 +02:00
Fredrik Jonsson
a54b27a9a7 Code style and code comments fixes. 2023-04-24 09:20:48 +02:00
Fredrik Jonsson
a5e759d988 Add style components for zebra-tables and responsive-tables. 2023-04-23 16:47:57 +02:00
Fredrik Jonsson
eee22b08f5 Adjustments to the katex integration, part 2. 2023-03-17 16:44:50 +01:00
Fredrik Jonsson
5033f3a277 Adjustments to the katex integration. 2023-03-17 14:14:19 +01:00
Jason Li
1b82c48add
Add math typesetting support with KaTex (#80)
* add math typesetting support with KaTex
* Simplified the syntax for checking "math" property
* save katex files to local
* use local katex file to render math typesetting
* revert changes in scripts.html and styles.html
* Save math.js as a file, not inline script.
* move it into "assets/js" folder
* Load all necessary scripts and styles in math.html
2023-03-17 13:50:57 +01:00
Fredrik Jonsson
afbc914417 Remove unused our outdated js libs. 2023-03-13 08:07:52 +01:00
Fredrik Jonsson
0cbd21753b Move third party js to a assets/vendor dir. 2023-03-02 08:19:28 +01:00
Fredrik Jonsson
37218ed069 Adjustments to the mobile menu. 2023-02-27 13:47:14 +01:00
Fredrik Jonsson
676afcec69 Update alpinejs lib. 2023-02-20 18:22:05 +01:00
Fredrik Jonsson
dcd3f08390 Remove obsolete jquery versions of theme js. 2023-02-01 10:33:48 +01:00
Fredrik Jonsson
14f336f1d0 Minor style fix to contact.js. 2023-01-05 09:36:37 +01:00
Fredrik Jonsson
df5b2e08e4 Move focus back to button efter user tab out of last link in mobile menu. 2022-12-22 09:47:25 +01:00
Fredrik Jonsson
0581ac810f No longer load Umbrella JS by default sine alla theme JS is vanilla. Updated jQuery to latest version. Updated README. 2022-12-21 13:56:57 +01:00
Fredrik Jonsson
331be7ebe4 Convert the contact form to vanilla JS. 2022-12-21 13:39:50 +01:00
Fredrik Jonsson
7f91caaf5d Improve the accecibility of the mobil menu. Also switch to SVG hamburger icon that is animated. 2022-12-21 10:05:10 +01:00
Fredrik Jonsson
e6c34b0126 Update alpine.js. 2022-12-13 13:34:17 +01:00
Fredrik Jonsson
c5ef739139 Fix to search.js. 2022-08-07 15:51:52 +02:00
Fredrik Jonsson
f4bdc66a40 Simplify the mobile.js. 2022-08-07 15:47:59 +02:00
Fredrik Jonsson
cdb23e701d Set tokenize forward for FlexSearch.js. 2022-08-06 21:35:39 +02:00
Fredrik Jonsson
617ab51ed7 Replace ExecuteAsTemplate with js.Build for js files. 2022-07-19 15:06:57 +02:00
Fredrik Jonsson
15c5ebe76e Add Alpine.js, will start expermimenting with this. 2022-05-27 09:36:33 +02:00
Fredrik Jonsson
e99c0b26d0 Update umbrella.js, remove unused unminified version. 2022-05-27 09:36:00 +02:00
Fredrik Jonsson
d69654162f Updating lining for css and js. 2022-01-25 10:30:57 +01:00
Fredrik Jonsson
a3a1294c4e Use css variables for colours. Move color, font and variable files to sass root folder. 2022-01-24 08:03:42 +01:00
Fredrik Jonsson
767119d014 Use localstorage for cookiconsent response instead of setting a cookie. 2021-12-13 10:50:23 +01:00
Fredrik Jonsson
57c4ec440a Updating to FlexSearch.js v0.7.2. 2021-08-17 08:52:46 +02:00
Fredrik Jonsson
a1e7e3f79b Add js libs lozad (lazy load images) and list (sort and filter any HTML). 2021-06-23 10:14:40 +02:00
Fredrik Jonsson
d4117c730b Replace gulp with plain npm for linting. 2021-06-21 19:20:17 +02:00
Fredrik Jonsson
bff732b3e0 Use hidden class on cookie consent. 2021-05-21 08:28:06 +02:00
Fredrik Jonsson
030c7217fd Switch to internal Google Analytic temple to support v4. 2021-05-20 09:33:51 +02:00
Fredrik Jonsson
eab34d2c67 Update to jQuery v3.6.0. 2021-04-22 14:56:51 +02:00
Fredrik Jonsson
e59dc13d4d No need to use window.Cookies, just Cookies works. 2021-02-01 10:45:00 +01:00
Fredrik Jonsson
aa3a5d3808 Lint fixes. 2021-02-01 09:29:04 +01:00
Fredrik Jonsson
79b366cb18 Cookie concent feature. 2021-01-29 14:53:38 +01:00
Fredrik Jonsson
ea0f618957 Update to Jquery 3.5.1 and UmbrellaJS 3.2.2. 2020-12-03 00:26:42 +01:00
Fredrik Jonsson
88054afa22 Add a early js script. 2020-08-24 02:08:30 +02:00
Adinda Praditya
6e68d13eb7 Wrap config params to fix tracking.js error 2020-08-10 21:37:40 +07:00
Fredrik Jonsson
695d22015f Reneme matomo partial to tracking since we have added Google analytic support. 2020-08-10 11:32:25 +02:00
Adinda Praditya
60e8fcc73e Add support for Google Analytics with Content security policy headers 2020-08-09 11:46:43 +07:00
Fredrik Jonsson
fcde1683d1 Integrated FlexSearch.js and removed DuckDuckGo search. 2020-03-24 21:45:43 +01:00
Fredrik Jonsson
91106240a9 Move matomo code to seperate script to ease implementing Content-Security-Policy header. 2020-01-13 10:46:53 +01:00
Fredrik Jonsson
9eb02e6fc8 Updated to jQuery v3.4.1. 2019-06-05 11:57:22 +02:00
Fredrik Jonsson
12c9252db0 Readding the jquery versions of the theme javascript as examples. 2019-03-20 08:08:15 +01:00
Fredrik Jonsson
d0a11e1ad4 Adding umbrellajs, an tiny jquery replacement. Switching theme js to umbrellajs. 2019-03-20 05:52:26 +01:00
Fredrik Jonsson
d3761ce353 Rebuild the mobile menu to depend less on javascript. 2019-03-17 16:38:04 +01:00
Fredrik Jonsson
b763e4f514 Moving sass and js files in to the assets directory. 2019-03-08 14:03:34 +01:00