Skip to content

Commit

Permalink
Feature: Add back buttton to Question.jsx to resolve AOSSIE-Org#161
Browse files Browse the repository at this point in the history
  • Loading branch information
ts-31 committed Jan 21, 2025
1 parent 00409cb commit 8ef58f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Binary file added extension/src/assets/leftArrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion extension/src/pages/question/Question.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ReactDOM from "react-dom";
import { PDFDocument } from 'pdf-lib';
import "../../index.css";
import logo from "../../assets/aossie_logo.webp";
import arrow from "../../assets/leftArrow.png";

function Question() {
const [qaPairs, setQaPairs] = useState([]);
Expand Down Expand Up @@ -220,7 +221,14 @@ function Question() {
</span>
</div>
</div>
<div className="font-bold text-xl text-white mt-3 mx-2">
<div className="ml-2 rounded-2xl mr-4">
<a href="/src/popup/popup.html">
<button className="bg-black items-center text-base flex justify-center gap-2 text-white p-2 border-gradient hover:wave-effect">
<img src={arrow} width={20} height={18} alt="" />
</button>
</a>
</div>
<div className="font-bold text-xl text-white mt-2 mx-2">
Generated Questions
</div>
<div className="flex-1 overflow-y-auto scrollbar-hide">
Expand Down

0 comments on commit 8ef58f4

Please sign in to comment.