From dcbb27b8d601227bdc8921e8c292167f554bfd69 Mon Sep 17 00:00:00 2001 From: Kewonit <108450560+kewonit@users.noreply.github.com.> Date: Fri, 4 Jul 2025 18:08:04 +0530 Subject: [PATCH 1/6] refactor: update layout and functionality of account form; improve redirect handling in login and signup actions; enhance MHT-CET login page links --- app/account/account-form.tsx | 29 +++++------------ app/login/actions.tsx | 50 +++++++++++++++++++---------- app/mht-cet-login-required/page.tsx | 9 ++++-- app/mht-cet/state-cutoffs/page.tsx | 21 +----------- 4 files changed, 48 insertions(+), 61 deletions(-) diff --git a/app/account/account-form.tsx b/app/account/account-form.tsx index edac0d3..0c5b787 100644 --- a/app/account/account-form.tsx +++ b/app/account/account-form.tsx @@ -80,27 +80,14 @@ export default function AccountForm({ user, message }: { user: User | null; mess -
Total Records
-{totalItems.toLocaleString()}
-- Round 1 cutoffs for engineering colleges + Use these to predict your chances of admission based on your percentile. (Data : 2024 Round 1)
+ Type your percentile score (e.g., 95.5) in the box above.
+ The tool will show all colleges where the cutoff is less than or equal to your percentile.
(Range: 0% up to your target percentile)
+
+ Use the filters to select categories, courses, seat types, and university regions.
+ This helps you narrow down the results to match your eligibility and interests.
+
+ Results are sorted by highest cutoff first.
+ Use this to plan your CAP round choices and maximize your admission chances.
+
| Type | +Code | +Who Can Apply? | +
|---|---|---|
| State Level | +S | +All Maharashtra students | +
| Home University | +H | +Students from the same university region | +
| Other University | +O | +Students from other university regions | +
G = General, L = Ladies
-H = Home Uni, O = Other Uni, S = State
-Example: GOPENH is General Open Home University.
-TFWS: Tuition Fee Waiver Scheme
-EWS: Economically Weaker Section
-DEF: Defence Reserved
-PWD: Persons with Disability
-MI: Minority Institutions
-+ This is a student-run project, and your contribution helps us cover server costs and continue improving the platform for everyone. +
+Please enter a target percentile above to search for MHT-CET cutoffs
From 8d1bbc0ccd20ac2409fb5a5a0b04c65a9ac162e2 Mon Sep 17 00:00:00 2001 From: Kewonit <108450560+kewonit@users.noreply.github.com.> Date: Sat, 5 Jul 2025 00:41:05 +0530 Subject: [PATCH 5/6] fix: update site URL and name in State Cutoffs layout for consistency --- app/mht-cet/state-cutoffs/layout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/mht-cet/state-cutoffs/layout.tsx b/app/mht-cet/state-cutoffs/layout.tsx index b0ed4fa..cd0f8f4 100644 --- a/app/mht-cet/state-cutoffs/layout.tsx +++ b/app/mht-cet/state-cutoffs/layout.tsx @@ -37,8 +37,8 @@ export const metadata: Metadata = { title: "MHT-CET State Cutoffs 2024 | 2025 | College Predictor & Category Codes", description: "See official MHT-CET 2024 state cutoffs for all Maharashtra engineering colleges. Filter by percentile, category, course, seat type, and university region. Plan your CAP round choices with the most accurate, up-to-date data.", - url: "https://deetnut.in/mht-cet/state-cutoffs", - siteName: "Deetnut.in", + url: "https://deetnuts.com/mht-cet/state-cutoffs", + siteName: "deetnuts.com", type: "website", images: [ { @@ -56,7 +56,7 @@ export const metadata: Metadata = { "See official MHT-CET 2024 | 2025 state cutoffs for all Maharashtra engineering colleges. Filter by percentile, category, course, seat type, and university region. Plan your CAP round choices with the most accurate, up-to-date data.", images: ["https://res.cloudinary.com/dfyrk32ua/image/upload/v1722186653/deetnuts/preview_o5ykn7.png"] }, - metadataBase: new URL("https://deetnut.in"), + metadataBase: new URL("https://deetnuts.com/"), }; export default function StateCutoffsLayout({ children }: { children: React.ReactNode }) { From f49e0b68f78cf53d3b9352f0831ad0b00db94d74 Mon Sep 17 00:00:00 2001 From: Kewonit <108450560+kewonit@users.noreply.github.com.> Date: Sat, 5 Jul 2025 00:44:33 +0530 Subject: [PATCH 6/6] refactor: clean up unused links in NavDropdown and Footer components for improved clarity --- components/NavDropdown.tsx | 5 +---- components/footer.tsx | 8 ++------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/components/NavDropdown.tsx b/components/NavDropdown.tsx index 4bf15e1..c63e2e8 100644 --- a/components/NavDropdown.tsx +++ b/components/NavDropdown.tsx @@ -15,13 +15,10 @@ interface LinkItem { const cutoffLinks: LinkItem[] = [ { href: '/mht-cet', title: 'MHTCET', subtitle: 'All India & State Cutoffs' }, - { href: '#', title: 'BITS', subtitle: 'Cutoffs' }, - { href: '#', title: 'JOSAA', subtitle: 'Cutoffs' }, - { href: '#', title: 'NIRF', subtitle: 'Stats' }, ]; const toolLinks: LinkItem[] = [ - { href: '#', title: 'MHT-CET Rank Predictor', subtitle: 'Estimate your rank' }, + { href: '#', title: '/', subtitle: '/' }, ]; interface DropdownProps { diff --git a/components/footer.tsx b/components/footer.tsx index f45d0f3..33baf24 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -19,18 +19,14 @@ export default function Footer() { const serviceLinks = [ { name: "MHT-CET", href: "/mht-cet" }, - { name: "MHT-CET State Level", href: "#" }, - { name: "BITS", href: "#" }, - { name: "JOSAA", href: "#" }, - { name: "CSAB", href: "#" }, ]; const Tools = [ - { name: "MHT-CET Rank Predictor", href: "#" }, + { name: "/", href: "#" }, ]; const Contribute = [ - { name: "Sumbit Deets", href: "#" }, + { name: "/", href: "#" }, ];