Files
Stirling-PDF/client-tauri/src/pages/Home.tsx

34 lines
883 B
TypeScript
Raw Normal View History

2024-01-28 19:14:53 +01:00
import { Link } from "react-router-dom";
2024-08-10 00:17:38 +02:00
import { listOperatorNames } from "@stirling-pdf/shared-operations/src/workflow/operatorAccessor";
import { OperatorCard } from "../components/OperatorCard";
import styles from './Home.module.css';
2023-11-03 12:06:55 +03:00
function Home() {
2024-08-10 00:17:38 +02:00
const operators = listOperatorNames();
2023-11-03 12:06:55 +03:00
return (
2024-01-04 20:17:54 -05:00
<div>
2024-08-10 00:17:38 +02:00
<h1>
Stirling PDF
</h1>
<h2>
Your locally hosted one-stop-shop for all your PDF needs
</h2>
{/**TODO: Search bar */}
<div className={styles.operator_container}>
{
operators.map((operator) => {
return (<OperatorCard key={operator} operatorInternalName={operator}></OperatorCard>)
2024-08-10 00:17:38 +02:00
})
}
</div>
2024-01-04 20:17:54 -05:00
</div>
2023-11-03 12:06:55 +03:00
);
}
export default Home;