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 node_modules
dist dist
build build
lib /lib
sandbox sandbox
stash stash
coverage coverage

View File

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

View File

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

View File

@@ -1,8 +1,8 @@
import fs from "fs"; import fs from "fs";
import path from "path"; 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() { export function getAllNames() {
const fileNames = fs.readdirSync(directory); const fileNames = fs.readdirSync(directory);

View File

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

View File

@@ -2,6 +2,7 @@ import {
Button, Button,
Flex, Flex,
Grid, Grid,
Link,
Icon, Icon,
Input, Input,
InputGroup, InputGroup,
@@ -64,9 +65,12 @@ const IndexPage = ({ data }) => {
return ( return (
<Layout> <Layout>
<Flex direction="column" align="center" justify="center"> <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 Simply beautiful open source icons, community-sourced
</Text> </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}> <Stack isInline marginTop={3} marginBottom={10}>
<Button <Button
onClick={async () => { onClick={async () => {

File diff suppressed because it is too large Load Diff