Skip to content

Commit

Permalink
Add a tab for connected communities
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnsit committed Jun 5, 2023
1 parent 14d8f09 commit 97c0a96
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
39 changes: 39 additions & 0 deletions markdown/communities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## Connected Communities

There are many other sister communities related to FPIndia. The following is a list of some of them. If you run a community on a topic related to functional programming and would like to be added to this list, please [let us know](connect.html).

## Rust

[Rust](https://www.rust-lang.org/) is a blazingly fast, strongly typed, imperative programming language that provides compile time guarantees about memory safety and thread-safety. Rust may be imperative, but its strong static type system and facilities for immutability and concurrency, earn it the badge of an honorary functional programming language!

### Rust India

Connect with the Indian Rust community on the [Rust India Telegram group](https://t.me/RustIndia), or the [Rust India HasGeek page](https://hasgeek.com/rustlangin). They also have a [Rust India Discord](https://discord.gg/p3uaTXS6NP), a [Rust India LinkedIn](https://www.linkedin.com/company/rust-india/), and a [Rust India Twitter](https://twitter.com/rustlangin).

#### Rust Kerala

Rust community for people in the state of Kerala. They have a [Rust Kerala Telegram group](https://t.me/keralars), as well as presence on [Rust Kerala LinkedIn](https://www.linkedin.com/company/kerala-rustaceans/), and [Rust Kerala Twitter](https://twitter.com/rustaceanstvm).

#### Rust Bangalore

There's a Rust community specifically for people within Bangalore. It uses the same community platforms as the umbrella Rust India group.

#### Rust Hyderabad

The Rust community for people in Hyderabad. Join the [Rust Hyderabad Meetup Group](https://www.meetup.com/rust-hyderabad/), or use the same platforms as for Rust India.

#### Rust Delhi

The Rust community specifically for people within Delhi NCR. Join the [Rust Delhi Telegram Group](https://t.me/RustDelhi), or explore [other ways to connect](https://linktr.ee/rustdelhi).

#### Rust Pune

The Rust community for people in Pune. Join the [Rust Pune Meetup Group](https://www.meetup.com/rust-pune), or use the same platforms as for Rust India.

## Elixir

[Elixir](https://elixir-lang.org/) is a dynamically typed functional programming language with immutable data structures.

### Elixir Delhi

Connect with the Delhi Elixir community on the [Elixir Delhi Telegram group](https://t.me/elixirdelhi).
2 changes: 2 additions & 0 deletions src/FPIndia/Route.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data HtmlRoute
= HtmlRoute_Index
| HtmlRoute_Events
| HtmlRoute_ConnectWithUs
| HtmlRoute_Communities
| HtmlRoute_FpJobsInIndia
| HtmlRoute_Resources
deriving stock (Show, Eq, Ord, Generic, Enum, Bounded)
Expand All @@ -25,6 +26,7 @@ deriveIsRoute
'[ FileRoute "index.html"
, FileRoute "events.html"
, FileRoute "connect.html"
, FileRoute "communities.html"
, FileRoute "jobs.html"
, FileRoute "resources.html"
]
Expand Down
2 changes: 2 additions & 0 deletions src/FPIndia/View.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ renderBody rp model r = do
renderMarkdown model "events.md"
HtmlRoute_ConnectWithUs -> do
renderMarkdown model "connect.md"
HtmlRoute_Communities -> do
renderMarkdown model "communities.md"
HtmlRoute_FpJobsInIndia -> do
H.div ! A.class_ "my-4" $ do
H.img ! A.class_ "h-20 m-auto mb-5" ! A.src (staticRouteUrl rp model "underconstruction.svg")
Expand Down
1 change: 1 addition & 0 deletions src/FPIndia/View/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ routeHref rp r = fromString . toString $ Ema.routeUrlWith Ema.UrlPretty rp (Rout
routeTitle :: HtmlRoute -> Text
routeTitle r = case r of
HtmlRoute_ConnectWithUs -> "Connect"
HtmlRoute_Communities -> "Communities"
HtmlRoute_FpJobsInIndia -> "Jobs"
HtmlRoute_Index -> "Home"
HtmlRoute_Events -> "Events"
Expand Down

0 comments on commit 97c0a96

Please sign in to comment.