Skip to content

Commit

Permalink
finilised the page
Browse files Browse the repository at this point in the history
  • Loading branch information
proksh committed Sep 30, 2024
1 parent eeed8ac commit 9f3706e
Show file tree
Hide file tree
Showing 25 changed files with 235 additions and 1,343 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Proxy Icons - React Components for Your Project
# Proxy Icons

[![npm version](https://img.shields.io/npm/v/proxy-icons.svg?style=flat-square)](https://www.npmjs.com/package/proxy-icons)

This library provides a collection of React components for commonly used icons. Easily integrate these icons into your React applications to enhance user experience.
Easily integrate these icons into your application by using Font cdn or React components to enhance user experience.

## Installation with CDN

Expand Down
657 changes: 11 additions & 646 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
"next-mdx-remote": "^5.0.0",
"react": "^18",
"react-dom": "^18",
"rehype-autolink-headings": "^7.1.0",
"rehype-code-titles": "^1.2.0",
"rehype-prism-plus": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"tailwind-merge": "^2.3.0"
},
"devDependencies": {
Expand All @@ -38,6 +33,7 @@
"eslint-config-next": "14.2.3",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5"
}
}
16 changes: 0 additions & 16 deletions packages/website/src/app/docs/[[...slug]]/layout.tsx

This file was deleted.

43 changes: 0 additions & 43 deletions packages/website/src/app/docs/[[...slug]]/page.tsx

This file was deleted.

16 changes: 7 additions & 9 deletions packages/website/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import SearchInput from '@/components/homepage/SearchInput';
import { filtedFlattenIcons } from '@/components/common/helperFunctions';
import { IconArrayItemType } from '@/components/common/types';
import Header from '@/components/common/header';
import DownloadModal from '@/components/homepage/DownloadModal';

export default function Home({ searchParams }: { searchParams: { search?: string } }) {
if (!icons) {
Expand All @@ -23,15 +24,12 @@ export default function Home({ searchParams }: { searchParams: { search?: string
<div className="flex-grow">
<SearchInput />
</div>
<a
href="https://github.com/proksh/proxy-icons/raw/refs/heads/main/packages/downloads/font.zip"
download
rel="noopener noreferrer"
className="text-xl font-medium bg-orange-500 hover:bg-orange-500/80 flex items-center justify-center gap-3 w-16 md:w-auto md:px-12 rounded-2xl text-white transition-all"
>
<i className="pro-download-2-fill leading-none" />
<span className="hidden md:inline">Download</span>
</a>
<DownloadModal>
<button className="text-xl font-medium bg-orange-500 hover:bg-orange-500/80 flex items-center justify-center gap-3 w-16 md:w-auto md:px-12 rounded-2xl text-white transition-all">
<i className="pro-download-2-fill leading-none" />
<span className="hidden md:inline">Download</span>
</button>
</DownloadModal>
</div>
<div className="pb-40">
{Object.keys(responseIcons).map((category) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/components/common/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const DialogContent = React.forwardRef<
<DialogPrimitive.Content
ref={ref}
className={cn(
'fixed left-[50%] top-[50%] z-50 grid w-full max-w-2xl translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-3xl',
'fixed left-[50%] top-[50%] z-50 grid w-[90vw] msx-w-md sm:w-full sm:max-w-2xl translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-3xl',
className
)}
{...props}
Expand Down
7 changes: 2 additions & 5 deletions packages/website/src/components/common/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ const TabsList = React.forwardRef<
>(({ className, ...props }, ref) => (
<TabsPrimitive.List
ref={ref}
className={cn(
'inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground font-mono -mb-28',
className
)}
className={cn('inline-flex h-10 items-center justify-start rounded-md text-muted-foreground', className)}
{...props}
/>
));
Expand All @@ -29,7 +26,7 @@ const TabsTrigger = React.forwardRef<
<TabsPrimitive.Trigger
ref={ref}
className={cn(
'inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm',
'inline-flex items-center border-b-2 border-transparent justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:border-brand-700',
className
)}
{...props}
Expand Down
29 changes: 0 additions & 29 deletions packages/website/src/components/docs/Pagination.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions packages/website/src/components/docs/Toc.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions packages/website/src/components/docs/anchor.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions packages/website/src/components/docs/copy.tsx

This file was deleted.

37 changes: 0 additions & 37 deletions packages/website/src/components/docs/docs-breadcrumb.tsx

This file was deleted.

47 changes: 0 additions & 47 deletions packages/website/src/components/docs/footer.tsx

This file was deleted.

Loading

0 comments on commit 9f3706e

Please sign in to comment.