Skip to content

Commit

Permalink
add comments on changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
asligook committed Dec 16, 2024
1 parent 2922eda commit fb0b528
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/SubtypeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ArrowRight, Tags } from "lucide-react";
import React from "react";
import { Link } from "react-router-dom";

//new card component for tag types to display in glossary
interface TagSubtypeCardProps {
tagSubtype: {
typeId: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/TagType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function SubtypePage() {
{/* Render the description based on typeId */}
<div className="mb-6 text-lg text-gray-700">{description}</div>

{/* Tags in this Category Section */}
{/* Tags in this type */}
<h2 className="mb-4 text-2xl font-semibold text-gray-800">
Tags in This Category:
</h2>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ export const routes: RouteObject[] = [
Component: CreateTagPage,
},
{
path: "/glossary",
path: "/glossary", //added glossary route
Component: Glossary,
},
{
path: "/tagtype/:typeId",
path: "/tagtype/:typeId", //added tagtype pages' routes
Component: TagTypePage,
},
];
Expand Down

0 comments on commit fb0b528

Please sign in to comment.