Add TailwindCSS (#1252)

* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
This commit is contained in:
Evan Song
2024-07-06 20:57:32 -07:00
committed by GitHub
parent 0f2ddb452c
commit abec2e48d4
176 changed files with 7905 additions and 7433 deletions

View File

@@ -1,21 +1,21 @@
const startReport = (type: string, id: string) => {
const prefill = new URLSearchParams()
const prefill = new URLSearchParams();
// type
prefill.set('item', type)
prefill.set('itemID', id)
prefill.set("item", type);
prefill.set("itemID", id);
navigateTo('/report?' + prefill.toString())
}
navigateTo("/report?" + prefill.toString());
};
export const reportProject = (id: string) => {
return startReport('project', id)
}
return startReport("project", id);
};
export const reportVersion = (id: string) => {
return startReport('version', id)
}
return startReport("version", id);
};
export const reportUser = (id: string) => {
return startReport('user', id)
}
return startReport("user", id);
};