Skip to content
Snippets Groups Projects
Commit f5b56ce1 authored by Sreeram, Sudarshan's avatar Sreeram, Sudarshan :carrot:
Browse files

Add more module term symbols

parent ef83eb86
No related branches found
No related tags found
No related merge requests found
import React from "react";
import Card from "react-bootstrap/Card";
import Container from "react-bootstrap/Container";
import styles from "./style.module.scss";
import classNames from "classnames";
import Col from "react-bootstrap/Col";
import { Link } from "react-router-dom";
import { faLeaf } from "@fortawesome/free-solid-svg-icons";
import { faLeaf, faSun, faSnowflake } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
export interface ModuleCardProps {
......@@ -20,7 +21,14 @@ const ModuleCard: React.FC<ModuleCardProps> = ({ module }: ModuleCardProps) => {
to={`modules/${module.code}`}
>
<Card.Header>
<FontAwesomeIcon icon={faLeaf}/>
<div>
<FontAwesomeIcon icon={faLeaf} style={{ marginRight: "8px" }} />
<FontAwesomeIcon
icon={faSnowflake}
style={{ marginRight: "8px" }}
/>
<FontAwesomeIcon icon={faSun} />
</div>
<span>{module.code}</span>
</Card.Header>
<Card.Img
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment