import {IMod} from "../../types/Imod"; import {IResearch} from "../../types/IResearch"; import { Accordion, AccordionDetails, AccordionSummary, Grid2, Paper, Table, TableBody, TableCell, TableContainer, TableRow } from "@mui/material"; import {ExpandMore} from "@mui/icons-material"; import {getIcon, ModifiersProvidesTable} from "../ModifiersProvideTable"; import AvTimerOutlinedIcon from "@mui/icons-material/AvTimer"; import Required from "../Required"; import React from "react"; import {IBuilding} from "../../types/IBuilding"; import {IResearchShort} from "../../types/IResearchShort"; import ResearchFull from "./ResearchFull"; import {styled} from '@mui/material/styles'; const StyledAccordion = styled(Accordion)(({ theme }) => ({ background: 'linear-gradient(145deg, #1a1a2e 0%, #16213e 100%)', border: '1px solid rgba(255, 255, 255, 0.1)', borderRadius: '12px', '&:before': { display: 'none' }, '&.Mui-expanded': { margin: '0 0 8px 0' }, })); const StyledLink = styled('a')(({ theme }) => ({ color: '#e94560', textDecoration: 'none', '&:hover': { color: '#ff6b6b', textDecoration: 'underline', }, })); interface IResearchProps { research: IResearchShort, building: IBuilding, mod: IMod, } function Research(props: IResearchProps){ const research = props.research const building = props.building return