Commit graph hackertours-theme/assets/js
Author SHA1 Message Date
Fredrik Jonsson
4f8696afca Fix bug in contact.js. 2025-03-26 19:08:53 +01:00
Fredrik Jonsson
90e45f224a Use data attributs instead of class for js integration. 2025-03-26 14:32:17 +01:00
Fredrik Jonsson
bcf25a8fd7 Rename mobile.* files to mobilemenu.*. 2025-01-22 14:48:13 +01:00
Fredrik Jonsson
2f6becec53 Format fixes for js with biome. 2024-12-20 19:31:27 +01:00
Fredrik Jonsson
089a0de6e0 Add biome for js lint and formatting. 2024-12-20 14:53:04 +01:00
Fredrik Jonsson
92dd57684d Remove redundant use strict directive. 2024-12-20 12:22:09 +01:00
Fredrik Jonsson
847e2b10ba Use data attribute instead of class for mobile navopen. 2024-10-18 23:05:53 +02:00
Fredrik Jonsson
2a38980dbe Avoid js error when no menu items exist. 2024-08-20 11:56:05 +02:00
Fredrik Jonsson
608bf2538d Close mobile menu with esc key. 2024-02-25 15:37:41 +01:00
Fredrik Jonsson
f7245000d0 Support more math tags. 2024-01-30 19:35:45 +01:00
Fredrik Jonsson
51f594091b Lint js fix. 2023-11-11 10:58:14 +01:00
Fredrik Jonsson
94a6dc0af3
Make search work for all languages when contentDir is set. (#106) 2023-10-25 08:40:18 +02:00
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