2021-05-05 14:43:16 +02:00
|
|
|
/*
|
2024-09-24 09:42:07 +02:00
|
|
|
* Copyright (c) 2020 - present Cloudogu GmbH
|
2021-05-05 14:43:16 +02:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify it under
|
|
|
|
|
* the terms of the GNU Affero General Public License as published by the Free
|
|
|
|
|
* Software Foundation, version 3.
|
2021-05-05 14:43:16 +02:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
|
|
|
* details.
|
2021-05-05 14:43:16 +02:00
|
|
|
*
|
2024-09-24 09:42:07 +02:00
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
* along with this program. If not, see https://www.gnu.org/licenses/.
|
2021-05-05 14:43:16 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// https://bulma.io/documentation/overview/responsiveness/
|
|
|
|
|
|
|
|
|
|
export type Device = {
|
|
|
|
|
width: number;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const devices = {
|
|
|
|
|
mobile: {
|
2021-07-07 16:26:58 +02:00
|
|
|
width: 768,
|
2021-05-05 14:43:16 +02:00
|
|
|
},
|
|
|
|
|
tablet: {
|
2021-07-07 16:26:58 +02:00
|
|
|
width: 769,
|
2021-05-05 14:43:16 +02:00
|
|
|
},
|
|
|
|
|
desktop: {
|
2021-07-07 16:26:58 +02:00
|
|
|
width: 1024,
|
2021-05-05 14:43:16 +02:00
|
|
|
},
|
|
|
|
|
widescreen: {
|
2021-07-07 16:26:58 +02:00
|
|
|
width: 1216,
|
2021-05-05 14:43:16 +02:00
|
|
|
},
|
|
|
|
|
fullhd: {
|
2021-07-07 16:26:58 +02:00
|
|
|
width: 1408,
|
|
|
|
|
},
|
2021-05-05 14:43:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type DeviceType = keyof typeof devices;
|