Skip to content

Commit

Permalink
website: add appstore url.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 21, 2023
1 parent cdfbeeb commit d3cf05f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions src/app/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ html, body {
max-width: 330px;
}

.appstore {
position: absolute;
bottom: 10px;
right: 10px;
}

.footer {
text-align: center;
padding: 10px 0 38px 0;
Expand Down
7 changes: 4 additions & 3 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export default function App() {
transition: 'background-color 0.3s ease 0s',
}}
>
<a href="https://apps.apple.com/app/palettegenius/id6472593276" target="_blank">
<img className={styles.appstore} src="https://jaywcjlove.github.io/sb/download/white-appstore.svg" />
</a>
<GitHubCorners fixed zIndex={999} size={60} target="__blank" href="https://github.com/uiwjs/ui-color" />
<div className={styles.warpper}>
<div className={styles.colors}>
Expand Down Expand Up @@ -94,9 +97,7 @@ export default function App() {
color={color}
lang="swift"
title="Swift for iOS"
code={`UIColor(red: ${color.r}/255, green: ${color.g}/255, blue: ${color.b}/255, alpha: ${
color.a
})`}
code={`UIColor(red: ${color.r}/255, green: ${color.g}/255, blue: ${color.b}/255, alpha: ${color.a})`}
/>
<Code
color={color}
Expand Down

0 comments on commit d3cf05f

Please sign in to comment.