diff --git a/app/web/src/components/Hero/AssetWithGooey.tsx b/app/web/src/components/Hero/AssetWithGooey.tsx index dc8f83f..3f9b084 100644 --- a/app/web/src/components/Hero/AssetWithGooey.tsx +++ b/app/web/src/components/Hero/AssetWithGooey.tsx @@ -76,8 +76,8 @@ function Gooey() { const z = randomSign(Math.random() * 2) const position: [number, number, number] = [x, z, y] const size = Math.random() * 0.8 + 0.1 - const distort = (size > .1) ? Math.random() * .6 * size + 0.2 : 0 - const speed = (size > .1) ? (Math.random() * 0.8) / size / size + 0.1 : 0 + const distort = size > 0.1 ? Math.random() * 0.6 * size + 0.2 : 0 + const speed = size > 0.1 ? (Math.random() * 0.8) / size / size + 0.1 : 0 return { position, size, distort, speed } }) const secondSet = Array.from({ length: 5 }).map((_, index) => { @@ -87,8 +87,8 @@ function Gooey() { const z = randomSign(Math.random() * 2) const position: [number, number, number] = [x, z, y] const size = Math.random() * 0.2 + 0.05 - const distort = (size > .1) ? Math.random() * .8 * size + 0.2 : 0 - const speed = (size > .1) ? (Math.random() * 0.5) / size / size + 0.1 : 0 + const distort = size > 0.1 ? Math.random() * 0.8 * size + 0.2 : 0 + const speed = size > 0.1 ? (Math.random() * 0.5) / size / size + 0.1 : 0 return { position, size, distort, speed } }) return [...firstSet, ...secondSet] diff --git a/app/web/src/components/IdeSideBar/sidebarConfig.tsx b/app/web/src/components/IdeSideBar/sidebarConfig.tsx index 1ac449b..7b0e3fd 100644 --- a/app/web/src/components/IdeSideBar/sidebarConfig.tsx +++ b/app/web/src/components/IdeSideBar/sidebarConfig.tsx @@ -53,13 +53,14 @@ export const sidebarTopConfig: SidebarConfigType[] = [ ] const DiscordLink = () => ( - - Discord - + + Discord + ) const settingsConfig = [ @@ -74,7 +75,8 @@ const settingsConfig = [
- We're building configuration settings for the Viewer pane now. Join us on
- We're building configuration settings for the Viewer pane now. Join us on
- We're building configuration settings for the Viewer pane now. Join us on
@@ -120,7 +123,7 @@ function MemberSinceField(props : FieldComponentPropsType) {
)
}
-function ImageField(props : FieldComponentPropsType) {
+function ImageField(props: FieldComponentPropsType) {
const { field, user, save, hasPermissionToEdit } = props
return (