├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── components ├── Footer.jsx ├── Icon.jsx ├── Icons.jsx ├── Layout.jsx ├── Loading.jsx ├── Navbar.jsx └── Search.jsx ├── getIcons.js ├── package-lock.json ├── package.json ├── pages ├── _app.js └── index.jsx ├── public ├── brand_icons.json ├── card.jpg ├── favicon.ico ├── generic_icons.json └── supacon.svg ├── styles ├── Footer.module.css ├── Icon.module.css ├── Loading.module.css ├── Navbar.module.css ├── Search.module.css ├── globals.css └── index.module.css └── supacons.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | *.pem 21 | 22 | # debug 23 | npm-debug.log* 24 | yarn-debug.log* 25 | yarn-error.log* 26 | 27 | # local env files 28 | .env.local 29 | .env.development.local 30 | .env.test.local 31 | .env.production.local 32 | 33 | # vercel 34 | .vercel 35 | 36 | 37 | 38 | # ignore files from core branch 39 | css/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "jsxBracketSameLine": true, 3 | "jsxSingleQuote": true, 4 | "printWidth": 120, 5 | "singleQuote": true, 6 | "tabWidth": 4, 7 | "arrowParens": "avoid" 8 | } 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 poseidon-code 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | ![Supacons](./supacons.jpg) 4 | 5 | [`https://supacons.netlify.app`](https://supacons.netlify.app) 6 | 7 | Font Icons ripped from popular Font Awesome 6 icon pack including all Pro icons ! 8 | 9 | ### • 10 | 11 |
12 | 13 | The icons were switched from a SVG based icons to a font based icons system _([Why font based icon?](https://github.com/poseidon-code/supacons/tree/core))_. These icons can be included in your projects just by using the following HTML `` tag : 14 | 15 | ```html 16 | 17 | ``` 18 | 19 | Check [`core`](https://github.com/poseidon-code/supacons/tree/core) branch for more usage guidelines and info about customizing icons. 20 | 21 | --- 22 | 23 | ## [MIT License](./LICENSE) 24 | -------------------------------------------------------------------------------- /components/Footer.jsx: -------------------------------------------------------------------------------- 1 | import Link from 'next/link'; 2 | import styles from '../styles/Footer.module.css'; 3 | import { Brand, Github, Facebook, Linkedin } from './Icons'; 4 | 5 | const Footer = () => { 6 | return ( 7 |
8 |
9 |
10 | 48 |
49 |
50 | 51 | Icons designed by  52 | 53 | Font Awesome 54 | 55 | 56 |
57 | ); 58 | }; 59 | 60 | export default Footer; 61 | -------------------------------------------------------------------------------- /components/Icon.jsx: -------------------------------------------------------------------------------- 1 | import styles from '../styles/Icon.module.css'; 2 | 3 | const Icon = ({ name, type, subtypes, clipboard: { copier } }) => { 4 | const copyIconTag = (type, subtype, name) => { 5 | copier(``); 6 | }; 7 | 8 | return subtypes.map((subtype, i) => { 9 | return ( 10 |
copyIconTag(type, subtype, name)} 15 | title={``}> 16 | 17 | {type === 'brands' ? 'B' : type === 'classic' ? 'C' : type === 'sharp' ? 'S' : null} 18 | {subtype === 'brands' 19 | ? 'B' 20 | : subtype === 'duotone' 21 | ? 'D' 22 | : subtype === 'solid' 23 | ? 'S' 24 | : subtype === 'regular' 25 | ? 'R' 26 | : subtype === 'light' 27 | ? 'L' 28 | : subtype === 'thin' 29 | ? 'T' 30 | : null} 31 | 32 |
33 | 34 |
35 | {name} 36 |
37 | ); 38 | }); 39 | }; 40 | 41 | export default Icon; 42 | -------------------------------------------------------------------------------- /components/Icons.jsx: -------------------------------------------------------------------------------- 1 | export const Brand = () => ( 2 | 13 | 14 | 19 | 24 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | ); 53 | 54 | export const Code = () => ( 55 | 56 | 57 | 58 | ); 59 | 60 | export const Github = () => ( 61 | 67 | 68 | 69 | ); 70 | 71 | export const License = () => ( 72 | 73 | 79 | 80 | ); 81 | 82 | export const Count = () => ( 83 | 84 | 85 | 86 | ); 87 | 88 | export const Facebook = () => ( 89 | 96 | 97 | 98 | ); 99 | 100 | export const Linkedin = () => ( 101 | 108 | 109 | 110 | 111 | 112 | ); 113 | 114 | export const MagnifyingGlass = () => ( 115 | 116 | 122 | 123 | ); 124 | 125 | export const NotFound = () => ( 126 | 127 | 133 | 134 | ); 135 | 136 | export const Info = () => ( 137 | 138 | 141 | 142 | ); 143 | -------------------------------------------------------------------------------- /components/Layout.jsx: -------------------------------------------------------------------------------- 1 | import Head from 'next/head'; 2 | 3 | import Navbar from './Navbar'; 4 | import Footer from './Footer'; 5 | import Search from './Search'; 6 | 7 | const Layout = props => { 8 | return ( 9 | <> 10 | 11 | Supacons 6 | Font Icons 12 | 13 | 14 | 18 | 19 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 40 | 41 | 42 | 43 | 44 | 45 |
{props.children}
46 |