Update site (#87)

* Move the site to the root directory

* Update Site name

Co-authored-by: Eric Fennis <eric.fennis@endurance.com>
This commit is contained in:
Eric Fennis
2020-10-08 12:44:09 +02:00
committed by GitHub
parent a55620d6ba
commit 77f3f49ce7
21 changed files with 2111 additions and 80 deletions

2
.gitignore vendored
View File

@@ -4,7 +4,7 @@
node_modules
dist
build
lib
/lib
sandbox
stash
coverage

View File

@@ -1,4 +1,4 @@
[build]
base = "packages/site/"
base = "site/"
publish = "build/"
command = "yarn deploy"

View File

@@ -40,7 +40,7 @@ const Layout = ({ children }) => {
onClick={() => setQuery("")}
style={{ cursor: "pointer" }}
>
Featherity
Lucide
</Text>
</Flex>
<Flex justifyContent="center" alignItems="center">

View File

@@ -1,8 +1,8 @@
import fs from "fs";
import path from "path";
import tags from '../../../../tags.json';
import tags from '../../../tags.json';
const directory = path.join(process.cwd(), "../../icons");
const directory = path.join(process.cwd(), "../icons");
export function getAllNames() {
const fileNames = fs.readdirSync(directory);

View File

@@ -6,7 +6,7 @@ const App = ({ Component, pageProps }) => {
return (
<>
<Head>
<title>Featherity</title>
<title>Lucide</title>
</Head>
<ThemeProvider theme={customTheme}>
<ColorModeProvider>

View File

@@ -2,6 +2,7 @@ import {
Button,
Flex,
Grid,
Link,
Icon,
Input,
InputGroup,
@@ -64,9 +65,12 @@ const IndexPage = ({ data }) => {
return (
<Layout>
<Flex direction="column" align="center" justify="center">
<Text fontSize="3xl" as="b">
<Text fontSize="3xl" as="b" mb="4">
Simply beautiful open source icons, community-sourced
</Text>
<Text fontSize="lg" as="p" textAlign="center" mb="8">
An open-source icon library, a fork of Feather Icons. <br/>We're expanding the icon set as much as possible while keeping it nice-looking - <Link href="https://github.com/lucide-icons/lucide" isExternal>join us</Link>!
</Text>
<Stack isInline marginTop={3} marginBottom={10}>
<Button
onClick={async () => {

File diff suppressed because it is too large Load Diff