JS frontend stuff
Move old ember frontend to properly named folder Add vue based new frontend
This commit is contained in:
parent
8947d97825
commit
88398334fe
254 changed files with 837 additions and 0 deletions
6
frontend-old-ember/app/helpers/isLandscape.ts
Normal file
6
frontend-old-ember/app/helpers/isLandscape.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export default function isLandscape(): boolean {
|
||||
return (
|
||||
Math.min(screen.availHeight, window.innerHeight) <
|
||||
Math.min(screen.availWidth, window.innerWidth)
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue