diff --git a/src/app/components/job/JobCard.tsx b/src/app/components/job/JobCard.tsx
index c83d9f1..378fc67 100644
--- a/src/app/components/job/JobCard.tsx
+++ b/src/app/components/job/JobCard.tsx
@@ -2,13 +2,15 @@ import React from 'react';
import Card from 'react-bootstrap/Card';
import { useAutoFocus } from '../../hooks/FocusedElement';
import { Placeholder } from 'react-bootstrap';
+import JobTags from './JobTags';
export type Props = {
heading?: string,
position: string,
timerange: string,
company: string,
- description: string
+ description: string,
+ tags?: string[]
};
export function JobCardPlaceholder() {
@@ -38,6 +40,7 @@ export default function JobCard(props: Props) {
{props.company}, {props.timerange}
{props.description}
+ {props.tags && }
);
diff --git a/src/app/components/job/JobTags.tsx b/src/app/components/job/JobTags.tsx
new file mode 100644
index 0000000..08d7294
--- /dev/null
+++ b/src/app/components/job/JobTags.tsx
@@ -0,0 +1,23 @@
+import { useAutoFocus } from "@/app/hooks/FocusedElement";
+import React from "react";
+import { Container } from "react-bootstrap";
+
+export type Props = {
+ tags: string[]
+}
+
+export function JobTag(props: {text: string}) {
+ const tagKey = 'tag ' + props.text;
+ const elementRef = useAutoFocus(tagKey)
+ return (
+ {props.text}
+ )
+}
+
+export default function JobTags(props: Props) {
+ return (
+
+ {props.tags.map((tag, index) => )}
+
+ )
+}
\ No newline at end of file