Skip to content

Commit

Permalink
Merge pull request #861 from AI4Bharat/minorchange-03
Browse files Browse the repository at this point in the history
remove thanks link
  • Loading branch information
aparna-aa authored Dec 20, 2024
2 parents 01cb595 + 118c972 commit dbbf903
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
15 changes: 0 additions & 15 deletions src/common/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import { useNavigate } from "react-router-dom";

//Styles
import { IntroDatasetStyle } from "styles";
Expand All @@ -10,11 +9,6 @@ import { YouTube, Github, Twitter } from "assets/profileImages/index";

const Footer = () => {
const classes = IntroDatasetStyle();
const navigate = useNavigate();

const handleClickThanks = () => {
navigate("/thanks");
};
return (
<div>
<Grid container direction="row">
Expand Down Expand Up @@ -89,15 +83,6 @@ const Footer = () => {
License
</Typography>
</a>
<span style={{ margin: "0px 15px 0px 15px" }}>|</span>
<Typography
variant="caption"
onClick={handleClickThanks}
sx={{ mt: 1 }}
className={classes.thanks}
>
Thanks
</Typography>
</Grid>
<Grid
item
Expand Down
4 changes: 2 additions & 2 deletions src/containers/intro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Partners from "./Partners";
import Principles from "./Principles";
import TestimonialPage from "./TestimonialPage";
import Testimonials from "./Testimonials";
import Thanks from "./Thanks";
// import Thanks from "./Thanks";
import UseCases from "./UseCases";

export {
Expand All @@ -14,6 +14,6 @@ export {
Principles,
TestimonialPage,
Testimonials,
Thanks,
// Thanks,
UseCases,
};
4 changes: 2 additions & 2 deletions src/web.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import ChitralekhaPortal from "./common/ChitralekhaPortal";
import Unsubscribe from "containers/UserManagement/Unsubscribe";
import MyGlossary from "containers/UserManagement/MyGlossary";
import CreateBulkProjects from "containers/Organization/Project/CreateBulkProjects";
import { Charts, TestimonialPage, Thanks, UseCases } from "containers/intro";
import { Charts, TestimonialPage, UseCases } from "containers/intro";

const RootRouter = () => {
const ProtectedRoute = ({ user, children }) => {
Expand Down Expand Up @@ -60,7 +60,7 @@ const RootRouter = () => {
<Layout component={<ChitralekhaPortal />} />
)}
/>
<Route path="/Thanks" element={<Layout component={<Thanks />} />} />
{/* <Route path="/Thanks" element={<Layout component={<Thanks />} />} /> */}
<Route path="/useCases" element={<Layout component={<UseCases />} />} />
<Route path="/testimonials" element={<Layout component={<TestimonialPage />} />} />
<Route path="/dashboards" element={<Layout component={<Charts />} />} />
Expand Down

0 comments on commit dbbf903

Please sign in to comment.