From 15684e90dbab838c26c7b491cc26eb057e51c611 Mon Sep 17 00:00:00 2001 From: Roman Grinovski Date: Wed, 20 Sep 2023 08:05:52 +0200 Subject: [PATCH 1/2] make scrollIntoView more smooth (#154) --- src/components/Accordion/Item.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Accordion/Item.tsx b/src/components/Accordion/Item.tsx index f18eeae2..1d478382 100644 --- a/src/components/Accordion/Item.tsx +++ b/src/components/Accordion/Item.tsx @@ -59,7 +59,10 @@ const AccordionItem = ({ if (!detailsRef.current.hasAttribute("open")) { // Push to end of queue to read updated position and scroll to it setTimeout(() => { - detailsRef.current.scrollIntoView({ behavior: "smooth" }); + detailsRef.current.scrollIntoView({ + behavior: "smooth", + block: "nearest", + }); }); } From 5dcddb1f01918a4b1a5f7c7e947fa8c115ca9a52 Mon Sep 17 00:00:00 2001 From: Roman Grinovski Date: Wed, 20 Sep 2023 08:24:14 +0200 Subject: [PATCH 2/2] add link to slack community (#156) --- blog/2023-09-05-the-opentofu-fork-is-now-available.md | 4 ++-- docusaurus.config.js | 2 +- src/components/Footer/index.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blog/2023-09-05-the-opentofu-fork-is-now-available.md b/blog/2023-09-05-the-opentofu-fork-is-now-available.md index 13d53879..4cdc48f4 100644 --- a/blog/2023-09-05-the-opentofu-fork-is-now-available.md +++ b/blog/2023-09-05-the-opentofu-fork-is-now-available.md @@ -28,7 +28,7 @@ A key part of working in the open is making our roadmap open. So here's a quick - **Wait on HashiCorp's response**. We reached out to HashiCorp publicly and privately and requested a response by August 25th. - **Start working on the OpenTofu fork**. With no response from HashiCorp, we created the OpenTofu fork, and started working on it in private. - **Apply to join the Linux Foundation**. We want OpenTofu to be part of an impartial, community-driven foundation, so we submitted all the paperwork to join the Linux Foundation. -- **Open up community Slack discussions**. We created the [OpenTofu Community Slack](https://join.slack.com/t/slack-9uv6202/shared_invite/zt-22ifsm1t2-AF6cL0cOdzivP8E~4deDJA) to give the community a way to have discussions, provide feedback, ask questions, etc. +- **Open up community Slack discussions**. We created the [OpenTofu Community Slack](https://communityinviter.com/apps/opentfcommunity/opentofu) to give the community a way to have discussions, provide feedback, ask questions, etc. - **Prepare the OpenTofu repo for collaboration**. Rename everything to OpenTofu; pick steering committee members; define [contribution guidelines](https://github.com/opentffoundation/opentf/blob/main/CONTRIBUTING.md); get CI / CD and testing working; etc. - **Release the OpenTofu repo**. As per this announcement, we are making the OpenTofu repo public at [github.com/opentffoundation/opentf](https://github.com/opentffoundation/opentf)! @@ -51,7 +51,7 @@ The response from the community so far has been incredible. In just a few weeks, This sort of growth is unprecedented, and we're humbled by all of your support. As per the roadmap in the previous section, we're working hard on getting OpenTofu to the point where we can start doing official releases. -In the meantime, you can follow our progress at [github.com/opentffoundation/opentf](https://github.com/opentffoundation/opentf), contribute to the project by following the [contribution guidelines](https://github.com/opentffoundation/opentf/blob/main/CONTRIBUTING.md), and provide feedback in the [OpenTofu Community Slack](https://join.slack.com/t/slack-9uv6202/shared_invite/zt-22ifsm1t2-AF6cL0cOdzivP8E~4deDJA). We are thrilled to be working with the whole community in making OpenTofu a truly open, community-driven project! +In the meantime, you can follow our progress at [github.com/opentffoundation/opentf](https://github.com/opentffoundation/opentf), contribute to the project by following the [contribution guidelines](https://github.com/opentffoundation/opentf/blob/main/CONTRIBUTING.md), and provide feedback in the [OpenTofu Community Slack](https://communityinviter.com/apps/opentfcommunity/opentofu). We are thrilled to be working with the whole community in making OpenTofu a truly open, community-driven project! ### FAQ diff --git a/docusaurus.config.js b/docusaurus.config.js index 25bd3766..95236715 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -232,7 +232,7 @@ const config = { }, { type: "custom-social-icon-link-navbar-item", - href: "https://join.slack.com/t/slack-9uv6202/shared_invite/zt-22ifsm1t2-AF6cL0cOdzivP8E~4deDJA", + href: "https://communityinviter.com/apps/opentfcommunity/opentofu", position: "right", name: "slack", label: "Join us on Slack", diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 5c68767b..2541bae0 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -58,7 +58,7 @@ export default function Footer({ links }: FooterProps) { />