Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gilbitron/ui-avatar-svg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.0
Choose a base ref
...
head repository: gilbitron/ui-avatar-svg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 12, 2021

  1. Update README.md

    gilbitron authored Jan 12, 2021
    Copy the full SHA
    459ba41 View commit details
  2. Update README.md

    gilbitron authored Jan 12, 2021
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    69546ca View commit details
  3. Update index.html

    gilbitron committed Jan 12, 2021
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c1001de View commit details
Showing with 8 additions and 1 deletion.
  1. +7 −0 README.md
  2. +1 −1 demo/index.html
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<p align="center"><img src="https://user-images.githubusercontent.com/203882/104310672-fc204680-54cb-11eb-80f7-44ea848422de.png" width="400" style="max-width:100%;"></p>

<p align="center">
<a href="https://www.npmjs.com/package/ui-avatar-svg"><img src="https://img.shields.io/npm/v/ui-avatar-svg.svg" alt="Version"></a>
<a href="https://github.com/gilbitron/ui-avatar-svg"><img src="https://img.shields.io/github/license/gilbitron/ui-avatar-svg.svg" alt="License"></a>
</p>

# UI Avatar SVG

Generate SVG avatars with user initials in pure JS.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>UI Avatar SVG Demo</title>
<link href="https://unpkg.com/tailwindcss@2.0.2/dist/tailwind.min.css" rel="stylesheet">
<script src="../dist/ui-avatar-svg.umd.js"></script>
<script src="https://unpkg.com/ui-avatar-svg@latest/dist/ui-avatar-svg.umd.js"></script>
</head>
<body>
<div x-data="app()" x-init="() => init()" class="p-6 md:p-10 max-w-4xl mx-auto">