-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
89 changed files
with
19,878 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,130 +1,39 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional stylelint cache | ||
.stylelintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variable files | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
storybok-static | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
# testing | ||
/coverage | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
# production | ||
/build | ||
|
||
# vuepress v2.x temp and cache directory | ||
.temp | ||
.cache | ||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# Docusaurus cache and generated files | ||
.docusaurus | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# TernJS port file | ||
.tern-port | ||
# local env files | ||
.env*.local | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
# vercel | ||
.vercel | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
storybook-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"plugins": ["prettier-plugin-tailwindcss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type { StorybookConfig } from '@storybook/nextjs'; | ||
|
||
const config: StorybookConfig = { | ||
stories: [ | ||
'./src/*.stories.@(js|jsx|mjs|ts|tsx)' | ||
], | ||
addons: [ | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@storybook/addon-interactions', | ||
], | ||
framework: { | ||
name: '@storybook/nextjs', | ||
options: { builder: { useSWC: true } }, | ||
}, | ||
docs: { | ||
autodocs: 'tag', | ||
}, | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Preview } from "@storybook/react"; | ||
import { ThemeProvider, theme } from "reablocks"; | ||
|
||
const withProvider = (Story, context) => ( | ||
<ThemeProvider theme={theme}> | ||
<Story {...context} /> | ||
</ThemeProvider> | ||
); | ||
|
||
const preview: Preview = { | ||
decorators: [withProvider], | ||
parameters: { | ||
layout: "centered" | ||
} | ||
}; | ||
|
||
export default preview; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# reaviz-website | ||
🌎 Website for reaviz | ||
# Reaviz Website | ||
|
||
## Links | ||
- [Website](https://reaviz.io) | ||
- [Nextra Theme](https://github.com/reaviz/reablocks-docs-theme) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
command = "pnpm run build" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
const { webpack } = require('@storybook/csf-plugin'); | ||
|
||
const withNextra = require('nextra')({ | ||
theme: 'reablocks-docs-theme', | ||
themeConfig: './theme.config.tsx' | ||
}); | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
eslint: { | ||
ignoreDuringBuilds: true | ||
}, | ||
experimental: { | ||
scrollRestoration: true, | ||
}, | ||
typescript: { | ||
ignoreBuildErrors: true | ||
}, | ||
webpack: (config, _options) => { | ||
config.plugins.push( | ||
webpack({}) | ||
); | ||
|
||
return config; | ||
} | ||
}; | ||
|
||
module.exports = withNextra(nextConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"name": "reaviz-website", | ||
"version": "0.1.0", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build" | ||
}, | ||
"dependencies": { | ||
"@mdx-js/mdx": "^3.0.1", | ||
"@mdx-js/react": "^3.0.1", | ||
"clsx": "^2.1.0", | ||
"date-fns": "^3.6.0", | ||
"framer-motion": "^11.0.28", | ||
"next": "^14", | ||
"nextra": "^2.13.4", | ||
"posthog-js": "^1.131.4", | ||
"reablocks": "^7.9.2", | ||
"reablocks-docs-theme": "^0.0.2", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"react-hook-form": "^7.51.4", | ||
"react-syntax-highlighter": "^15.5.0", | ||
"sharp": "^0.33.3", | ||
"tailwind-merge": "^2.2.2" | ||
}, | ||
"devDependencies": { | ||
"@storybook/addon-essentials": "7.6.3", | ||
"@storybook/addon-interactions": "7.6.3", | ||
"@storybook/addon-links": "7.6.3", | ||
"@storybook/blocks": "7.6.3", | ||
"@storybook/components": "7.6.3", | ||
"@storybook/csf-plugin": "^7.6.3", | ||
"@storybook/nextjs": "7.6.3", | ||
"@storybook/react": "7.6.3", | ||
"@storybook/test": "7.6.3", | ||
"@storybook/theming": "7.6.3", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"cpx": "^1.5.0", | ||
"eslint": "^8", | ||
"eslint-config-next": "14.2.1", | ||
"postcss": "^8", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-tailwindcss": "^0.5.13", | ||
"storybook": "7.6.3", | ||
"storybook-addon-react-docgen": "^1.2.44", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5" | ||
} | ||
} |
Oops, something went wrong.