Skip to content

Commit

Permalink
Merge pull request #983 from ChainSafe/dev
Browse files Browse the repository at this point in the history
Release latest to Staging
  • Loading branch information
FSM1 authored Apr 26, 2021
2 parents ef657f1 + 056889d commit c60b181
Show file tree
Hide file tree
Showing 42 changed files with 861 additions and 1,174 deletions.
47 changes: 0 additions & 47 deletions packages/common-components/src/Helpers/Dates.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/common-components/src/Helpers/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./Dates"
export * from "./StringFormatters"
1 change: 1 addition & 0 deletions packages/files-landing-page/.linguirc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"exclude": ["**/node_modules/**", "<rootdir>/src/locales/**"]
}],
"compileNamespace": "cjs",
"format": "po",
"formatOptions": {
"origins": false
},
Expand Down
5 changes: 3 additions & 2 deletions packages/files-landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"dependencies": {
"@babel/core": "^7.12.10",
"@craco/craco": "^5.9.0",
"@lingui/react": "^3.7.2",
"@lingui/core": "^3.7.2",
"@lingui/react": "^3.7.2",
"@material-ui/styles": "^4.11.2",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
Expand All @@ -19,6 +19,7 @@
"babel-plugin-macros": "^2.8.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"clsx": "^1.1.1",
"formik": "2.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down Expand Up @@ -53,8 +54,8 @@
]
},
"devDependencies": {
"@lingui/cli": "^3.7.2",
"@lingui/babel-preset-react": "^2.9.2",
"@lingui/cli": "^3.7.2",
"@lingui/macro": "3.7.2"
}
}
Binary file not shown.
Binary file not shown.
Binary file removed packages/files-landing-page/public/assets/box.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed packages/files-landing-page/public/assets/mockup.png
Binary file not shown.
Binary file removed packages/files-landing-page/public/assets/phone.png
Binary file not shown.
Binary file removed packages/files-landing-page/public/assets/why.png
Binary file not shown.
Binary file added packages/files-landing-page/public/csf_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed packages/files-landing-page/public/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/files-landing-page/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/ChainSafe_Logo.png" />
<link rel="icon" href="%PUBLIC_URL%/csf_logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="ChainSafe Files - Decentralized Cloud Storage for Everyone" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/ChainSafe_Logo.png" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/csf_logo.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand Down
34 changes: 30 additions & 4 deletions packages/files-landing-page/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,43 @@ import React from "react"
import { ThemeProvider, createTheme } from "@chainsafe/common-theme"
import { LanguageProvider } from "./LanguageContext"
import { CssBaseline, Router } from "@chainsafe/common-components"
import "@chainsafe/common-theme/dist/font-faces.css"
import Routes from "./Components/Routes"

const theme = createTheme({
globalStyling: {
body: {
color: "#fafafa",
},
a: {
color: "#fafafa",
backgroundColor: "#fafafa",
},
},
themeConfig: {
palette: {
primary: {
main: "#5165DC",
}
},
constants: {
headerHeight: 70,
},
typography: {
h1: {
fontSize: "72px",
lineHeight: "80px",
},
h2: {
fontSize: "48px",
lineHeight: "56px",
},
h3: {
fontSize: "30px",
lineHeight: "38px",
},
h4: {
fontSize: "24px",
lineHeight: "28px"
}
}
}
})

const App: React.FC<{}> = () => {
Expand Down
Loading

0 comments on commit c60b181

Please sign in to comment.