Skip to content

Commit

Permalink
refactor: rename site into website
Browse files Browse the repository at this point in the history
  • Loading branch information
juliencrn committed Sep 19, 2022
1 parent 195e97f commit c6380f7
Show file tree
Hide file tree
Showing 162 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/copyHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import path from 'path'
import { isHookFile, toQueryParams } from './utils'

const hooksDir = path.resolve('./src')
const demosDir = path.resolve('./site/src/hooks-doc')
const outputDir = path.resolve('./site/generated')
const demosDir = path.resolve('./website/src/content')
const outputDir = path.resolve('./website/generated')
const sandboxTemplatePath = path.resolve('./templates/codesandbox')

////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 3 additions & 1 deletion scripts/updateReadme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { camelToKebabCase, isHookFile } from './utils'
// 1. Imperative script that updates the hook list in the README file.
////////////////////////////////////////////////////////////////////////

const demos = fs.readdirSync(path.resolve(path.resolve('./site/src/hooks-doc')))
const demos = fs.readdirSync(
path.resolve(path.resolve('./website/src/content')),
)

const hooks = fs
.readdirSync(path.resolve(path.resolve('./src')))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion site/package.json → website/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "site",
"name": "website",
"private": true,
"description": "React hook library, ready to use, written in Typescript.",
"author": "Julien CARON <[email protected]>",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ date: '2020-08-06'

A simple React Hook that helps you improve UX while images are loading. Rather than having an image that "unfolds" from top to bottom, we load a smaller version first which will be blurred and which will be replaced by the normal size image once loaded.

You can see an implementation of this hook on this site: [React Gallery](https://react-gallery-ux.netlify.app/). Don't hesitate to take the logic and write your own CSS instead.
You can see an implementation of this hook on this website: [React Gallery](https://react-gallery-ux.netlify.app/). Don't hesitate to take the logic and write your own CSS instead.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c6380f7

Please sign in to comment.