diff --git a/src/views/CorporatePage/JobAdList_en.tsx b/src/views/CorporatePage/JobAdList_en.tsx new file mode 100644 index 0000000..64ef8c8 --- /dev/null +++ b/src/views/CorporatePage/JobAdList_en.tsx @@ -0,0 +1,42 @@ +import React from "react"; +import styled from "styled-components"; +import JobAd from "@models/JobAd"; +import { Accordion } from "@components/index"; +import ReactMarkdown from "react-markdown"; +import rehypeRaw from "rehype-raw"; +import rehypeSanitize from "rehype-sanitize"; + +interface JobAdListProps { + jobAds: JobAd[]; +} + +const List = styled.ul` + padding: 0; + + li { + margin: 1rem 0; + list-style: none; + } +`; + +const JobAdList: React.FC = ({ jobAds }) => ( + + {jobAds.map((ad) => ( +
  • + +
    +

    + {ad.description_en} +

    + + {ad.content_en} + +
    +
    +
  • + ))} +
    + +); + +export default JobAdList;