full page redesign; improved light theme
This commit is contained in:
parent
b58290b4e5
commit
6ee4538dc3
9 changed files with 379 additions and 284 deletions
13
public/script/index.js
Normal file
13
public/script/index.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { hijackClickEvent } from './main.js';
|
||||
|
||||
document.addEventListener('readystatechange', () => {
|
||||
document.querySelectorAll("#project-list .project-item").forEach(projectItem => {
|
||||
const link = projectItem.querySelector('a');
|
||||
hijackClickEvent(projectItem, link);
|
||||
});
|
||||
|
||||
document.querySelectorAll("#crew-list .crew-item .crew-info").forEach(crewItem => {
|
||||
const link = crewItem.querySelector('a.handle');
|
||||
hijackClickEvent(crewItem, link);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue