diff --git a/.env.example b/.env.example
old mode 100644
new mode 100755
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
old mode 100644
new mode 100755
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/components.json b/components.json
old mode 100644
new mode 100755
diff --git a/drizzle.config.ts b/drizzle.config.ts
old mode 100644
new mode 100755
diff --git a/next.config.js b/next.config.js
old mode 100644
new mode 100755
diff --git a/package.json b/package.json
old mode 100644
new mode 100755
index 964266f..7f77556
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"lint": "next lint",
"start": "next start",
"generate-apple-secret": "tsx src/scripts/generate_apple_secret.ts",
- "go": "git pull && next dev",
+ "go": "next dev",
"goprod": "next build && next start"
},
"dependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
old mode 100644
new mode 100755
diff --git a/postcss.config.cjs b/postcss.config.cjs
old mode 100644
new mode 100755
diff --git a/prettier.config.js b/prettier.config.js
old mode 100644
new mode 100755
diff --git a/public/favicon.ico b/public/favicon.ico
old mode 100644
new mode 100755
diff --git a/public/logos/Apple_logo_black.svg b/public/logos/Apple_logo_black.svg
old mode 100644
new mode 100755
diff --git a/public/logos/Apple_logo_grey.svg b/public/logos/Apple_logo_grey.svg
old mode 100644
new mode 100755
diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts
old mode 100644
new mode 100755
diff --git a/src/app/api/users/set_users_name_by_email/route.ts b/src/app/api/users/set_users_name_by_email/route.ts
old mode 100644
new mode 100755
diff --git a/src/app/api/users/set_users_pfp_by_email/route.ts b/src/app/api/users/set_users_pfp_by_email/route.ts
old mode 100644
new mode 100755
diff --git a/src/app/billtracker/page.tsx b/src/app/billtracker/page.tsx
old mode 100644
new mode 100755
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
old mode 100644
new mode 100755
index ede535b..031692c
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -2,16 +2,12 @@ import "~/styles/globals.css";
import { Inter as FontSans } from "next/font/google";
import { cn } from "~/lib/utils"
import { auth } from "~/auth"
-import Sign_In_Apple_Button from "~/components/auth/server/SignInAppleButton"
-import Title from "~/components/home/Title"
-import First_Sign_In_Form from "~/components/auth/FirstSignInForm"
import { SessionProvider } from "next-auth/react";
import Theme_Provider from "~/components/theme/theme_provider"
-import Hero from "~/components/home/Hero"
-import Nav_Bar from "~/components/home/NavBar"
-import Avatar_Popover from "~/components/auth/AvatarPopover"
-import Theme_Toggle from "~/components/theme/theme_toggle"
import { type Metadata } from "next";
+import Theme_Toggle from '~/components/theme/theme_toggle'
+import { Button } from "~/components/ui/button"
+import Link from 'next/link'
export const metadata: Metadata = {
title: "Tenant Portal",
@@ -29,76 +25,75 @@ export default async function RootLayout({
}: Readonly<{ children: React.ReactNode }>) {
const session = await auth();
if (!session?.user) {
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
- {children}
-
-
-
-
- );
- } else {
- const users_email = session.user.email ?? "";
- const users_name = session.user.name ?? "New User";
- return (
-
-
-
-
-
- < First_Sign_In_Form users_name={users_name} users_email={users_email} />
-
-
-
-
-
-
- );
}
+ return (
+
+
+
+
+
+
+
+ {children}
+
+
+
+
+
+
+ );
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
old mode 100644
new mode 100755
index 3d6f1b6..007a5da
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,17 +1,88 @@
-"use server"
-import { auth } from "~/auth"
-import Breadcrumb_Home from "~/components/home/breadcrumb/BreadcrumbHome"
+import Link from 'next/link'
+import { Button } from "~/components/ui/button"
+import { Input } from "~/components/ui/input"
+import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "~/components/ui/card"
+import { Search, Home, Key, Wrench, DollarSign } from 'lucide-react'
export default async function HomePage() {
- const session = await auth()
- if (!session?.user) return <>>
- return (
-
-
-
-
+ return (
+
+
+
+
Find Your Perfect Property
+
Discover a wide range of properties for sale and rent
+
+
+
-
- );
+
+
+
+
+
Featured Properties
+
+ {[1, 2, 3].map((i) => (
+
+
+ Beautiful Property {i}
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+ ))}
+
+
+
+
+
+
+
Our Services
+
+ {[
+ { icon: Home, title: "Property Management" },
+ { icon: Key, title: "Rentals" },
+ { icon: Wrench, title: "Maintenance" },
+ { icon: DollarSign, title: "Rent Collection" },
+ ].map((service, i) => (
+
+
+
+ {service.title}
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+
+
+ ))}
+
+
+
+
+
+ )
}
+//"use server"
+//import { auth } from "~/auth"
+//import Breadcrumb_Home from "~/components/home/breadcrumb/BreadcrumbHome"
+
+//export default async function HomePage() {
+ //const session = await auth()
+ //if (!session?.user) return <>>
+ //return (
+ //
+ //);
+//}
diff --git a/src/auth.config.ts b/src/auth.config.ts
old mode 100644
new mode 100755
diff --git a/src/auth.ts b/src/auth.ts
old mode 100644
new mode 100755
diff --git a/src/components/auth/AvatarPopover.tsx b/src/components/auth/AvatarPopover.tsx
old mode 100644
new mode 100755
diff --git a/src/components/auth/FirstSignInForm.tsx b/src/components/auth/FirstSignInForm.tsx
old mode 100644
new mode 100755
diff --git a/src/components/auth/client/SignInAppleButton.tsx b/src/components/auth/client/SignInAppleButton.tsx
old mode 100644
new mode 100755
diff --git a/src/components/auth/client/SignOutButton.tsx b/src/components/auth/client/SignOutButton.tsx
old mode 100644
new mode 100755
diff --git a/src/components/auth/server/SignInAppleButton.tsx b/src/components/auth/server/SignInAppleButton.tsx
old mode 100644
new mode 100755
diff --git a/src/components/auth/server/SignOutButton.tsx b/src/components/auth/server/SignOutButton.tsx
old mode 100644
new mode 100755
diff --git a/src/components/billtracker/BillForm.tsx b/src/components/billtracker/BillForm.tsx
old mode 100644
new mode 100755
diff --git a/src/components/billtracker/BillTrackerCalendar.tsx b/src/components/billtracker/BillTrackerCalendar.tsx
old mode 100644
new mode 100755
diff --git a/src/components/billtracker/CreateBillDrawer.tsx b/src/components/billtracker/CreateBillDrawer.tsx
old mode 100644
new mode 100755
diff --git a/src/components/billtracker/CreateBillForm.tsx b/src/components/billtracker/CreateBillForm.tsx
old mode 100644
new mode 100755
diff --git a/src/components/billtracker/ServerBillDrawer.tsx b/src/components/billtracker/ServerBillDrawer.tsx
old mode 100644
new mode 100755
diff --git a/src/components/home/Hero.tsx b/src/components/home/Hero.tsx
old mode 100644
new mode 100755
diff --git a/src/components/home/NavBar.tsx b/src/components/home/NavBar.tsx
old mode 100644
new mode 100755
diff --git a/src/components/home/Title.tsx b/src/components/home/Title.tsx
old mode 100644
new mode 100755
diff --git a/src/components/home/breadcrumb/BreadCrumbBillTracker.tsx b/src/components/home/breadcrumb/BreadCrumbBillTracker.tsx
old mode 100644
new mode 100755
diff --git a/src/components/home/breadcrumb/BreadcrumbHome.tsx b/src/components/home/breadcrumb/BreadcrumbHome.tsx
old mode 100644
new mode 100755
diff --git a/src/components/theme/theme_provider.tsx b/src/components/theme/theme_provider.tsx
old mode 100644
new mode 100755
diff --git a/src/components/theme/theme_toggle.tsx b/src/components/theme/theme_toggle.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/BillTrackerCalendar.tsx b/src/components/ui/BillTrackerCalendar.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/alert-dialog.tsx b/src/components/ui/alert-dialog.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/avatar.tsx b/src/components/ui/avatar.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/breadcrumb.tsx b/src/components/ui/breadcrumb.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/command.tsx b/src/components/ui/command.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/drawer.tsx b/src/components/ui/drawer.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/form.tsx b/src/components/ui/form.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/label.tsx b/src/components/ui/label.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/navigation-menu.tsx b/src/components/ui/navigation-menu.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/popover.tsx b/src/components/ui/popover.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/sonner.tsx b/src/components/ui/sonner.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/table.tsx b/src/components/ui/table.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/toast.tsx b/src/components/ui/toast.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/toaster.tsx b/src/components/ui/toaster.tsx
old mode 100644
new mode 100755
diff --git a/src/components/ui/use-toast.ts b/src/components/ui/use-toast.ts
old mode 100644
new mode 100755
diff --git a/src/env.js b/src/env.js
old mode 100644
new mode 100755
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
old mode 100644
new mode 100755
diff --git a/src/middleware.ts b/src/middleware.ts
old mode 100644
new mode 100755
diff --git a/src/scripts/generate_apple_secret.ts b/src/scripts/generate_apple_secret.ts
old mode 100644
new mode 100755
diff --git a/src/server/db/index.ts b/src/server/db/index.ts
old mode 100644
new mode 100755
diff --git a/src/server/db/schema.ts b/src/server/db/schema.ts
old mode 100644
new mode 100755
diff --git a/src/server/functions.ts b/src/server/functions.ts
old mode 100644
new mode 100755
diff --git a/src/styles/globals.css b/src/styles/globals.css
old mode 100644
new mode 100755
diff --git a/tailwind.config.ts b/tailwind.config.ts
old mode 100644
new mode 100755
diff --git a/tsconfig.json b/tsconfig.json
old mode 100644
new mode 100755