Skip to content

Commit

Permalink
Update about pages / links to point to wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDeveloper81 committed Jul 16, 2024
1 parent 97c8065 commit f3826a7
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 11 deletions.
5 changes: 4 additions & 1 deletion src/lib/components/ui/ButtonLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import { base } from '$app/paths';
export let label: string;
export let href: string;
export let external = false;
export let variant: IcButtonVariants = 'primary';
export let size: IcSizes = 'default';
export let ariaLabel: string | undefined = undefined;
Expand All @@ -16,7 +17,9 @@
{size}
{variant}
class="break-words"
href={`${base}/${relativeHref}`}
href={external ? href : `${base}/${relativeHref}`}
target={external ? '_blank' : undefined}
rel={external ? 'noreferrer' : undefined}
aria-label={ariaLabel}
>
{label}
Expand Down
8 changes: 7 additions & 1 deletion src/lib/data/sources-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,11 @@
"url": "https://www.w3.org/ns/dcat2.ttl"
}
],
"internal": []
"internal": [
{
"name": "Sherlock Holmes Dataset",
"description": "A small dataset relating to Sherlock Holmes",
"url": "https://gchq.github.io/LD-Explorer/exampleData/Sherlock.ttl"
}
]
}
17 changes: 17 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@
>
</Heading>
</div>
<div slot="interaction">
<ButtonLink
label="Get Started"
variant="primary"
external
href="https://github.com/gchq/LD-Explorer/wiki/Getting-Started"
/>
</div>

<div slot="interaction">
<ButtonLink
label="FAQ"
variant="secondary"
external
href="https://github.com/gchq/LD-Explorer/wiki/FAQ"
/>
</div>
</ic-hero>

<div class="bg-gray-100 text-center md:text-left px-4">
Expand Down
29 changes: 20 additions & 9 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,29 @@
</script>

<PageView heading="About" subheading="Overview of this application">
<Alert
heading="Prototype"
variant="warning"
message="This software is a prototype and should not be used for mission critical tasks in its current state."
/>

<div class="mt-4">
<Alert
variant="warning"
heading="Prototype"
message="This software is a prototype - it is not guaranteed to be bug free and should not be used for
critical tasks."
/>
<P
>LD-Explorer is a prototype tool that aims to put an end to the blockers and confusion around
the use of RDF and Linked Data. Often, developers will discover the techniques on the way to
meeting requirements like data interoperability or model flexibility, and then be put off by
the steep and mostly academic-focussed learning curve and the lack of any tools that let you
just "try it out". The hope is that this tool reduces the learning curve and enables
discussion around the use of linked data to happen more easily.
</P>
<P>
For more information about LD Explorer, please visit the project's <Link
href="https://github.com/gchq/ld-explorer"
external>Github repository</Link
>.
href="https://github.com/gchq/LD-Explorer/wiki"
external>Github Wiki</Link
>, which includes a <Link
href="https://github.com/gchq/LD-Explorer/wiki/Getting-Started"
external>tutorial</Link
> to help you get started.
</P>
</div>
</PageView>

0 comments on commit f3826a7

Please sign in to comment.