Skip to content

Commit

Permalink
buttonfix
Browse files Browse the repository at this point in the history
  • Loading branch information
royallyscrewd committed Aug 6, 2024
1 parent 18a2961 commit 6d1a1cd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { href = "#", variant = "primary", className, tooltip } = Astro.props;
variant === "disabled" &&
"cursor-not-allowed active:pointer-events-none bg-gray-800",
variant === "border" &&
"bg-none border-solid border-2 border-purple-700 hover:border-purple-700 text-purple-700 font-normal",
"bg-none border-solid border-2 border-purple-500 hover:border-purple-500 text-purple-500 font-normal",
className,
]}
>
Expand Down
21 changes: 19 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ import link from "@/assets/link.svg";
semantic information
</p>
<p class="mt-4 mb-4 md:text-base lg:text-base"></p>
<Button href="/sti-website/description" variant="secondary">
<Button
target="_self"
href="/sti-website/description"
variant="secondary"
>
Learn more about STI
</Button>
<section>
Expand All @@ -59,10 +63,15 @@ import link from "@/assets/link.svg";
optimal contexts of use
</p>
<div class="flex flex-wrap gap-2">
<Button href="/sti-website/tutorial" variant="secondary">
<Button
target="_self"
href="/sti-website/tutorial"
variant="secondary"
>
Learn more about TUTSTI @ ISWC2024
</Button>
<Button
target="_blank"
href="https://iswc2024.semanticweb.org/event/3715c6fc-e2d7-47eb-8c01-5fe4ac589a52/summary"
variant="secondary"
className="md:ml-4"
Expand Down Expand Up @@ -110,6 +119,7 @@ import link from "@/assets/link.svg";
comprehensive resource for advancing STI research and applications
</p>
<Button
target="_blank"
href="https://unimib-datai.github.io/mammotab-docs/"
variant="secondary"
>
Expand Down Expand Up @@ -150,6 +160,7 @@ import link from "@/assets/link.svg";
</p>
<div class="flex flex-row gap-4">
<Button
target="_blank"
href="https://unimib-datai.github.io/s-elbat-docs/"
variant="secondary"
>
Expand All @@ -170,6 +181,7 @@ import link from "@/assets/link.svg";
>
</Button>
<Button
target="_blank"
href="https://selbat.datai.disco.unimib.it/"
variant="border"
>
Expand Down Expand Up @@ -212,6 +224,7 @@ import link from "@/assets/link.svg";
</p>
<div class="flex flex-row gap-4">
<Button
target="_blank"
href="https://unimib-datai.github.io/mantistable-ui-docs"
variant="secondary"
>
Expand All @@ -232,6 +245,7 @@ import link from "@/assets/link.svg";
>
</Button>
<Button
target="_blank"
href="https://mantistable.datai.disco.unimib.it/"
variant="border"
>
Expand Down Expand Up @@ -274,6 +288,7 @@ import link from "@/assets/link.svg";
</p>
<div class="flex flex-row gap-4">
<Button
target="_blank"
href="https://unimib-datai.github.io/steellm-docs"
variant="secondary"
>
Expand Down Expand Up @@ -316,6 +331,7 @@ import link from "@/assets/link.svg";
</p>
<div class="flex flex-row gap-4">
<Button
target="_blank"
href="https://unimib-datai.github.io/lamapi-docs"
variant="secondary"
>
Expand All @@ -336,6 +352,7 @@ import link from "@/assets/link.svg";
>
</Button>
<Button
target="_blank"
href="https://lamapi.datai.disco.unimib.it/"
variant="border"
>
Expand Down

0 comments on commit 6d1a1cd

Please sign in to comment.