Browse Source

ok fast refresh and zeit now

pull/3/head
remorses 11 months ago
parent
commit
a6224e33a5
3 changed files with 11 additions and 4 deletions
  1. +7
    -0
      now.json
  2. +3
    -3
      website/pages/_app.tsx
  3. +1
    -1
      website/pages/demos/segment.tsx

+ 7
- 0
now.json View File

@ -0,0 +1,7 @@
{
"version": 2,
"builds": [
{ "src": "website/next.config.js", "use": "@now/next" }
],
"rewrites": [{ "source": "/(.*)", "destination": "/website/$1" }]
}

+ 3
- 3
website/pages/_app.tsx View File

@ -3,13 +3,13 @@ import { DokzProvider, GithubLink, ColorModeSwitch } from 'dokz/dist'
import React from 'react'
import { useMyColorMode } from 'landing-blocks/src/hooks'
import { Link, Stack, Box, useColorMode } from '@chakra-ui/core'
import { Footer } from 'landing-blocks/src'
import { Footer } from 'landing-blocks/src/Footer'
import { LogoIcon, LogoIconBlack, LogoBlack, LogoWhite } from '../svgs'
import * as LandingStuff from 'landing-blocks/src'
import * as LandingStuff from 'landing-blocks/src/Banner'
import * as chakra from '@chakra-ui/core'
import * as LandingDecorationsStuff from 'landing-blocks/src/decorations'
export default (props) => {
export default function App(props) {
const { Component, pageProps } = props
return (
<DokzProvider

+ 1
- 1
website/pages/demos/segment.tsx View File

@ -43,7 +43,7 @@ const Page = () => (
]}
/>
<Hero
bullet='INTRODUCING segment 2.0'
bullet='Introducing segment 2.0'
dark
image={
<Box minW='600px' position='relative'>

Loading…
Cancel
Save