Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .env.example
Empty file.
6 changes: 6 additions & 0 deletions app/(auth)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Stack } from "expo-router";
import "@/global.css";

Copilot AI Apr 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global.css is already imported at the app root (app/_layout.tsx). Importing it again here is redundant and can cause duplicate style injection/processing. Consider removing this import and relying on the root layout import only.

Suggested change
import "@/global.css";

Copilot uses AI. Check for mistakes.

export default function RootLayout() {
return <Stack screenOptions={{ headerShown: false }} />;
}
18 changes: 18 additions & 0 deletions app/(auth)/sign-in.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Link } from "expo-router";
import { Text, View } from "react-native";

const SignIn = () => {
return (
<View className="flex-1 items-center justify-center">
<Text className="font-bold text-lg">SignIn</Text>
<Link
href="/(auth)/sign-up"
className="p-4 bg-primary rounded-lg mt-4 text-white"
>
Create Account
</Link>
</View>
);
};

export default SignIn;
18 changes: 18 additions & 0 deletions app/(auth)/sign-up.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Link } from "expo-router";
import { Text, View } from "react-native";

const SignUp = () => {
return (
<View className="flex-1 items-center justify-center">
<Text className="font-bold text-lg">SignUp</Text>
<Link
href="/(auth)/sign-in"
className="p-4 bg-primary rounded-lg mt-4 text-white"
>
Sign In
</Link>
</View>
);
};

export default SignUp;
66 changes: 66 additions & 0 deletions app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import { tabs } from "@/constants/data";
import { colors, components } from "@/constants/theme";
import { clsx } from "clsx";
import { Tabs } from "expo-router";
import { Image, View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";

const tabBar = components.tabBar;

const TabIcon = ({ focused, icon }: TabIconProps) => {
return (
<View className="tabs-icon">
<View className={clsx("tabs-pill", focused && "tabs-active")}>
<Image source={icon} resizeMode="contain" className="tabs-glyph" />
</View>
</View>
);
};

/* This `TabLayout` component is creating a tab navigation layout using the `Tabs` component from Expo
Router. Here's a breakdown of what it's doing: */
const TabLayout = () => {
const insets = useSafeAreaInsets();

return (
<Tabs
screenOptions={{
headerShown: false,
tabBarShowLabel: false,
tabBarStyle: {
position: "absolute",
bottom: Math.max(insets.bottom, tabBar.horizontalInset),
height: tabBar.height,
marginHorizontal: tabBar.horizontalInset,
borderRadius: tabBar.radius,
backgroundColor: colors.primary,
borderTopWidth: 0,
elevation: 0,
},
tabBarItemStyle: {
paddingVertical: tabBar.height / 2 - tabBar.iconFrame / 1.6,
},
tabBarIconStyle: {
width: tabBar.iconFrame,
height: tabBar.iconFrame,
alignItems: "center",
},
}}
>
{tabs.map((tab) => (
<Tabs.Screen
key={tab.name}
name={tab.name}
options={{
title: tab.title,
tabBarIcon: ({ focused }) => (
<TabIcon focused={focused} icon={tab.icon} />
),
}}
/>
))}
</Tabs>
);
};

export default TabLayout;
52 changes: 52 additions & 0 deletions app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import "@/global.css";

Copilot AI Apr 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global.css is already imported in app/_layout.tsx, so importing it again in this route is redundant and may cause duplicated style injection/processing. Prefer keeping the CSS import in the root layout only.

Suggested change
import "@/global.css";

Copilot uses AI. Check for mistakes.
import { Link } from "expo-router";
import { styled } from "nativewind";
import { Text } from "react-native";
import { SafeAreaView as RNSafeAreaView } from "react-native-safe-area-context";

const SafeAreaView = styled(RNSafeAreaView);

/* This component is responsible for rendering the UI of the application. Here's
a breakdown of what the component is doing: */
export default function App() {
return (
<SafeAreaView className="flex-1 bg-background p-5">
<Text className="text-xl font-bold text-success">
Welcome to Nativewind!
</Text>
<Link
href="/onboarding"
className="text-white mt-4 rounded-lg bg-primary p-4"
>
Go to Onboarding
</Link>
<Link
href="/(auth)/sign-in"
className="text-white mt-4 rounded-lg bg-primary p-4"
>
Go to Sign In
</Link>
<Link
href="/(auth)/sign-up"
className="text-white mt-4 rounded-lg bg-primary p-4"
>
Go to Sign Up
</Link>
<Link
href="/subscriptions/spotify"
className="text-white mt-4 rounded-lg bg-primary p-4"
>
Spotify Subscriptions
</Link>
<Link
href={{
pathname: "/subscriptions/[id]",
params: { id: "claude" },
}}
className="text-white mt-4 rounded-lg bg-primary p-4"
>
Claude Max Subscriptions
</Link>
</SafeAreaView>
);
}
16 changes: 16 additions & 0 deletions app/(tabs)/insights.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { styled } from "nativewind";
import React from "react";
import { Text } from "react-native";
import { SafeAreaView as RNSafeAreaView } from "react-native-safe-area-context";

const SafeAreaView = styled(RNSafeAreaView);

const Insights = () => {
return (
<SafeAreaView className="flex-1 bg-background p-5">
<Text>Insights</Text>
</SafeAreaView>
);
};

export default Insights;
16 changes: 16 additions & 0 deletions app/(tabs)/settings.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { styled } from "nativewind";
import React from "react";
import { Text } from "react-native";
import { SafeAreaView as RNSafeAreaView } from "react-native-safe-area-context";

const SafeAreaView = styled(RNSafeAreaView);

const Settings = () => {
return (
<SafeAreaView className="flex-1 bg-background p-5">
<Text>Settings</Text>
</SafeAreaView>
);
};

export default Settings;
16 changes: 16 additions & 0 deletions app/(tabs)/subscriptions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { styled } from "nativewind";
import React from "react";
import { Text } from "react-native";
import { SafeAreaView as RNSafeAreaView } from "react-native-safe-area-context";

const SafeAreaView = styled(RNSafeAreaView);

const Subscriptions = () => {
return (
<SafeAreaView className="flex-1 bg-background p-5">
<Text>Subscriptions</Text>
</SafeAreaView>
);
};

export default Subscriptions;
14 changes: 13 additions & 1 deletion app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
import { Stack } from "expo-router";
import "@/global.css";

export const unstable_settings = {
initialRouteName: "(tabs)",
};

export default function RootLayout() {
return <Stack />;
return (
<Stack screenOptions={{ headerShown: false }}>
<Stack.Screen name="(tabs)" />
<Stack.Screen name="(auth)" />
<Stack.Screen name="onboarding" />
<Stack.Screen name="subscriptions/[id]" />
</Stack>
);
}
15 changes: 0 additions & 15 deletions app/index.tsx

This file was deleted.

12 changes: 12 additions & 0 deletions app/onboarding.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from "react";
import { Text, View } from "react-native";

const Onboarding = () => {
return (
<View>
<Text>Onboarding</Text>
</View>
);
};

export default Onboarding;
15 changes: 15 additions & 0 deletions app/subscriptions/[id].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Link, useLocalSearchParams } from "expo-router";
import React from "react";
import { Text, View } from "react-native";

const SubscriptionsDetails = () => {
const { id } = useLocalSearchParams<{ id: string }>();
return (
<View>
<Text>Subscriptions Details: {id}</Text>
<Link href={"/"}>Go Back</Link>
</View>
);
};

export default SubscriptionsDetails;
3 changes: 3 additions & 0 deletions assets/expo.icon/Assets/expo-symbol 2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/expo.icon/Assets/grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions assets/expo.icon/icon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"fill" : {
"automatic-gradient" : "extended-srgb:0.00000,0.47843,1.00000,1.00000"
},
"groups" : [
{
"layers" : [
{
"image-name" : "expo-symbol 2.svg",
"name" : "expo-symbol 2",
"position" : {
"scale" : 1,
"translation-in-points" : [
1.1008400065293245e-05,
-16.046875
]
}
},
{
"image-name" : "grid.png",
"name" : "grid"
}
],
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"translucency" : {
"enabled" : true,
"value" : 0.5
}
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
Binary file added assets/fonts/PlusJakartaSans-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/PlusJakartaSans-ExtraBold.ttf
Binary file not shown.
Binary file added assets/fonts/PlusJakartaSans-Light.ttf
Binary file not shown.
Binary file added assets/fonts/PlusJakartaSans-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/PlusJakartaSans-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/PlusJakartaSans-SemiBold.ttf
Binary file not shown.
Binary file added assets/icons/activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/adobe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/canva.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/claude.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/dropbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/figma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/netflix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/notion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/openai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/spotify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/wallet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/expo-badge-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/expo-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/expo-logo.png
Binary file modified assets/images/icon.png
Binary file added assets/images/logo-glow.png
Binary file removed assets/images/partial-react-logo.png
Diff not rendered.
Binary file modified assets/images/splash-icon.png
Binary file added assets/images/splash-pattern.png
Binary file added assets/images/tabIcons/explore.png
Binary file added assets/images/tabIcons/explore@2x.png
Binary file added assets/images/tabIcons/explore@3x.png
Binary file added assets/images/tabIcons/home.png
Binary file added assets/images/tabIcons/home@2x.png
Binary file added assets/images/tabIcons/home@3x.png
Binary file added assets/images/tutorial-web.png
1 change: 1 addition & 0 deletions components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
Loading