Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsolorio committed Jan 31, 2025
1 parent f1f92c6 commit 2d7a80a
Showing 1 changed file with 39 additions and 3 deletions.
42 changes: 39 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,23 @@ const App: React.FC = () => {
aria-label="Toggle dark mode"
>
{isDarkMode ? (
<svg className="w-5 h-5 text-yellow-500" fill="currentColor" viewBox="0 0 20 20">
<path fillRule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clipRule="evenodd" />
<svg
className="w-5 h-5 text-yellow-500"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
fillRule="evenodd"
d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"
clipRule="evenodd"
/>
</svg>
) : (
<svg className="w-5 h-5 text-slate-800" fill="currentColor" viewBox="0 0 20 20">
<svg
className="w-5 h-5 text-slate-800"
fill="currentColor"
viewBox="0 0 20 20"
>
<path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" />
</svg>
)}
Expand Down Expand Up @@ -720,6 +732,30 @@ const App: React.FC = () => {
</div>
</div>
</div>
<footer className="mt-8 text-sm text-slate-600 dark:text-slate-400">
<div className="flex items-center space-x-4">
<a
href="https://github.com/miguelsolorio/contrast-grid-editor"
target="_blank"
rel="noopener noreferrer"
className="hover:text-slate-900 dark:hover:text-slate-200 transition-colors"
>
GitHub
</a>
<span></span>
<span>
Built by{" "}
<a
href="https://miguelsolorio.com"
target="_blank"
rel="noopener noreferrer"
className="hover:text-slate-900 dark:hover:text-slate-200 transition-colors"
>
Miguel Solorio
</a>{" "}
</span>
</div>
</footer>
</div>

{activeColorPicker && (
Expand Down

0 comments on commit 2d7a80a

Please sign in to comment.