Skip to content

Commit

Permalink
fix website colors and image sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
maticzav committed Jul 19, 2021
1 parent 27b5440 commit c1546fc
Show file tree
Hide file tree
Showing 7 changed files with 249 additions and 205 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
},
"devDependencies": {
"@types/marked": "^1.2.2",
"@types/prettier": "^2.2.1",
"husky": "^4.3.6",
"marked": "^2.0.0",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1",
"@types/node": "^16.3.3",
"@types/prettier": "^2.3.2",
"husky": "^4.3.8",
"marked": "^2.1.3",
"prettier": "^2.3.2",
"ts-node": "^10.1.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.3.5"
}
}
11 changes: 6 additions & 5 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@
"build": "yarn g:tsc"
},
"dependencies": {
"@types/express": "^4.17.11",
"@types/express": "^4.17.13",
"apollo-server": "^2.25.2",
"apollo-server-express": "^2.25.2",
"express": "^4.17.1",
"graphql-tools": "^7.0.2",
"nexus": "^1.0.0",
"ws": "^7.4.5"
"graphql": "^15.5.1",
"graphql-tools": "^7.0.5",
"nexus": "^1.1.0",
"ws": "^7.5.3"
},
"devDependencies": {
"@types/ws": "^7"
"@types/ws": "^7.4.6"
}
}
1 change: 1 addition & 0 deletions website/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
28 changes: 14 additions & 14 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"@mdx-js/react": "1.6.22",
"@theguild/components": "1.4.5",
"date-fns": "2.22.1",
"esbuild": "0.12.8",
"esbuild": "0.12.15",
"framer-motion": "4.1.17",
"fs-extra": "10.0.0",
"globby": "11.0.3",
"next": "10.2.3",
"next-i18next": "8.4.0",
"globby": "11.0.4",
"next": "11.0.1",
"next-i18next": "8.5.5",
"next-remote-watch": "1.0.0",
"npms.io": "2.0.6",
"prism-themes": "1.7.0",
Expand All @@ -42,22 +42,22 @@
"tiny-lru": "7.0.6",
"undici": "3.3.6",
"use-http": "1.0.21",
"valtio": "1.0.6",
"zustand": "3.5.2"
"valtio": "1.0.7",
"zustand": "3.5.7"
},
"devDependencies": {
"@types/concurrently": "6.2.0",
"@types/fs-extra": "9.0.11",
"@types/mdx-js__react": "1.5.3",
"@types/node": "15.12.2",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.7",
"@types/wait-on": "5.3.0",
"@types/fs-extra": "9.0.12",
"@types/mdx-js__react": "1.5.4",
"@types/node": "15.14.2",
"@types/react": "17.0.14",
"@types/react-dom": "17.0.9",
"@types/wait-on": "5.3.1",
"concurrently": "6.2.0",
"esbuild-register": "2.5.0",
"esbuild-register": "2.6.0",
"open-cli": "6.0.1",
"strict-npm-engines": "0.0.1",
"tsup": "4.11.2",
"tsup": "4.12.5",
"typescript": "4.3.5",
"wait-on": "5.3.0"
}
Expand Down
5 changes: 5 additions & 0 deletions website/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ function AppContent(appProps: AppProps) {
title: 'Start using SwiftGraphQL',
onClick: (e) => handlePushRoute('/docs', e),
}}
ctaProps={{
style: {
background: 'linear-gradient(135.17deg, #F35D41 -7.39%, #FB8950 143.25%);',
},
}}
/>
{isDocs ? <DocsPage accentColor={accentColor} appProps={appProps} mdxRoutes={mdxRoutes} /> : <Component {...pageProps} />}
<Footer />
Expand Down
4 changes: 3 additions & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ export default function Index() {
image={{
src: '/assets/hero.png',
alt: 'Illustration',
}}
imageProps={{
style: {
maxWidth: '34rem',
maxWidth: '35rem',
},
}}
/>
Expand Down
Loading

0 comments on commit c1546fc

Please sign in to comment.