From 160a7be9db36e6b706e851233b44e6a800c095b4 Mon Sep 17 00:00:00 2001 From: Pratham Khanal Date: Tue, 14 Apr 2026 15:15:38 -0500 Subject: [PATCH 1/4] Create index.js Introduced a new Help page to provide users with setup guidance and additional resources. The page includes a video tutorial for running Redux locally and a collection of external links for learning and documentation. --- pages/help/index.js | 214 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 pages/help/index.js diff --git a/pages/help/index.js b/pages/help/index.js new file mode 100644 index 0000000..2e4723d --- /dev/null +++ b/pages/help/index.js @@ -0,0 +1,214 @@ +import ResponsiveAppBar from "../../components/widgets/ResponsiveAppBar"; +/** + * UI Components. Every concepts are taken from aboutus page. + */ +import { + createTheme, + ThemeProvider, + Container, + Box, + Typography, + CssBaseline, + Link, +} from "@mui/material"; +/** + * External links for additional documentations. + */ +const resourceLinks = [ + { label: "GitHub", url: "https://github.com/ReduxISU/" }, + { + label: "Wikipedia: What is NP-Complete?", + url: "https://en.wikipedia.org/wiki/NP-completeness", + }, + { + label: "Karp's 21 NP-Complete Problems", + url: "https://cgi.di.uoa.gr/~sgk/teaching/grad/handouts/karp.pdf", + }, + { + label: "Redux GUI Documentation", + url: "https://github.com/ReduxISU/Redux_GUI/blob/ReduxAPI_GUI/Documentation/index.md", + }, + { + label: "Redux Backend Documentation", + url: "https://github.com/ReduxISU/Redux/blob/CSharpAPI/Documentation/index.md", + }, + { + label: "API Swagger Documentation", + url: "https://api.redux.portneuf.cose.isu.edu/swagger/index.html", + }, +]; +/** + * This is the theme configuration for the whole page. + */ +const theme = createTheme({ + palette: { + mode: "dark", + primary: { main: "#8b5cf6" }, + secondary: { main: "#a855f7" }, + background: { + default: "#07070b", + paper: "rgba(255,255,255,0.04)", + }, + text: { + primary: "#ffffff", + secondary: "#b4b4c7", + }, + }, + typography: { + fontFamily: + 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', + }, +}); + +/** + * We have box styling across all the sections. + * And this is the common pattern for the box styling + */ +const sectionCardStyle = { + background: "rgba(255,255,255,0.05)", + backdropFilter: "blur(10px)", + borderRadius: "16px", + border: "1px solid rgba(255,255,255,0.10)", + padding: { xs: 3, md: 4 }, + transition: "all 0.3s ease", + "&:hover": { + borderColor: "rgba(168,85,247,0.4)", + boxShadow: "0 0 25px rgba(168,85,247,0.15)", + }, +}; + +/** + * This is the typography for each section's title. + */ +function SectionTitle({ children }) { + return ( + + {children} + + ); +} +/** + * This is the help page component. + * This provides the YouTube tutorial for Redux setup. + */ +export default function HelpPage() { + return ( + + + + {/* Background has been inserted with subtle purple gradient */} + + + + + + + {/* Intro Section */} + + HELP + + + This page includes a setup tutorial and additional resources to help + you use Redux and explore NP-Complete problems in more detail. + + + + {/* Video Tutorial Section */} + + VIDEO TUTORIAL + + + With the guidance of Dr. Paul Bodily and Michael Trosper, we are + excited to share the Redux setup tutorial. This video walks through + running Redux locally. More tutorials will be added over time. + + + +