Skip to content

Commit

Permalink
Add 30 more icons
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsanchez2 committed Mar 10, 2024
1 parent 7e1de8d commit 8bdb45e
Show file tree
Hide file tree
Showing 6 changed files with 434 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20.11.0
384 changes: 384 additions & 0 deletions data/icons.json

Large diffs are not rendered by default.

48 changes: 26 additions & 22 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const Footer = () => {
const currentYear = new Date().getFullYear()
return (
<footer className="bg-[var(--bee-black)] bee-white py-2">
<div className="flex flex-col items-center md:items-end gap-4 container">
Expand All @@ -13,7 +14,7 @@ const Footer = () => {
href="https://github.com/manuelsanchezweb/bee-icons"
title="BeeIcons on GitHub"
>
BeeIcons 2023 © All rights reserved.
BeeIcons {currentYear} © All rights reserved.
</a>
</div>

Expand Down
34 changes: 19 additions & 15 deletions src/components/icon-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const IconList = ({ icons }: { icons: Icon[] }) => {
</div>

<ul
className={`flex flex-wrap items-start gap-8 md:gap-x-24 md:min-h-[370px] ${
className={`flex flex-wrap items-start gap-8 md:gap-x-24 ${
displayedIconsPaginated.length > 0 ? '' : 'md:items-center'
} justify-center md:justify-start`}
>
Expand Down Expand Up @@ -133,20 +133,24 @@ const IconList = ({ icons }: { icons: Icon[] }) => {

<div className="flex flex-col mt-12">
<div className="flex justify-center gap-8">
<button
onClick={actions.prevPage}
disabled={isPrevDisabled}
className="disabled:text-gray-300 disabled:pointer-events-none"
>
Previous page
</button>
<button
onClick={actions.nextPage}
disabled={isNextDisabled}
className="disabled:text-gray-300 disabled:pointer-events-none"
>
Next page
</button>
{!isPrevDisabled && (
<button
onClick={actions.prevPage}
disabled={isPrevDisabled}
className="disabled:text-gray-300 disabled:pointer-events-none"
>
Previous page
</button>
)}
{!isNextDisabled && (
<button
onClick={actions.nextPage}
disabled={isNextDisabled}
className="disabled:text-gray-300 disabled:pointer-events-none"
>
Next page
</button>
)}
</div>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ export default function Home({ icons }: { icons: Icon[] }) {
<Navigation />
<Hero />
<div className="flex flex-col items-center my-10 md:my-24 text-center gap-4">
<small>Last updated: March 2024</small>
<h2 className="font-black text-4xl">
+110 cool icons already made their way to the hive!
+140 cool icons already made their way to the hive!
</h2>
<div className="flex flex-col items-center gap-4">
<h3>Some of the new incorporations:</h3>
Expand Down

0 comments on commit 8bdb45e

Please sign in to comment.