-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55cecc8
commit 8795951
Showing
2 changed files
with
180 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
// https://vercel.com/blog/how-we-optimized-package-imports-in-next-js | ||
|
||
import { | ||
IconBrandApple, | ||
IconBrandDiscord, | ||
IconBrandGithub, | ||
IconBrandGoogleFilled, | ||
IconBrandLinkedin, | ||
IconBrandPaypalFilled, | ||
IconBrandX, | ||
IconCopy, | ||
} from "@tabler/icons-react"; | ||
import { | ||
ArrowBigLeftDashIcon, | ||
ArrowLeftIcon, | ||
ArrowRightIcon, | ||
BellIcon, | ||
CalendarIcon, | ||
CheckIcon, | ||
ChevronDownIcon, | ||
ChevronLeftIcon, | ||
ChevronRightIcon, | ||
ChevronUpIcon, | ||
CircleIcon, | ||
CommandIcon, | ||
Laptop, | ||
DicesIcon, | ||
ExternalLinkIcon, | ||
EyeIcon, | ||
EyeOffIcon, | ||
FlagIcon, | ||
GlobeIcon, | ||
GripVerticalIcon, | ||
Loader2Icon, | ||
LockIcon, | ||
LogInIcon, | ||
LogOutIcon, | ||
MailIcon, | ||
// MessageSquareText, | ||
MinusIcon, | ||
MoonIcon, | ||
MoreHorizontalIcon, | ||
PaintbrushIcon, | ||
PaletteIcon, | ||
PlusIcon, | ||
RocketIcon, | ||
RotateCcwIcon, | ||
SaveIcon, | ||
SearchIcon, | ||
SettingsIcon, | ||
ShareIcon, | ||
StarIcon, | ||
// StarsIcon, | ||
SunIcon, | ||
Trash2Icon, | ||
UnlockIcon, | ||
UserIcon, | ||
XIcon, | ||
} from "lucide-react"; | ||
|
||
// Brands | ||
const Discord = IconBrandDiscord; | ||
const GitHub = IconBrandGithub; | ||
const LinkedIn = IconBrandLinkedin; | ||
const Google = IconBrandGoogleFilled; | ||
const Xcom = IconBrandX; | ||
const Paypal = IconBrandPaypalFilled; | ||
const Apple = IconBrandApple; | ||
|
||
// Icons used by shadcn | ||
const ArrowLeft = ArrowLeftIcon; | ||
const ArrowRight = ArrowRightIcon; | ||
const Check = CheckIcon; | ||
const ChevronDown = ChevronDownIcon; | ||
const ChevronLeft = ChevronLeftIcon; | ||
const ChevronRight = ChevronRightIcon; | ||
const ChevronUp = ChevronUpIcon; | ||
const Circle = CircleIcon; | ||
const GripVertical = GripVerticalIcon; | ||
const MoreHorizontal = MoreHorizontalIcon; | ||
const Search = SearchIcon; | ||
const X = XIcon; | ||
|
||
// Theme | ||
const Dark = MoonIcon; | ||
const Light = SunIcon; | ||
const System = Laptop; | ||
|
||
// Auth | ||
const LogOut = LogOutIcon; | ||
const User = UserIcon; | ||
const LogIn = LogInIcon; | ||
|
||
// Common | ||
const Copy = IconCopy; | ||
const External = ExternalLinkIcon; | ||
const EyeClosed = EyeOffIcon; | ||
const EyeOpened = EyeIcon; | ||
const Flag = FlagIcon; | ||
const Globe = GlobeIcon; | ||
const Loader = Loader2Icon; | ||
const Lock = LockIcon; | ||
const Unlock = UnlockIcon; | ||
const Mail = MailIcon; | ||
const Minus = MinusIcon; | ||
const Plus = PlusIcon; | ||
const Settings = SettingsIcon; | ||
const Trash = Trash2Icon; | ||
|
||
// Project-specific | ||
const Paintbrush = PaintbrushIcon; | ||
const Calendar = CalendarIcon; | ||
// const Emoji = MessageSquareTextIcon; | ||
const Rocket = RocketIcon; | ||
const Bell = BellIcon; | ||
const Save = SaveIcon; | ||
const Palette = PaletteIcon; | ||
// const Favorites = StarsIcon; | ||
const Reset = RotateCcwIcon; | ||
const Star = StarIcon; | ||
const Share = ShareIcon; | ||
const Dices = DicesIcon; | ||
const Previous = ArrowBigLeftDashIcon; | ||
|
||
export { | ||
Apple, | ||
ArrowLeft, | ||
ArrowRight, | ||
Bell, | ||
Calendar, | ||
Check, | ||
ChevronDown, | ||
ChevronLeft, | ||
ChevronRight, | ||
ChevronUp, | ||
Circle, | ||
CommandIcon, | ||
Copy, | ||
Dark, | ||
Dices, | ||
Discord, | ||
// Emoji, | ||
External, | ||
EyeClosed, | ||
EyeOpened, | ||
// Favorites, | ||
Flag, | ||
GitHub, | ||
Globe, | ||
Google, | ||
GripVertical, | ||
Light, | ||
LinkedIn, | ||
Loader, | ||
Lock, | ||
LogIn, | ||
LogOut, | ||
Mail, | ||
Minus, | ||
MoreHorizontal, | ||
Paintbrush, | ||
Palette, | ||
Paypal, | ||
Plus, | ||
Previous, | ||
Reset, | ||
Rocket, | ||
Save, | ||
Search, | ||
Settings, | ||
Share, | ||
Star, | ||
System, | ||
Trash, | ||
Unlock, | ||
User, | ||
X, | ||
Xcom, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters