diff --git a/components/button/index.js b/components/button/index.js index 289591b3..40ee121d 100644 --- a/components/button/index.js +++ b/components/button/index.js @@ -2,12 +2,8 @@ import React from "react"; import { StyledButton, StyledButtons } from "@components/button/styled"; -const Icon = ({ icon }) => { - if (icon && icon.includes("http")) { - return ; - } - return null; -}; +const Icon = ({ icon }) => + icon ? : null; const Button = ({ label, children, icon, ...rest }) => { return ( diff --git a/components/download-buttons.js b/components/download-buttons.js index 93fe0cfa..fdb8f5cc 100644 --- a/components/download-buttons.js +++ b/components/download-buttons.js @@ -13,7 +13,7 @@ export const DownloadFeaturette = ({ platform, assetUrl }: OSProps) => { primary label={`Download for ${platform} (beta)`} href={assetUrl} - icon="https://nteract.github.io/assets/images/icon-nteract-download.svg" + icon="/static/icon_nteract_download.svg" /> diff --git a/components/footer/index.js b/components/footer/index.js index 7afda075..7dbd5f5a 100644 --- a/components/footer/index.js +++ b/components/footer/index.js @@ -10,7 +10,7 @@ const Footer = props => ( NumFocus diff --git a/components/head/index.js b/components/head/index.js index 8f6f7d12..51e67910 100644 --- a/components/head/index.js +++ b/components/head/index.js @@ -21,91 +21,84 @@ export default ({ - - + - + @@ -128,10 +121,7 @@ export default ({ property="og:title" content="Take your computing experience to the next level." /> - + - + diff --git a/components/header/index.js b/components/header/index.js index 034e0150..169ca7e2 100644 --- a/components/header/index.js +++ b/components/header/index.js @@ -129,7 +129,7 @@ class Header extends React.PureComponent { nteract diff --git a/components/page-header/styled/index.js b/components/page-header/styled/index.js index ea608784..b3115686 100644 --- a/components/page-header/styled/index.js +++ b/components/page-header/styled/index.js @@ -20,7 +20,7 @@ const Left = styled.div``; const Right = styled.div``; const PageHeader = styled.div` background-color: transparent; -background-image: url(https://nteract.github.io/assets/images/hero_header_bg@2x.png); +background-image: url(/static/hero_header_bg@2x.png); background-position: top center; background-attachment: fixed; background-size: ${spacing.globalWidth + 200}px; diff --git a/pages/index.js b/pages/index.js index 267c2bc3..b11cf3ef 100644 --- a/pages/index.js +++ b/pages/index.js @@ -12,20 +12,14 @@ import type { Context } from "next"; const DemoVideo = () => ( ); @@ -83,7 +77,7 @@ class Home extends React.Component { interactivity @@ -103,7 +97,7 @@ class Home extends React.Component { Composability @@ -121,7 +115,7 @@ class Home extends React.Component { Composability diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index c26ae9e9..00000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/feature_nteract_composable@2x.png b/static/feature_nteract_composable@2x.png new file mode 100755 index 00000000..ad7d1e0c Binary files /dev/null and b/static/feature_nteract_composable@2x.png differ diff --git a/static/feature_nteract_desktop@2x.png b/static/feature_nteract_desktop@2x.png new file mode 100755 index 00000000..6f0281a6 Binary files /dev/null and b/static/feature_nteract_desktop@2x.png differ diff --git a/static/feature_nteract_logo_header_white@2x.png b/static/feature_nteract_logo_header_white@2x.png new file mode 100755 index 00000000..d7d74a3c Binary files /dev/null and b/static/feature_nteract_logo_header_white@2x.png differ diff --git a/static/feature_nteract_open_to_all@2x.png b/static/feature_nteract_open_to_all@2x.png new file mode 100755 index 00000000..b2e82e8f Binary files /dev/null and b/static/feature_nteract_open_to_all@2x.png differ diff --git a/static/hero_header_bg@2x.png b/static/hero_header_bg@2x.png new file mode 100755 index 00000000..12e5cc4b Binary files /dev/null and b/static/hero_header_bg@2x.png differ diff --git a/static/icon_nteract_download.svg b/static/icon_nteract_download.svg new file mode 100755 index 00000000..105af687 --- /dev/null +++ b/static/icon_nteract_download.svg @@ -0,0 +1,41 @@ + + + + icon_nteract_download + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/icons/android-icon-144x144.png b/static/icons/android-icon-144x144.png new file mode 100755 index 00000000..f33001b2 Binary files /dev/null and b/static/icons/android-icon-144x144.png differ diff --git a/static/icons/android-icon-192x192.png b/static/icons/android-icon-192x192.png new file mode 100755 index 00000000..4dee1015 Binary files /dev/null and b/static/icons/android-icon-192x192.png differ diff --git a/static/icons/android-icon-36x36.png b/static/icons/android-icon-36x36.png new file mode 100755 index 00000000..3df9c19e Binary files /dev/null and b/static/icons/android-icon-36x36.png differ diff --git a/static/icons/android-icon-48x48.png b/static/icons/android-icon-48x48.png new file mode 100755 index 00000000..b331996d Binary files /dev/null and b/static/icons/android-icon-48x48.png differ diff --git a/static/icons/android-icon-72x72.png b/static/icons/android-icon-72x72.png new file mode 100755 index 00000000..81294b3c Binary files /dev/null and b/static/icons/android-icon-72x72.png differ diff --git a/static/icons/android-icon-96x96.png b/static/icons/android-icon-96x96.png new file mode 100755 index 00000000..3ce3c885 Binary files /dev/null and b/static/icons/android-icon-96x96.png differ diff --git a/static/icons/apple-icon-114x114.png b/static/icons/apple-icon-114x114.png new file mode 100755 index 00000000..b042a3eb Binary files /dev/null and b/static/icons/apple-icon-114x114.png differ diff --git a/static/icons/apple-icon-120x120.png b/static/icons/apple-icon-120x120.png new file mode 100755 index 00000000..767792e5 Binary files /dev/null and b/static/icons/apple-icon-120x120.png differ diff --git a/static/icons/apple-icon-144x144.png b/static/icons/apple-icon-144x144.png new file mode 100755 index 00000000..f33001b2 Binary files /dev/null and b/static/icons/apple-icon-144x144.png differ diff --git a/static/icons/apple-icon-152x152.png b/static/icons/apple-icon-152x152.png new file mode 100755 index 00000000..72fc66aa Binary files /dev/null and b/static/icons/apple-icon-152x152.png differ diff --git a/static/icons/apple-icon-180x180.png b/static/icons/apple-icon-180x180.png new file mode 100755 index 00000000..b4231369 Binary files /dev/null and b/static/icons/apple-icon-180x180.png differ diff --git a/static/icons/apple-icon-57x57.png b/static/icons/apple-icon-57x57.png new file mode 100755 index 00000000..bfb7a0f2 Binary files /dev/null and b/static/icons/apple-icon-57x57.png differ diff --git a/static/icons/apple-icon-60x60.png b/static/icons/apple-icon-60x60.png new file mode 100755 index 00000000..79d7da45 Binary files /dev/null and b/static/icons/apple-icon-60x60.png differ diff --git a/static/icons/apple-icon-72x72.png b/static/icons/apple-icon-72x72.png new file mode 100755 index 00000000..81294b3c Binary files /dev/null and b/static/icons/apple-icon-72x72.png differ diff --git a/static/icons/apple-icon-76x76.png b/static/icons/apple-icon-76x76.png new file mode 100755 index 00000000..290197fb Binary files /dev/null and b/static/icons/apple-icon-76x76.png differ diff --git a/static/icons/favicon-16x16.png b/static/icons/favicon-16x16.png new file mode 100755 index 00000000..f6e82152 Binary files /dev/null and b/static/icons/favicon-16x16.png differ diff --git a/static/icons/favicon-32x32.png b/static/icons/favicon-32x32.png new file mode 100755 index 00000000..f95ba7b5 Binary files /dev/null and b/static/icons/favicon-32x32.png differ diff --git a/static/icons/favicon-96x96.png b/static/icons/favicon-96x96.png new file mode 100755 index 00000000..3ce3c885 Binary files /dev/null and b/static/icons/favicon-96x96.png differ diff --git a/static/icons/favicon.ico b/static/icons/favicon.ico new file mode 100755 index 00000000..754612c5 Binary files /dev/null and b/static/icons/favicon.ico differ diff --git a/static/icons/manifest.json b/static/icons/manifest.json new file mode 100755 index 00000000..013d4a6a --- /dev/null +++ b/static/icons/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/static/icons/ms-icon-144x144.png b/static/icons/ms-icon-144x144.png new file mode 100755 index 00000000..f33001b2 Binary files /dev/null and b/static/icons/ms-icon-144x144.png differ diff --git a/static/nteract_app_demo@2x.mp4 b/static/nteract_app_demo@2x.mp4 new file mode 100755 index 00000000..4fd8ccb9 Binary files /dev/null and b/static/nteract_app_demo@2x.mp4 differ diff --git a/static/nteract_app_demo@2x.png b/static/nteract_app_demo@2x.png new file mode 100755 index 00000000..00b641cb Binary files /dev/null and b/static/nteract_app_demo@2x.png differ diff --git a/static/nteract_app_demo@2x.webm b/static/nteract_app_demo@2x.webm new file mode 100755 index 00000000..bace29fe Binary files /dev/null and b/static/nteract_app_demo@2x.webm differ diff --git a/static/opengraph.png b/static/opengraph.png new file mode 100755 index 00000000..d2cb64e5 Binary files /dev/null and b/static/opengraph.png differ diff --git a/static/sponsor-numfocus.png b/static/sponsor-numfocus.png new file mode 100755 index 00000000..a16aafb5 Binary files /dev/null and b/static/sponsor-numfocus.png differ