about summary refs log tree commit diff
path: root/src/view/com/util/layouts/Breakpoints.web.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-03 14:18:13 -0800
committerGitHub <noreply@github.com>2025-02-03 22:18:13 +0000
commitfa8607b861e0719d76778aa14af0745313640e33 (patch)
tree7496a49cba6627809be0a4067dde5cca0d8fece0 /src/view/com/util/layouts/Breakpoints.web.tsx
parent23e62b18de9537b50c8b1df2b4744adc030501d0 (diff)
downloadvoidsky-fa8607b861e0719d76778aa14af0745313640e33.tar.zst
Spring cleaning (#7640)
* delete breakpoint layouts

* delete empty file

* delete legacy radio buttons

* delete selectable button

* rm radio buttons from debug

* delete storage.ts

* delete type-assertions.ts
Diffstat (limited to 'src/view/com/util/layouts/Breakpoints.web.tsx')
-rw-r--r--src/view/com/util/layouts/Breakpoints.web.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/view/com/util/layouts/Breakpoints.web.tsx b/src/view/com/util/layouts/Breakpoints.web.tsx
deleted file mode 100644
index 5106e3e1f..000000000
--- a/src/view/com/util/layouts/Breakpoints.web.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react'
-import MediaQuery from 'react-responsive'
-
-export const Desktop = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={1300}>{children}</MediaQuery>
-)
-export const TabletOrDesktop = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={800}>{children}</MediaQuery>
-)
-export const Tablet = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={800} maxWidth={1300 - 1}>
-    {children}
-  </MediaQuery>
-)
-export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery maxWidth={1300 - 1}>{children}</MediaQuery>
-)
-export const Mobile = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery maxWidth={800 - 1}>{children}</MediaQuery>
-)