No courses added yet.
60 |-
70 |├── public ├── i.jpeg ├── git.jpeg ├── favicon.png └── github.png ├── app ├── favicon.ico ├── layout.tsx ├── globals.css ├── howtouse │ └── page.tsx └── page.tsx ├── .github └── FUNDING.yml ├── next.config.js ├── postcss.config.js ├── lib └── utils.ts ├── components.json ├── .gitignore ├── tailwind.config.ts ├── README.md ├── tsconfig.json ├── components ├── ui │ ├── label.tsx │ ├── input.tsx │ ├── button.tsx │ └── card.tsx ├── footer.tsx ├── header.tsx └── gpa.tsx └── package.json /public/i.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m3hu1/gpa-calculator/HEAD/public/i.jpeg -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m3hu1/gpa-calculator/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /public/git.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m3hu1/gpa-calculator/HEAD/public/git.jpeg -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: m3hu1 4 | -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m3hu1/gpa-calculator/HEAD/public/favicon.png -------------------------------------------------------------------------------- /public/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m3hu1/gpa-calculator/HEAD/public/github.png -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {} 3 | 4 | module.exports = nextConfig 5 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- 1 | import { type ClassValue, clsx } from "clsx" 2 | import { twMerge } from "tailwind-merge" 3 | 4 | export function cn(...inputs: ClassValue[]) { 5 | return twMerge(clsx(inputs)) 6 | } 7 | -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://ui.shadcn.com/schema.json", 3 | "style": "default", 4 | "rsc": true, 5 | "tsx": true, 6 | "tailwind": { 7 | "config": "tailwind.config.ts", 8 | "css": "app/globals.css", 9 | "baseColor": "gray", 10 | "cssVariables": false 11 | }, 12 | "aliases": { 13 | "utils": "@/lib/utils", 14 | "components": "@/components" 15 | } 16 | } -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- 1 | import { Analytics } from '@vercel/analytics/react'; 2 | 3 | import type { Metadata } from "next"; 4 | import "./globals.css"; 5 | 6 | export const metadata: Metadata = { 7 | title: "BU GPA Calculator", 8 | description: "GPA Calculator for Bennett University Students", 9 | }; 10 | 11 | export default function RootLayout({ 12 | children, 13 | }: { 14 | children: React.ReactNode; 15 | }) { 16 | return ( 17 | 18 |
{children}No courses added yet.
60 |-
70 |18 | To help you estimate your GPA, I have provided grade ranges 19 | based on the total marks scored last year. These ranges are 20 | indicative and can serve as a guide for predicting your expected 21 | grades. 22 |
23 |Here are the average marks associated with each grade:
25 || Grade | 30 |Total Marks | 31 |
|---|---|
| A+ | 36 |80+ | 37 |
| A | 40 |71-80 | 41 |
| B+ | 44 |61-70 | 45 |
| B | 48 |52-60 | 49 |
| C+ | 52 |43-51 | 53 |
| C | 56 |35-42 | 57 |
| D | 60 |32-35 | 61 |
| F | 64 |Below 32 | 65 |
70 | To calculate your GPA, you can select your expected grades based 71 | on your total marks. Use these ranges as a reference while 72 | selecting your grades. 73 |
74 |76 | Remember, this tool is designed to provide an estimate, and the 77 | actual grading criteria may vary. Some subjects have higher 78 | average marks, and some have lower, so the criteria for 79 | different subjects can differ. Feel free to add your courses, 80 | enter your grades, and let the GPA Calculator do the math for 81 | you! 82 |
83 || 444 | Course Code 445 | | 446 |Code | 447 |Credits | 448 |Grade | 449 | {} 450 |
|---|---|---|---|
| {course.name} | 456 |{course.credits} | 457 |{course.grade} | 458 |459 | 466 | | 467 |
No courses added yet.
474 |{calculateGPA()}
488 |