Skip to content

Commit e3cec5b

Browse files
kathywkleeEliasValwebbertakkenAndrewKahrGabLeRoux
authored
Fix issues found when upgrading homepage (#457)
* Upgrade Homepage (#412) * chore: upgrade docusaurus / fix deprecations * chore: upgrade docusaurus / fix deprecations * feat: introduce v3 * chore: upgrade node in ci * Reconcile v2 and v3 docs with latest unity builder changes. Remove parameters not available in v2 from v2 docs. * Remove parameters and outputs from v2.2.0-pre * Update version tags to align with new version * chore: upgrade docusaurus tsconfig * chore: import/order * fix: unresolved import * chore: versions as client-side block * fix: firebase resolution * Re-enable sections, Prettier readme, use LF line endings * Upgraded getting-started.tsx - Upgraded getting-started.tsx to use company SVGs instead of text - Moved getting-started.tsx section up - Updated node16 references to node18 in .md files * Revamped versions page * INCOMPLETE: Changed out Ant's table * Starting Section Rework - Reworked Starting/Opening Section - Began Working on pricing calculator - Changed JSX.Element (dep.) -> React.JSX.Element * Created tooltip component - Created tooltip.tsx - Centered VSC buttons in Getting Started * Devs that chose us section - Moved GH, GL, CCI SVGs to /static/assets/images/icons - 'Finished' Devs that chose us section (more logos needed) - Reintroduced '.vscode' directory from .gitignore to support @apply rule * Docker versions progress - Finished expandable menu - Only left to implement a Tooltip and DockerImageLinkOrRetryButton (will leave this one to webber) * Tooltip & Docker Table finished * pricing section * disabled unused sections * resolved requests --------- Co-authored-by: Webber <webber@takken.io> Co-authored-by: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Co-authored-by: Gabriel Le Breton <lebreton.gabriel@gmail.com> * Fix deparated error * Fix logo issue in light mode and update HTML tag structure * Update HTML tag in dev section * Fix pricing section color and class name typo * Update css and optimize logo * Improve quality * Update code --------- Co-authored-by: Elias <46247153+EliasVal@users.noreply.github.com> Co-authored-by: Webber <webber@takken.io> Co-authored-by: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Co-authored-by: Gabriel Le Breton <lebreton.gabriel@gmail.com>
1 parent 57c4c9c commit e3cec5b

35 files changed

+667
-359
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ yarn-error.log*
3535
/.idea/*
3636
!/.idea/documentation.iml
3737
!/.idea/prettier.xml
38-
.vscode
38+
39+
# Reintroducing to add TailwindCSS @include rule
40+
# .vscode
3941

.vscode/extensions.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"recommendations": [
3+
"aaron-bond.better-comments",
4+
"dbaeumer.vscode-eslint",
5+
"dsznajder.es7-react-js-snippets",
6+
"zignd.html-css-class-completion",
7+
"ms-vscode.vscode-typescript-next",
8+
"csstools.postcss",
9+
"esbenp.prettier-vscode",
10+
"bradlc.vscode-tailwindcss",
11+
"wix.vscode-import-cost"
12+
]
13+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"css.customData": [".vscode/tailwind.json"]
3+
}

.vscode/tailwind.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"version": 1.1,
3+
"atDirectives": [
4+
{
5+
"name": "@tailwind",
6+
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
7+
"references": [
8+
{
9+
"name": "Tailwind Documentation",
10+
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
11+
}
12+
]
13+
},
14+
{
15+
"name": "@apply",
16+
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
17+
"references": [
18+
{
19+
"name": "Tailwind Documentation",
20+
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
21+
}
22+
]
23+
},
24+
{
25+
"name": "@responsive",
26+
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
27+
"references": [
28+
{
29+
"name": "Tailwind Documentation",
30+
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
31+
}
32+
]
33+
},
34+
{
35+
"name": "@screen",
36+
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
37+
"references": [
38+
{
39+
"name": "Tailwind Documentation",
40+
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
41+
}
42+
]
43+
},
44+
{
45+
"name": "@variants",
46+
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
47+
"references": [
48+
{
49+
"name": "Tailwind Documentation",
50+
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
51+
}
52+
]
53+
}
54+
]
55+
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When fixing a bug it is fine to submit a pull request right away.
1818

1919
You need the following tools to be installed.
2020

21-
- [Node](https://nodejs.org/) installed at v16.X.
21+
- [NodeJS](https://nodejs.org/) installed at v18.X.
2222
- [Yarn](https://yarnpkg.com/) at v1.22.4+.
2323

2424
> **Tip:** _Use [nvm](https://github.com/nvm-sh/nvm) or [n](https://github.com/tj/n) or

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ You may also view the markdown files directly at the following links:
3333

3434
## Building the Docs Site
3535

36-
Built with [Docusaurus 2.](https://docusaurus.io/)
36+
Built with [Docusaurus 2](https://docusaurus.io/).
3737

3838
This project has a hard dependency on Node16. You will need to make sure that you have the proper
3939
version of node installed to avoid errors.
4040

41-
- [Install Node16 on Ubuntu](https://joshtronic.com/2021/05/09/how-to-install-nodejs-16-on-ubuntu-2004-lts/)
42-
- [Install Node16 using brew](https://apple.stackexchange.com/a/207883)
41+
- [Install NodeJS v18 on Ubuntu](https://joshtronic.com/2022/04/24/how-to-install-nodejs-18-on-ubuntu-2004-lts/)
42+
- [Install NodeJS v18 using brew](https://apple.stackexchange.com/a/207883)
4343

4444
This project relies on yarn for package management. You will need to install yarn in order to build
4545
and test the documentation site.

src/components/auth/safe-auth-check.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ export function SafeClaimsCheck({ user, fallback, children, requiredClaims }: Cl
2323
}
2424

2525
// Apply fix while this is not merged https://github.com/FirebaseExtended/reactfire/pull/336
26-
export function SafeAuthCheck({ fallback, children, requiredClaims }: AuthCheckProps): JSX.Element {
26+
export function SafeAuthCheck({
27+
fallback,
28+
children,
29+
requiredClaims,
30+
}: AuthCheckProps): React.JSX.Element {
2731
const { data: user } = useUser<firebase.User>();
2832

2933
if (user) {

src/components/docs/versions/build-failure-details.tsx

Lines changed: 0 additions & 93 deletions
This file was deleted.

src/components/docs/versions/builds.module.scss

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/components/docs/versions/builds.tsx

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)