-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17928a8
commit 4bd8662
Showing
13 changed files
with
652 additions
and
57 deletions.
There are no files selected for viewing
Binary file added
BIN
+19.3 KB
apps/configure/src/assets/devices/com.apple.macbookair-11-unibody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const devices = import.meta.glob<true, "default", string>("./devices/*.png", { | ||
import: "default", | ||
eager: true, | ||
}); | ||
|
||
export function determineDeviceImage() { | ||
// TODO: Properly implement this logic | ||
const d = Object.values(devices)[0]!; | ||
return d; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { PageLayout, PageLayoutHeading } from "~/components/PageLayout"; | ||
import { SearchPage, createSearchPageContext } from "~/components/search"; | ||
|
||
export default function Page() { | ||
const ctx = createSearchPageContext([ | ||
{ | ||
type: "enum", | ||
target: "type", | ||
value: "scripts", | ||
}, | ||
]); | ||
|
||
return ( | ||
<PageLayout heading={<PageLayoutHeading>Scripts</PageLayoutHeading>}> | ||
<SearchPage {...ctx} showFilterBar={false} /> | ||
</PageLayout> | ||
); | ||
} |
Oops, something went wrong.