Skip to content

Commit a1408f1

Browse files
committed
Frontend and Signin
1 parent 578cb67 commit a1408f1

9 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/api/useAxiosSWR.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { VITE_LAMBDA_URL } from "@constants/index";
77
// ENDPOINTS keys
88
export const ENDPOINTS = {
99
// Auth
10-
login: "https://test.neotechis.com/api/method/alphax_erp.api.login.login",
10+
login: "https://test.neotechis.com/api/method/alphax_erp.api.login.login", // Login
1111
logout: "https://test.neotechis.com/api/method/alphax_erp.api.login.logout",
1212
// signup: "http://test.neotec.ai/api/method/alphax_erp.api.auth.signup_and_get_token",
1313
// createSite: "http://test.neotec.ai/api/method/alphax_erp.api.utils.create_new_site",

src/components/sections/Footer/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const Fotter = () => {
1717
];
1818

1919
return (
20+
// Final Changes
2021
<footer className="w-full max-w-[85rem] py-10 px-4 sm:px-6 lg:px-8 mx-auto">
2122
{/* footer links */}
2223
<div className="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-6 mb-10">

src/components/sections/GetStartedModal/components/SignInForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const SignInForm = ({ toggleSignUp, loginSuccess, setLoginSuccess }: Props) => {
3131
const onSubmit = async (data: { email: string; password: string }) => {
3232
console.log("🔐 Attempting login with:", data);
3333
setLogging(true);
34-
34+
// final working
3535
try {
3636
// Step 1: Clear previous session
3737
localStorage.removeItem("sid");

src/components/sections/GetStartedModal/components/SignUpForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import PhoneInput from "react-phone-input-2";
99
type Props = {
1010
toggleSignUp: () => void;
1111
};
12-
12+
// Final working
1313
const SignUpForm = ({ toggleSignUp }: Props) => {
1414
const {
1515
register,

src/components/sections/Hero/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const Hero = () => {
2323
</a>
2424
</div> */}
2525
{/* main headline */}
26+
{/* Final Changes */}
2627
<div className="mt-5 max-w-4xl text-center mx-auto">
2728
<h1 className="block font-bold text-gray-800 text-5xl md:text-6xl lg:text-7xl dark:text-gray-200 glow-text1">
2829
Rethink Your{" "}

src/components/sections/Navbar/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Icons from "../Hero/icons";
66
const Navbar = () => {
77
const toggleStarted = rootStore(({ toggleStarted }) => toggleStarted);
88
return (
9+
// final changes
910
<nav
1011
className="fixed z-[99] filter top-0 left-0 right-0 py-4 md:py-5
1112
px-4 md:px-10 max-w-[110rem] flex items-center justify-between

src/components/sections/Pricing/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const TickMark = () => (
2222
<polyline points='20 6 9 17 4 12' />
2323
</svg>
2424
);
25-
25+
// final changes
2626
type Props = {
2727
isInModal?: boolean;
2828
isExpiredPlan?: boolean;

src/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type ROOT_DATA = {
1212
man: DecodedJwt | null;
1313
tk: string;
1414
};
15-
15+
// final changes
1616
const INIT_DATA: ROOT_DATA = {
1717
isStarting: false,
1818
isSignUp: false,

src/types/auth.request.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type LoginResponse = {
1414
home_page?: string;
1515
full_name?: string;
1616
};
17+
// final changes
1718

1819
export type DecodedJwt = {
1920
sub: string;

0 commit comments

Comments
 (0)