diff --git a/Glossary.html b/Glossary.html index daf4b82..d3662c6 100644 --- a/Glossary.html +++ b/Glossary.html @@ -1,160 +1,270 @@ -import React, { useState, useEffect } from 'react'; -import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card'; -import { Input } from '@/components/ui/input'; -import { Textarea } from '@/components/ui/textarea'; -import { Button } from '@/components/ui/button'; -import defaultData from './glossaryData.json'; + + + + + + Course Glossary + + + + +
+

Course Glossary

+
+
+

Add New Term

+
+ + + +
+
+
+

Glossary

+
+
+
+

Search

+ +
+
-const Glossary = () => { - const [glossary, setGlossary] = useState(() => { - const savedGlossary = localStorage.getItem('glossary'); - if (savedGlossary) { - return JSON.parse(savedGlossary); - } - return defaultData.entries; - }); - - const [term, setTerm] = useState(''); - const [definition, setDefinition] = useState(''); - const [searchTerm, setSearchTerm] = useState(''); + + +