Skip to content

Commit

Permalink
updated learning tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jhthirteen committed Aug 17, 2024
1 parent 9de57bd commit 79f2622
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions dev/personal/src/components/CurrentLearning.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@ import { useState } from 'react'

const CurrentLearning = () => {
const [tab1, setTab1] = useState(true);
const [tab2, setTab2] = useState(true);

const active = "text-sky-500 text-2xl font-bold italic block text-left";
const notActive = "text-sky-500 text-2xl font-bold block text-left";

return (
<div className="text-white">
<button className={`${tab1 ? active : notActive}`} onClick={() => setTab1(!tab1)}>Gödel, Escher, Bach</button>
<button className={`${tab1 ? active : notActive}`} onClick={() => setTab1(!tab1)}>Fall 2024 Coursework</button>
{tab1 && (
<>
<p>A book about the nature of intelligence, examining how meaningless symbols can take on meaning under a certain level of complexity, and how self-reference contributes to this process.</p>
</>
)}
<button className={`${tab2 ? active : notActive}`} onClick={() => setTab2(!tab2)}>Fall 2024 Coursework</button>
{tab2 && (
<ul className="list-disc list-inside mb-5">
<li>CS375 - Design & Analysis of Algorithms</li>
<li>CS373 - Automata Theory & Formal Languages</li>
Expand Down

0 comments on commit 79f2622

Please sign in to comment.