Skip to content

Commit

Permalink
updating footer to use unplugin-icons approach instead of individual …
Browse files Browse the repository at this point in the history
…svelte components plus adjustments to better match Figma designs
  • Loading branch information
briangregoryholmes committed Dec 8, 2023
1 parent 3900f29 commit 86e275c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions web-common/src/layout/navigation/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script lang="ts">
import Discord from "@rilldata/web-common/components/icons/Discord.svelte";
import Docs from "@rilldata/web-common/components/icons/Docs.svelte";
import Github from "@rilldata/web-common/components/icons/Github.svelte";
import InfoCircle from "@rilldata/web-common/components/icons/InfoCircle.svelte";
import Docs from "~icons/radix-icons/file-text";
import GitHub from "~icons/bxl/github";
import Discord from "~icons/bxl/discord-alt";
import InfoCircle from "~icons/ant-design/info-circle-outlined";
import Shortcut from "@rilldata/web-common/components/tooltip/Shortcut.svelte";
import Tooltip from "@rilldata/web-common/components/tooltip/Tooltip.svelte";
import TooltipContent from "@rilldata/web-common/components/tooltip/TooltipContent.svelte";
Expand All @@ -21,21 +21,21 @@
icon: Docs,
label: "Documentation",
href: "https://docs.rilldata.com",
className: "fill-gray-600",
className: "text-gray-600 text-[12px]",
shrinkIcon: false,
},
{
icon: Discord,
label: "Ask a question",
href: "http://bit.ly/3jg4IsF",
className: "fill-gray-500",
className: "text-gray-500 text-[14px]",
shrinkIcon: true,
},
{
icon: Github,
icon: GitHub,
label: "Report an issue",
href: "https://github.com/rilldata/rill/issues/new?assignees=&labels=bug&template=bug_report.md&title=",
className: "fill-gray-500",
className: "text-gray-500 text-[14px]",
shrinkIcon: true,
},
];
Expand All @@ -57,7 +57,7 @@
>
<svelte:component
this={lineItem.icon}
className={lineItem.className}
class={lineItem.className}
size="14px"
/>
</div>
Expand All @@ -77,7 +77,7 @@
rel="noreferrer"
class="text-gray-400"
>
<InfoCircle size="16px" />
<InfoCircle class="text-[14px] text-gray-500" />
</a>
<div slot="tooltip-content" transition:fly={{ duration: 100, y: 8 }}>
<TooltipContent>
Expand Down

0 comments on commit 86e275c

Please sign in to comment.