-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icons): add IconHome component (#556)
# Motivation Adds the IconHome to be used for the new Portfolio page. Ticket: https://dfinity.atlassian.net/browse/NNS1-3510 # Changes - Adds `IconHome` # Screenshots <img width="284" alt="Screenshot 2024-12-19 at 11 14 24" src="https://github.com/user-attachments/assets/95cd3dba-2412-496e-814d-1561744f302f" />
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- source: DFINITY foundation --> | ||
<script lang="ts"> | ||
import { DEFAULT_ICON_SIZE } from "$lib/constants/constants"; | ||
export let size = `${DEFAULT_ICON_SIZE}px`; | ||
</script> | ||
|
||
<svg | ||
width={size} | ||
height={size} | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
stroke="currentColor" | ||
xmlns="http://www.w3.org/2000/svg" | ||
data-tid="icon-home" | ||
><path | ||
stroke-width="1.5" | ||
d="M11.636 16.382v-3.709a.662.662 0 0 0-.16-.437.515.515 0 0 0-.385-.18H8.909a.515.515 0 0 0-.386.18.662.662 0 0 0-.16.437v3.709a.663.663 0 0 1-.16.437.515.515 0 0 1-.385.181H4.545a.515.515 0 0 1-.385-.181.663.663 0 0 1-.16-.437V9.235a.714.714 0 0 1 .048-.248.647.647 0 0 1 .13-.208l5.454-5.617A.512.512 0 0 1 10 3c.136 0 .268.058.368.162l5.455 5.617c.055.059.099.13.129.208.03.078.047.162.048.248v7.147a.663.663 0 0 1-.16.437.515.515 0 0 1-.386.181h-3.272a.515.515 0 0 1-.386-.181.662.662 0 0 1-.16-.437Z" | ||
/></svg | ||
> |