Skip to content

Commit

Permalink
Removed some unused variables that had been moved to About pages chil…
Browse files Browse the repository at this point in the history
…dren
  • Loading branch information
SevLG committed Feb 6, 2024
1 parent 23f0a39 commit 9679ed4
Showing 1 changed file with 1 addition and 50 deletions.
51 changes: 1 addition & 50 deletions react-app/src/pages/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
PAGE_DESCRIPTION_TEXT_BAR_CLASSES,
} from '../constants';
import { Link, NavLink, Outlet } from 'react-router-dom';
import { ILink, ICardConfig, ICardContent } from '../interfaces/types';
import { ILink, } from '../interfaces/types';

export default function AboutPage(): ReactElement {
const { trackPageView,} = useMatomo()
Expand All @@ -19,60 +19,11 @@ export default function AboutPage(): ReactElement {

var pageTitle: string = "About Us";
var textBarContent: string = "Get to know about the team behind the [product name] and our mission to connect you with the data you need.";
var PMDDescription: string = `
Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed,
pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed,
pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim. Duis nec condimentum purus.
Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis, eu euismod magna dignissim.
Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam. Ut rhoncus ante in metus lobortis,
eu euismod magna dignissim. Duis nec condimentum purus. Quisque urna enim, placerat non fermentum sed, pharetra sit amet quam.
`;

var cardConfig: { [id: string] : ICardConfig; } = {
'teamCard': {
cardClasses: "card w-96 bg-base-100 shadow-xl",
titleClasses: "card-title",
textClasses: "",
buttonClasses: "",
buttonPlacement: "",
},
'fundersAndPartnersCard': {
cardClasses: "card lg:card-side bg-base-100 shadow-xl",
titleClasses: "card-title",
textClasses: "",
buttonClasses: "",
buttonPlacement: "",
},
};

var cardContent: { [id: string] : ICardContent } = {
'teamCard1': {
title: "Shoes!",
text: "If a dog chews shoes whose shoes does he choose?",
buttonText: "",
imageSrc: "https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",
imageAlt: "Shoes",
},
'fundersAndPartnersCard1': {
title: "New album is released!",
text: "Click the button to listen on Spotiwhy app.",
buttonText: "",
imageSrc: "https://daisyui.com/images/stock/photo-1494232410401-ad00d5433cfa.jpg",
imageAlt: "Album",
},
};


var breadcrumbs: { [id: string] : ILink; } = {
'l1': { text: 'Home', classes: '', link: '/' },
'l2': { text: 'About', classes: '', link: '' },
};

var dividers: string[] = ['Default', 'Default', 'Default', 'Default', 'Default'];

return (
<>
Expand Down

0 comments on commit 9679ed4

Please sign in to comment.