Update deps and 2.0 page

This commit is contained in:
Sacha Weatherstone 2022-12-28 18:02:41 +11:00
parent 70113989e3
commit c0a9d4056f
3 changed files with 265 additions and 249 deletions

View file

@ -13,20 +13,19 @@
"lint": "eslint src/**/*.{ts,tsx}" "lint": "eslint src/**/*.{ts,tsx}"
}, },
"dependencies": { "dependencies": {
"@algolia/client-search": "^4.14.2", "@algolia/client-search": "^4.14.3",
"@docusaurus/core": "2.2.0", "@docusaurus/core": "2.2.0",
"@docusaurus/plugin-content-docs": "2.2.0", "@docusaurus/plugin-content-docs": "2.2.0",
"@docusaurus/preset-classic": "2.2.0", "@docusaurus/preset-classic": "2.2.0",
"@headlessui/react": "^1.7.5", "@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13", "@heroicons/react": "^2.0.13",
"@leenguyen/react-flip-clock-countdown": "^1.3.1",
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@meshtastic/meshtasticjs": "^0.7.2", "@meshtastic/meshtasticjs": "^0.7.4",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"framer-motion": "^6.5.1", "framer-motion": "^6.5.1",
"postcss": "^8.4.19", "postcss": "^8.4.20",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-icons": "^4.7.1", "react-icons": "^4.7.1",
@ -41,9 +40,9 @@
"@meshtastic/eslint-config": "^1.0.8", "@meshtastic/eslint-config": "^1.0.8",
"@tailwindcss/typography": "^0.5.8", "@tailwindcss/typography": "^0.5.8",
"@tsconfig/docusaurus": "^1.0.6", "@tsconfig/docusaurus": "^1.0.6",
"@types/node": "^18.11.12", "@types/node": "^18.11.18",
"@types/react": "^18.0.26", "@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9", "@types/react-dom": "^18.0.10",
"prettier": "^2.8.1", "prettier": "^2.8.1",
"typescript": "^4.9.4" "typescript": "^4.9.4"
} }

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,3 @@
import '@leenguyen/react-flip-clock-countdown/dist/index.css';
import React from 'react'; import React from 'react';
import { FiTwitter } from 'react-icons/fi'; import { FiTwitter } from 'react-icons/fi';
@ -445,13 +443,9 @@ const TwoPointZero = (): JSX.Element => {
<div className="flex flex-col gap-12"> <div className="flex flex-col gap-12">
<div className="sm:text-center"> <div className="sm:text-center">
<h2 className="text-3xl font-bold tracking-tight text-white sm:text-4xl"> <h2 className="text-3xl font-bold tracking-tight text-white sm:text-4xl">
Countdown to Prize Draw! Congratulations to the winners!
</h2> </h2>
</div> </div>
<FlipClockCountdown
className="m-auto"
to={new Date(2022, 11, 1).getTime()}
/>
</div> </div>
</div> </div>
</div> </div>