Skip to content

Commit

Permalink
components: add Avatar (#6)
Browse files Browse the repository at this point in the history
* components: add `Avatar`

* .

* simplify and more

* oops

* read somewhere to stick to undefined instead of null

---------

Co-authored-by: Davis SHYAKA <87414827+davis-shyaka@users.noreply.github.com>
  • Loading branch information
shyakadavis and shyakadavis authored Jul 16, 2024
1 parent 494e732 commit cf2b6ab
Show file tree
Hide file tree
Showing 28 changed files with 536 additions and 90 deletions.
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
{
"cSpell.words": [
"anatolzak",
"benmccann",
"Choicebox",
"ciscoheat",
"Combobox",
"exmarkdown",
"Conduitry",
"dummdidumm",
"geist",
"geoffrich",
"Gonz",
"huntabyte",
"lukeed",
"nums",
"ollema",
"Paperclip",
"poppanator",
"shadcn",
"shiki",
"shyakadavis",
"techniq",
"trueadm",
"Turborepo",
"WAAPI"
]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
},
"type": "module",
"dependencies": {
"bits-ui": "^0.21.12",
"clsx": "^2.1.1",
"tailwind-merge": "^2.4.0",
"tailwind-variants": "^0.2.1"
Expand Down
83 changes: 83 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/lib/assets/icons/chevron-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/lib/assets/icons/chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion src/lib/assets/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import BrandAssets from './brand-assets.svg?component';
import CharBarMiddle from './chart-bar-middle.svg?component';
import CharTrendingDown from './chart-trending-down.svg?component';
import Check from './check.svg?component';
import ChevronLeft from './chevron-left.svg?component';
import ChevronRightSmall from './chevron-right-small.svg?component';
import ChevronRight from './chevron-right.svg?component';
import ClockDashed from './clock-dashed.svg?component';
Expand All @@ -21,7 +22,10 @@ import GridSquare from './grid-square.svg?component';
import Inbox from './inbox.svg?component';
import Key from './key.svg?component';
import Link from './link.svg?component';
import LogoGeist from './logo-geist.svg';
import LogoBitbucketColor from './logo-bitbucket-color.svg?component';
import LogoGeist from './logo-geist.svg?component';
import LogoGithub from './logo-github.svg?component';
import LogoGitlab from './logo-gitlab.svg?component';
import LogoNext from './logo-next.svg?component';
import LogoTurborepo from './logo-turborepo.svg?component';
import LogoV0 from './logo-v0.svg?component';
Expand All @@ -44,6 +48,7 @@ export const Icons = {
CharBarMiddle,
CharTrendingDown,
Check,
ChevronLeft,
ChevronRightSmall,
ChevronRight,
ClockDashed,
Expand All @@ -61,7 +66,10 @@ export const Icons = {
Inbox,
Key,
Link,
LogoBitbucketColor,
LogoGeist,
LogoGithub,
LogoGitlab,
LogoNext,
LogoTurborepo,
LogoV0,
Expand Down
10 changes: 10 additions & 0 deletions src/lib/assets/icons/logo-bitbucket-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/lib/assets/icons/logo-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/lib/assets/icons/logo-gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cf2b6ab

Please sign in to comment.