Skip to content

Commit

Permalink
feat: Add specification filtering and solidity-highlight-extensions f…
Browse files Browse the repository at this point in the history
…or code-highlighting.
  • Loading branch information
brunomenezes committed Jul 16, 2024
1 parent 6248a45 commit 8859c82
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 126 deletions.
2 changes: 2 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"encoding": "^0.1",
"graphql": "^16",
"graphql-tag": "^2",
"highlight.js": "11.10.0",
"highlightjs-solidity": "^2.0.6",
"jotai": "^2.9.0",
"lokijs": "^1",
"next": "^14.1.4",
Expand Down
9 changes: 1 addition & 8 deletions apps/web/src/app/specifications/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Button, Group, Stack, Title } from "@mantine/core";
import { Group, Stack, Title } from "@mantine/core";
import { Metadata } from "next";
import Link from "next/link";
import { TbFileCode } from "react-icons/tb";
import Breadcrumbs from "../../components/breadcrumbs";
import { SpecificationListView } from "../../components/specification/SpecificationListView";
Expand All @@ -26,12 +25,6 @@ export default function SpecificationsPage() {
<Title order={1}>Specifications</Title>
</Group>

<Group>
<Button component={Link} href="/specifications/new">
New
</Button>
</Group>

<SpecificationListView />
</Stack>
);
Expand Down
Loading

0 comments on commit 8859c82

Please sign in to comment.