generated from t3-oss/create-t3-turbo
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
7818ec4
commit d251e9f
Showing
282 changed files
with
20,603 additions
and
35,921 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"bradlc.vscode-tailwindcss", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"expo.vscode-expo-tools", | ||
"yoavbls.pretty-ts-errors" | ||
"yoavbls.pretty-ts-errors", | ||
"biomejs.biome" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,20 +1,16 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
"source.organizeImports.biome": "explicit", | ||
"source.fixAll.biome": "explicit", | ||
"quickfix.biome": true | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.formatOnSave": true, | ||
"eslint.rules.customizations": [{ "rule": "*", "severity": "warn" }], | ||
"eslint.workingDirectories": [ | ||
{ "pattern": "apps/*/" }, | ||
{ "pattern": "packages/*/" }, | ||
{ "pattern": "tooling/*/" } | ||
], | ||
"tailwindCSS.experimental.configFile": "./tooling/tailwind/index.ts", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.preferences.autoImportFileExcludePatterns": [ | ||
"next/router.d.ts", | ||
"next/dist/client/router.d.ts" | ||
] | ||
} | ||
} |
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,5 @@ | ||
{ | ||
"extends": [ | ||
"../../biome.json" | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"extends": [ | ||
"../../biome.json" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
import { DrawerNavigationProp } from '@react-navigation/drawer'; | ||
import { useNavigation } from 'expo-router'; | ||
import { AlignJustify } from 'lucide-react-native'; | ||
import { Pressable, View } from 'react-native'; | ||
import { cn } from '~/lib/utils'; | ||
import { DrawerNavigationProp } from "@react-navigation/drawer"; | ||
import { useNavigation } from "expo-router"; | ||
import { AlignJustify } from "lucide-react-native"; | ||
import { Pressable, View } from "react-native"; | ||
import { cn } from "~/lib/utils"; | ||
|
||
export function DrawerToggle() { | ||
const navigation = useNavigation<DrawerNavigationProp<{}>>(); | ||
const navigation = useNavigation<DrawerNavigationProp<{}>>(); | ||
|
||
return ( | ||
<Pressable | ||
onPress={navigation.toggleDrawer} | ||
className='ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50' | ||
> | ||
{({ pressed }) => ( | ||
<View | ||
className={cn( | ||
'flex-1 aspect-square justify-center items-end pt-0.5 web:pl-4', | ||
pressed && 'opacity-70' | ||
)} | ||
> | ||
<AlignJustify | ||
className='text-foreground' | ||
size={24} | ||
strokeWidth={1.25} | ||
/> | ||
</View> | ||
)} | ||
</Pressable> | ||
); | ||
return ( | ||
<Pressable | ||
onPress={navigation.toggleDrawer} | ||
className="ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" | ||
> | ||
{({ pressed }) => ( | ||
<View | ||
className={cn( | ||
"flex-1 aspect-square justify-center items-end pt-0.5 web:pl-4", | ||
pressed && "opacity-70", | ||
)} | ||
> | ||
<AlignJustify | ||
className="text-foreground" | ||
size={24} | ||
strokeWidth={1.25} | ||
/> | ||
</View> | ||
)} | ||
</Pressable> | ||
); | ||
} |
Oops, something went wrong.