Update deps & fix typp

This commit is contained in:
Sacha Weatherstone 2022-07-31 15:32:53 +10:00
parent 28d33d09a7
commit a3cd98a916
3 changed files with 1536 additions and 1334 deletions

View file

@ -13,34 +13,34 @@
"lint": "eslint src/**/*.{ts,tsx}"
},
"dependencies": {
"@algolia/client-search": "^4.13.1",
"@docusaurus/core": "2.0.0-beta.21",
"@docusaurus/plugin-content-docs": "2.0.0-beta.21",
"@docusaurus/preset-classic": "2.0.0-beta.21",
"@headlessui/react": "^1.6.4",
"@algolia/client-search": "^4.14.2",
"@docusaurus/core": "2.0.0-rc.1",
"@docusaurus/plugin-content-docs": "2.0.0-rc.1",
"@docusaurus/preset-classic": "2.0.0-rc.1",
"@headlessui/react": "^1.6.6",
"@mdx-js/react": "^1.6.22",
"autoprefixer": "^10.4.7",
"autoprefixer": "^10.4.8",
"dotenv": "^16.0.1",
"framer-motion": "^6.3.11",
"framer-motion": "^6.5.1",
"postcss": "^8.4.14",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.4.0",
"react-responsive-carousel": "^3.2.23",
"react-spring": "^9.4.5",
"react-spring": "^9.5.2",
"swr": "^1.3.0",
"tailwindcss": "^3.1.3",
"tailwindcss": "^3.1.7",
"url-search-params-polyfill": "^8.1.1",
"use-breakpoint": "^3.0.3"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.21",
"@docusaurus/module-type-aliases": "2.0.0-rc.1",
"@meshtastic/eslint-config": "^1.0.8",
"@tailwindcss/typography": "^0.5.2",
"@tailwindcss/typography": "^0.5.4",
"@tsconfig/docusaurus": "^1.0.6",
"@types/node": "^18.0.0",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/node": "^18.6.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/w3c-web-serial": "^1.0.2",
"prettier": "^2.7.1",
"typescript": "^4.7.4"

File diff suppressed because it is too large Load diff

View file

@ -55,7 +55,7 @@ const features = [
<>
Create a highly scalable mesh with hardware on a multitude of platforms
to fit your unique requirements: Create an environment monitoring mesh
and produce real-time heatmaps, or maybe decentralised, encrypted
and produce real-time heatmaps, or maybe decentralized, encrypted
messaging network, your imagination is the limit.
</>
),
@ -183,13 +183,13 @@ function Home() {
{features.map((feature, index) => (
<div key={index} className="flex p-12">
<div className="w-1/2">
<img
className="my-auto h-40"
src={feature.imageUrl}
alt={feature.title}
/>
<img
className="my-auto h-40"
src={feature.imageUrl}
alt={feature.title}
/>
</div>
<div className="my-auto w-1/2" >
<div className="my-auto w-1/2">
<h3 className="text-xl font-medium">{feature.title}</h3>
<p>{feature.description}</p>
</div>
@ -197,7 +197,7 @@ function Home() {
))}
</Carousel>
<div className="flex w-full flex-col gap-4 bg-primaryDark p-4 shadow-inner mx-auto w-auto">
<div className="bg-primaryDark mx-auto flex w-full w-auto flex-col gap-4 p-4 shadow-inner">
<h3 className="text-xl font-bold">Connect with us.</h3>
<div className="flex w-full overflow-x-auto">
{SocialCards.map((card, index) => (
@ -208,7 +208,7 @@ function Home() {
</div>
</div>
<div className="container flex flex-col mx-auto w-auto">
<div className="container mx-auto flex w-auto flex-col">
<h2 className="mb-2 text-xl font-medium">
Getting started with Meshtastic is as easy as 1, 2, 3!
</h2>