From 01bfad2dc8ae40f857f58b40345f5ce29cb8b390 Mon Sep 17 00:00:00 2001 From: Yuri Teplyakov Date: Mon, 30 May 2022 13:18:20 +0300 Subject: [PATCH] ktl-737 feat: community page adjustments --- .../community-banner.module.css | 8 +- .../event-list/event-list.module.css | 26 +- .../event-list/mode-select.module.css | 7 + .../keep-in-touch-card.module.css | 11 +- .../community/kugs-list/kugs-list.module.css | 2 +- blocks/community/kugs-list/kugs-list.tsx | 83 ++-- data/user-groups.yml | 357 +++++++++--------- pages/community/index.tsx | 149 ++++---- pages/community/user-groups/index.tsx | 24 +- 9 files changed, 336 insertions(+), 331 deletions(-) diff --git a/blocks/community/community-banner/community-banner.module.css b/blocks/community/community-banner/community-banner.module.css index 9bedecc75ae..2e12fe158c3 100644 --- a/blocks/community/community-banner/community-banner.module.css +++ b/blocks/community/community-banner/community-banner.module.css @@ -4,7 +4,7 @@ } .text { - margin-top: 32px; + margin-top: 48px; } .image { @@ -18,6 +18,10 @@ } @media (min-width: 1280px) { + .content { + margin: 96px 0 108px; + } + .banner { position: relative; } @@ -27,6 +31,6 @@ display: block; width: 640px; right: 0; - top: -32px; + top: -64px; } } diff --git a/blocks/community/event-list/event-list.module.css b/blocks/community/event-list/event-list.module.css index 1cd5f8ac128..c7069591397 100644 --- a/blocks/community/event-list/event-list.module.css +++ b/blocks/community/event-list/event-list.module.css @@ -7,13 +7,9 @@ margin-top: 16px; } -.selects { - display: none; -} - -.selectEnd { - margin-left: 32px; -} +/*.selects {*/ +/* display: none;*/ +/*}*/ .list { display: grid; @@ -21,6 +17,18 @@ margin-top: 32px; } +@media (max-width: 767px) { + .selects { + margin-top: 24px; + display: flex; + flex-direction: column; + } + + .selectEnd { + margin-top: 24px; + } +} + @media (min-width: 768px) { .wrapper { @@ -42,6 +50,10 @@ display: flex; align-items: center; } + + .selectEnd { + margin-left: 32px; + } } @media (min-width: 1200px) { .list { diff --git a/blocks/community/event-list/mode-select.module.css b/blocks/community/event-list/mode-select.module.css index 8832ed261c5..3b942d02259 100644 --- a/blocks/community/event-list/mode-select.module.css +++ b/blocks/community/event-list/mode-select.module.css @@ -1,10 +1,17 @@ .wrapper { display: flex; align-items: center; + justify-content: space-between; } .button { padding-left: 12px; padding-right: 12px; margin-left: 4px; +} + +@media (min-width: 768px) { + .wrapper { + justify-content: flex-start; + } } \ No newline at end of file diff --git a/blocks/community/keep-in-touch-card/keep-in-touch-card.module.css b/blocks/community/keep-in-touch-card/keep-in-touch-card.module.css index 77f01f6df12..3e336b8a63e 100644 --- a/blocks/community/keep-in-touch-card/keep-in-touch-card.module.css +++ b/blocks/community/keep-in-touch-card/keep-in-touch-card.module.css @@ -1,5 +1,5 @@ .card { - min-height: 170px; + min-height: 156px; } .wrapper { @@ -27,11 +27,4 @@ font-size: 16px; line-height: 24px; } -} - - -@media (min-width: 768px) { - .card { - min-height: 240px; - } -} +} \ No newline at end of file diff --git a/blocks/community/kugs-list/kugs-list.module.css b/blocks/community/kugs-list/kugs-list.module.css index 137a6e2a1bb..aeeb8577996 100644 --- a/blocks/community/kugs-list/kugs-list.module.css +++ b/blocks/community/kugs-list/kugs-list.module.css @@ -64,7 +64,7 @@ @media (min-width: 1024px) { .countriesList { - column-count: 6; + column-count: 5; } .title { diff --git a/blocks/community/kugs-list/kugs-list.tsx b/blocks/community/kugs-list/kugs-list.tsx index 91dabdb3d11..a4400aec4ab 100644 --- a/blocks/community/kugs-list/kugs-list.tsx +++ b/blocks/community/kugs-list/kugs-list.tsx @@ -1,76 +1,72 @@ -import React, {FC, useMemo} from "react"; +import React, { FC, useMemo } from 'react'; import classnames from 'classnames'; -import kugsLogo from "../../../public/images/community/kugs-logo.svg" +import kugsLogo from '../../../public/images/community/kugs-logo.svg'; import styles from './kugs-list.module.css'; -import {Svg} from 'react-optimized-image'; +import { Svg } from 'react-optimized-image'; interface KugsListProps { - userGroupData: UserGroupsData + userGroupData: UserGroupsData; } -export const KugsList: FC = ({userGroupData}) => { - +export const KugsList: FC = ({ userGroupData }) => { const countUserGroups = useMemo(() => { - let counter = 0 - userGroupData.forEach(group => counter += group.groups.length) - return counter + let counter = 0; + userGroupData.forEach((group) => (counter += group.groups.length)); + return counter; }, [userGroupData]); const userGroupsByRegion = useMemo(() => { - const sortedUserGroupsByRegion = [] - - userGroupData.forEach(group => { + const sortedUserGroupsByRegion = []; + userGroupData.forEach((group) => { const uniqueRegions = new Set(); - group.groups.forEach(item => uniqueRegions.add(item.country)) - const sortedUniqueRegions = Array.from(uniqueRegions).sort() + group.groups.forEach((item) => uniqueRegions.add(item.country)); + const sortedUniqueRegions = Array.from(uniqueRegions).sort(); - const regionWithCountries = sortedUniqueRegions.map(region => ( - { - name: region, - cities: group.groups.filter(groupItem => groupItem.country === region) - } - )) + const regionWithCountries = sortedUniqueRegions.map((region) => ({ + name: region, + cities: group.groups.filter((groupItem) => groupItem.country === region), + })); sortedUserGroupsByRegion.push({ name: group.section, - countries: regionWithCountries - }) - }) + countries: regionWithCountries, + }); + }); return sortedUserGroupsByRegion; - }, [userGroupData]) + }, [userGroupData]); // If there are more than 6 cities in a country, allow to break the list to the next column // If cities list is large, it should start on the new column - const countryClassName = (country) => classnames( - styles.countrySingle, country.cities.length > 6 && styles.canBreak, country.cities.length > 12 && styles.newColumn - ) + const countryClassName = (country) => + classnames( + styles.countrySingle, + country.cities.length > 6 && styles.canBreak, + country.cities.length > 12 && styles.newColumn + ); return (
-

+

{countUserGroups} KUGs around the world

    - {userGroupsByRegion.map(region => ( + {userGroupsByRegion.map((region) => (
  • -

    - {region.name} -

    +

    {region.name}

      - {region.countries.map(country => ( -
    • -

      - {country.name} -

      -
        - {country.cities.map(city => ( + {region.countries.map((country) => ( +
      • +

        {country.name}

        +
          + {country.cities.map((city) => (
        • - {city.name} @@ -83,7 +79,6 @@ export const KugsList: FC = ({userGroupData}) => {
        • ))}
        -
); }; diff --git a/data/user-groups.yml b/data/user-groups.yml index 502af62b024..205f8827118 100644 --- a/data/user-groups.yml +++ b/data/user-groups.yml @@ -1,20 +1,20 @@ - section: Virtual anchorId: virtual groups: - - name: Virtual Kotlin User Group + - name: Virtual KUG country: International url: https://www.meetup.com/Virtual-Kotlin-User-Group/ isVirtual: true - section: Europe anchorId: europe groups: - - name: Amsterdam Kotlin User Group + - name: Amsterdam KUG country: Netherlands url: https://www.meetup.com/kotlin-amsterdam/ position: lat: 52.3675734 lng: 4.9041389 - - name: Athens Kotlin User Group + - name: Athens KUG country: Greece url: https://www.meetup.com/Kotlin-Athens/ position: @@ -26,193 +26,193 @@ position: lat: 41.3850639 lng: 2.1734035 - - name: Basel Kotlin User Group + - name: Basel KUG country: Switzerland url: https://www.meetup.com/Kotlin-User-Group-Basel/ position: lat: 47.5595986 lng: 7.5885761 - - name: Belarus Kotlin User Group + - name: Belarus KUG country: Belarus url: https://bkug.by/ position: lat: 53.709807 lng: 27.953389 - - name: Belfast Kotlin User Group + - name: Belfast KUG country: United Kingdom url: https://www.meetup.com/kotlin-belfast/ position: lat: 54.597285 lng: -5.93012 - - name: Berlin Kotlin User Group + - name: Berlin KUG country: Germany url: https://www.meetup.com/kotlin-berlin/ position: lat: 52.5200066 lng: 13.404954 - - name: Bielefelder Kotlin User Group + - name: Bielefelder KUG country: Germany url: https://www.meetup.com/Bielefelder-Kotlin-User-Group/ position: lat: 52.0302285 lng: 8.5324708 - - name: Bologna Kotlin User Group + - name: Bologna KUG country: Italy url: https://www.facebook.com/Kotlin-User-Group-Bologna-111446750450756/ position: lat: 44.494887 lng: 11.3426163 - - name: Bosnia Kotlin User Group + - name: Bosnia KUG country: Bosnia and Herzegovina url: https://www.facebook.com/kotlinugbosnia position: lat: 43.915886 lng: 17.679076 - - name: Brighton Kotlin User Group + - name: Brighton KUG country: United Kingdom url: https://www.meetup.com/Brighton-Kotlin/ position: lat: 50.82253 lng: -0.137163 - - name: Brussels Kotlin User Group + - name: Brussels KUG country: Belgium url: https://www.meetup.com/brussels-kotlin-user-group/ position: lat: 50.8503396 lng: 4.3517103 - - name: Bucharest Kotlin User Group + - name: Bucharest KUG country: Romania url: https://www.meetup.com/kug-bucharest/ position: lat: 44.4267674 lng: 26.1025384 - - name: Budapest Kotlin User Group + - name: Budapest KUG country: Hungary url: https://www.facebook.com/groups/KotlinBudapest/ position: lat: 47.497912 lng: 19.040235 - - name: Bulgarian Kotlin User Group + - name: Bulgarian KUG country: Bulgaria url: https://bg-kug.github.io/ position: lat: 42.733883 lng: 25.48583 - - name: Cologne Kotlin User Group + - name: Cologne KUG country: Germany url: https://www.meetup.com/Kotlin-User-Group-Cologne/?from=ref position: lat: 50.937531 lng: 6.9602786 - - name: Cosenza Kotlin User Group + - name: Cosenza KUG country: Italy url: https://www.facebook.com/groups/251720265392355/ position: lat: 39.3048613 lng: 16.217289 - - name: Croatia Kotlin User Group + - name: Croatia KUG country: Croatia url: https://www.meetup.com/Croatia-Kotlin-User-Group-Meetup/ position: lat: 45.1 lng: 15.2 - - name: Czech Kotlin User Group + - name: Czech KUG country: Czech Republic url: https://www.facebook.com/czkug/ position: lat: 49.817492 lng: 15.472962 - - name: Dnipro Kotlin User Group + - name: Dnipro KUG country: Ukraine url: https://www.meetup.com/Kotlin-Dnipro/ position: lat: 48.464717 lng: 35.046183 - - name: Dobrich Kotlin User Group + - name: Dobrich KUG country: Bulgaria url: https://www.facebook.com/groups/156178639762762/ position: lat: 43.57259 lng: 27.8272606 - - name: Dublin Kotlin User Group + - name: Dublin KUG country: Ireland url: https://www.meetup.com/Dublin-Kotlin-Meetup/ position: lat: 53.3498053 lng: -6.2603097 - - name: Dusseldorf Kotlin User Group + - name: Dusseldorf KUG country: Germany url: https://www.meetup.com/Dusseldorf-Kotlin-Meetup/ position: lat: 51.2277411 lng: 6.7734556 - - name: Dutch Kotlin User Group + - name: Dutch KUG country: Netherlands url: https://kotlin.nl/ position: lat: 52.132633 lng: 5.291266 - - name: Edinburgh Kotlin User Group + - name: Edinburgh KUG country: United Kingdom url: https://twitter.com/edi_kug position: lat: 55.953252 lng: -3.188267 - - name: Estonia Kotlin User Group + - name: Estonia KUG country: Estonia url: https://www.facebook.com/groups/estoniaKotlin/ position: lat: 58.595272 lng: 25.013607 - - name: Hamburg Kotlin User Group + - name: Hamburg KUG country: Germany url: https://www.meetup.com/de-DE/Kotlin-User-Group-Hamburg/ position: lat: 53.5510846 lng: 9.9936818 - - name: Helsinki Kotlin User Group + - name: Helsinki KUG country: Finland url: https://www.meetup.com/Kotlin-User-Group-Helsinki/?from=ref position: lat: 60.1698557 lng: 24.938379 - - name: Italy Kotlin User Group + - name: Italy KUG country: Italy url: https://www.facebook.com/groups/kotlinitaly/ position: lat: 41.87194 lng: 12.56738 - - name: Karlsruhe Kotlin User Group + - name: Karlsruhe KUG country: Germany url: https://www.meetup.com/Karlsruhe-Software-Development-Meetup/ position: lat: 49.0068901 lng: 8.4036527 - - name: Kassel Kotlin User Group + - name: Kassel KUG country: Germany url: https://www.meetup.com/Kassel-Kotlin-User-Group/ position: lat: 51.3127114 lng: 9.4797461 - - name: Kyiv Kotlin User Group + - name: Kyiv KUG country: Ukraine url: https://www.facebook.com/groups/KyivKUG/ position: lat: 50.4501 lng: 30.5234 - - name: Krakow Kotlin User Group + - name: Krakow KUG country: Poland url: https://www.meetup.com/krakow-kotlin/ position: lat: 50.0646501 lng: 19.9449799 - - name: Leeds Kotlin User Group + - name: Leeds KUG country: United Kingdom url: https://leedskotlinusergroup.netlify.com/published/2020/1/6/our-first-meetup/ position: lat: 53.8007554 lng: -1.5490774 - - name: Lisboa Kotlin User Group + - name: Lisboa KUG country: Portugal url: https://meetup.com/kotlin-lisboa/ position: @@ -224,13 +224,13 @@ position: lat: 51.5073509 lng: -0.1277583 - - name: Lviv Kotlin User Group + - name: Lviv KUG country: Ukraine url: https://www.facebook.com/groups/1395212093948927/ position: lat: 49.839683 lng: 24.029717 - - name: Madrid Kotlin User Group + - name: Madrid KUG country: Spain url: https://www.meetup.com/KotlinMAD/ position: @@ -242,55 +242,55 @@ position: lat: 53.4807593 lng: -2.2426305 - - name: Marseille Kotlin User Group + - name: Marseille KUG country: France url: https://www.meetup.com/Marseille-Kotlin-User-Group/ position: lat: 43.296482 lng: 5.36978 - - name: Milano Kotlin User Group + - name: Milano KUG country: Italy url: https://www.meetup.com/it-IT/KUG-Milan/ position: lat: 45.4642035 lng: 9.189982 - - name: Moscow Kotlin User Group + - name: Moscow KUG country: Russia url: https://www.meetup.com/KotlinMoscow/ position: lat: 55.755826 lng: 37.6173 - - name: Munich Kotlin User Group + - name: Munich KUG country: Germany url: https://www.meetup.com/Kotlin-User-Group-Munich/ position: lat: 48.1351253 lng: 11.5819806 - - name: Nizhny Novgorod Kotlin User Group + - name: Nizhny Novgorod KUG country: Russia url: https://www.meetup.com/kotlin_nn/ position: lat: 56.3268684 lng: 44.0058793 - - name: Odessa Kotlin User Group + - name: Odessa KUG country: Ukraine url: https://www.facebook.com/groups/557764034687880/ position: lat: 46.482526 lng: 30.7233095 - - name: Oslo Kotlin User Group + - name: Oslo KUG country: Norway url: https://www.meetup.com/meetup-group-nWeRbyMu/ position: lat: 59.9138688 lng: 10.7522454 - - name: Omsk Kotlin User Group + - name: Omsk KUG country: Russia url: https://vk.com/omskkotlin position: lat: 54.9913545 lng: 73.3645204 - - name: Paris Kotlin User Group + - name: Paris KUG country: France url: https://www.meetup.com/Kotlin-Paris-Meetup/ position: @@ -302,79 +302,79 @@ position: lat: 50.0916446 lng: 8.8738682 - - name: Rostov Kotlin User Group + - name: Rostov KUG country: Russia url: https://vk.com/rndkotlin position: lat: 57.195623 lng: 39.4131527 - - name: Samara Kotlin User Group + - name: Samara KUG country: Russia url: https://sitc.community/communities/kug/ position: lat: 53.203772 lng: 50.1606382 - - name: St. Petersburg Kotlin User Group + - name: St. Petersburg KUG country: Russia url: https://www.meetup.com/St-Petersburg-Kotlin-User-Group/ position: lat: 59.9310584 lng: 30.3609097 - - name: Serbia Kotlin User Group + - name: Serbia KUG country: Serbia url: https://www.meetup.com/Serbia-Kotlin-User-Group/ position: lat: 44.016521 lng: 21.005859 - - name: Slovakia Kotlin User Group + - name: Slovakia KUG country: Slovakia url: https://www.meetup.com/Kotlin-Slovakia/ position: lat: 48.669026 lng: 19.699024 - - name: Stockholm Kotlin User Group + - name: Stockholm KUG country: Sweden url: https://www.meetup.com/Sweden-Kotlin-User-Group/ position: lat: 59.3293235 lng: 18.0685808 - - name: Stuttgart Kotlin User Group + - name: Stuttgart KUG country: Germany url: https://www.meetup.com/Kotlin-User-Group-Stuttgart/ position: lat: 48.7758459 lng: 9.1829321 - - name: Swiss Kotlin User Group + - name: Swiss KUG country: Switzerland url: https://www.meetup.com/Kotlin-Swiss-User-Group/ position: lat: 46.818188 lng: 8.227512 - - name: Taganrog Kotlin User Group + - name: Taganrog KUG country: Russia url: https://vk.com/kotlintgn position: lat: 47.2125752 lng: 38.9159658 - - name: Tricity Kotlin User Group + - name: Tricity KUG country: Poland url: https://www.meetup.com/tricity-kotlin-user-group/ position: lat: 54.39927 lng: 18.57639 - - name: Utrecht Kotlin User Group + - name: Utrecht KUG country: Netherlands url: https://www.meetup.com/meetup-group-YgJEOzCn/ position: lat: 52.0907374 lng: 5.1214201 - - name: Uzhgorod Kotlin User Group + - name: Uzhgorod KUG country: Ukraine url: https://www.facebook.com/groups/135578123824203/ position: lat: 48.6208 lng: 22.287883 - - name: Valencia Kotlin User Group + - name: Valencia KUG country: Spain url: https://codelsmartech.com/developer-events/ position: @@ -395,43 +395,43 @@ - section: Asia anchorId: asia groups: - - name: Ahmedabad Kotlin User Group + - name: Ahmedabad KUG country: India url: https://www.meetup.com/KotlinAhmedabad/ position: lat: 23.022505 lng: 72.5713621 - - name: Allahabad Kotlin User Group + - name: Allahabad KUG country: India url: https://www.facebook.com/Kotlin-Allahabad-User-Group-967463300076405/ position: lat: 25.4358011 lng: 81.846311 - - name: Astana Java & Kotlin User Group + - name: Astana Java & KUG country: Kazakhstan url: https://community-z.com/communities/astana-jkug position: lat: 51.1605227 lng: 71.4703558 - - name: Azerbaijan Kotlin User Group + - name: Azerbaijan KUG country: Azerbaijan url: https://www.facebook.com/groups/395337754167951/ position: lat: 40.143105 lng: 47.576927 - - name: Bangladesh Kotlin User Group + - name: Bangladesh KUG country: Bangladesh url: https://www.facebook.com/KotlinBangladesh/ position: lat: 23.684994 lng: 90.356331 - - name: Batam Kotlin User Group + - name: Batam KUG country: Indonesia url: https://t.me/KotlinDevBatam position: lat: 1.1300779 lng: 104.0529207 - - name: Bengaluru Kotlin User Group + - name: Bengaluru KUG country: India url: https://www.facebook.com/KotlinBengaluru/ position: @@ -443,211 +443,211 @@ position: lat: 12.9715214 lng: 77.5940323 - - name: Beijing Kotlin User Group + - name: Beijing KUG country: China url: http://www.kotliner.cn/ position: lat: 39.9041999 lng: 116.4073963 - - name: Bhopal Kotlin User Group + - name: Bhopal KUG country: India url: https://www.facebook.com/kotlinbpl/ position: lat: 23.2599333 lng: 77.412615 - - name: Bhubaneswar Kotlin User Group + - name: Bhubaneswar KUG country: India url: https://www.facebook.com/groups/1961143800818624/ position: lat: 20.2960587 lng: 85.8245398 - - name: Chennai Kotlin User Group + - name: Chennai KUG country: India url: https://discord.gg/UYHG85Pgu9 position: lat: 13.0826802 lng: 80.2707184 - - name: Cirebon Kotlin User Group + - name: Cirebon KUG country: Indonesia url: https://t.me/kotlin_crb position: lat: -6.7320229 lng: 108.5523164 - - name: Coimbatore Kotlin User Group + - name: Coimbatore KUG country: India url: https://github.com/KotlinCoimbatore position: lat: 11.0168445 lng: 76.9558321 - - name: Dubai Kotlin User Group + - name: Dubai KUG country: United Arab Emirates url: https://www.facebook.com/kotlindubai/ position: lat: 25.2048493 lng: 55.2707828 - - name: Durg Kotlin User Group + - name: Durg KUG country: India url: https://www.facebook.com/Kotlin-User-Group-Durg-102907258611792 position: lat: 21.1904494 lng: 81.2849169 - - name: Hefei Kotlin User Group + - name: Hefei KUG country: China url: http://weibo.com/kotlinhfug position: lat: 31.820591 lng: 117.227219 - - name: Ho Chi Minh Kotlin User Group + - name: Ho Chi Minh KUG country: Vietnam url: https://www.facebook.com/kughcmc/ position: lat: 10.8230989 lng: 106.6296638 - - name: Hong Kong Kotlin User Group + - name: Hong Kong KUG country: China url: https://www.facebook.com/KotlinHK position: lat: 22.3193039 lng: 114.1693611 - - name: Hyderabad Kotlin User Group + - name: Hyderabad KUG country: India url: https://www.meetup.com/KotlinHyderabad/ position: lat: 17.385044 lng: 78.486671 - - name: Indonesia Kotlin User Group + - name: Indonesia KUG country: Indonesia url: https://www.facebook.com/groups/395469687469099/ position: lat: -0.789275 lng: 113.921327 - - name: Indore Kotlin User Group + - name: Indore KUG country: India url: https://www.meetup.com/kotlinindore/ position: lat: 22.7195687 lng: 75.8577258 - - name: Israel Kotlin User Group + - name: Israel KUG country: Israel url: https://www.facebook.com/groups/107080706530829/ position: lat: 31.046051 lng: 34.851612 - - name: Istanbul Kotlin User Group + - name: Istanbul KUG country: Turkey url: https://www.meetup.com/Kotlin-%C4%B0stanbul/ position: lat: 41.0082376 lng: 28.9783589 - - name: Jaffna Kotlin User Group + - name: Jaffna KUG country: Sri Lanka url: https://www.facebook.com/Kotlin-User-Group-Jaffna-102091321371464/ position: lat: 9.6614981 lng: 80.0255465 - - name: Japan Kotlin User Group + - name: Japan KUG country: Japan url: https://kotlin.connpass.com/ position: lat: 36.204824 lng: 138.252924 - - name: JiangXi Kotlin User Group + - name: JiangXi KUG country: China url: https://weibo.com/u/6689084931 position: lat: 27.0874564 lng: 114.9042208 - - name: Jodhpur Kotlin User Group + - name: Jodhpur KUG country: India url: https://www.linkedin.com/company/kotlin-mumbai-ug position: lat: 26.2389469 lng: 73.0243094 - - name: Kanpur Kotlin User Group + - name: Kanpur KUG country: India url: https://www.facebook.com/groups/1010455952691560/ position: lat: 26.449923 lng: 80.3318736 - - name: Karachi Kotlin User Group + - name: Karachi KUG country: Pakistan url: https://www.facebook.com/kotlinkarachi/ position: lat: 24.8607343 lng: 67.0011364 - - name: Kathmandu Kotlin User Group + - name: Kathmandu KUG country: Nepal url: https://www.facebook.com/groups/100333660782830/ position: lat: 27.7172453 lng: 85.3239605 - - name: Khabarovsk Kotlin User Group + - name: Khabarovsk KUG country: Russia url: https://devdv.ru/projects/kug position: lat: 48.4814433 lng: 135.0720667 - - name: Kolkata Kotlin User Group + - name: Kolkata KUG country: India url: https://www.meetup.com/Kotlin-Kolkata-UG/ position: lat: 22.572646 lng: 88.363895 - - name: Korean Kotlin User Group + - name: Korean KUG country: South Korea url: http://kotlin.kr/ position: lat: 35.907757 lng: 127.766922 - - name: Kozhikode Kotlin User Group + - name: Kozhikode KUG country: India url: https://www.facebook.com/kotlinusergroup/ position: lat: 11.2587531 lng: 75.78041 - - name: Mumbai Kotlin User Group + - name: Mumbai KUG country: India url: https://www.meetup.com/Kotlin-User-Group-Mumbai/ position: lat: 19.0759837 lng: 72.8776559 - - name: Myanmar Kotlin User Group + - name: Myanmar KUG country: Myanmar url: https://www.facebook.com/groups/kotlinmyanmarusergroup/about/ position: lat: 21.916221 lng: 95.955974 - - name: Nagpur Kotlin User Group + - name: Nagpur KUG country: India url: https://www.facebook.com/kotlinnagpur/ position: lat: 21.1458004 lng: 79.0881546 - - name: Nepal Kotlin User Group + - name: Nepal KUG country: Nepal url: https://www.facebook.com/groups/dnkotlin/ position: lat: 28.394857 lng: 84.124008 - - name: New Delhi Kotlin User Group + - name: New Delhi KUG country: India url: https://www.meetup.com/KotlinDelhi/ position: lat: 28.6139391 lng: 77.2090212 - - name: Pakistan Kotlin User Group + - name: Pakistan KUG country: Pakistan url: https://www.facebook.com/groups/565405337181251/ position: lat: 30.375321 lng: 69.345116 - - name: Palestine Kotlin User Group + - name: Palestine KUG country: State of Palestine url: https://www.facebook.com/groups/592717964582711/ position: lat: 31.952162 lng: 35.233154 - - name: Patna Kotlin User Group + - name: Patna KUG country: India url: https://www.facebook.com/groups/kotlinpatna position: @@ -659,73 +659,73 @@ position: lat: 12.879721 lng: 121.774017 - - name: Pune Kotlin User Group + - name: Pune KUG country: India url: https://www.facebook.com/groups/punekotlin position: lat: 18.5204303 lng: 73.8567437 - - name: Punjab Kotlin User Group + - name: Punjab KUG country: India url: https://www.facebook.com/groups/273508831318313 position: lat: 31.1471305 lng: 75.34121789999999 - - name: Rajkot Kotlin User Group + - name: Rajkot KUG country: India url: https://sites.google.com/view/kugrajkot/home position: lat: 22.3038945 lng: 70.8021599 - - name: Saudi Kotlin User Group + - name: Saudi KUG country: Saudi Arabia url: https://twitter.com/kotlinsaudi position: lat: 23.885942 lng: 45.079162 - - name: Shanghai Kotlin User Group + - name: Shanghai KUG country: China url: https://juejin.cn/user/3844312374718221 position: lat: 31.230416 lng: 121.473701 - - name: Shenzhen Kotlin User Group + - name: Shenzhen KUG country: China url: https://shenzhen-kug.cn/ position: lat: 22.543096 lng: 114.057865 - - name: Singapore Kotlin User Group + - name: Singapore KUG country: Singapore url: https://www.meetup.com/Singapore-Kotlin-User-group/ position: lat: 1.352083 lng: 103.819836 - - name: Sri Lanka Kotlin User Group + - name: Sri Lanka KUG country: Sri Lanka url: https://www.facebook.com/KotlinSrilanka/ position: lat: 7.873054 lng: 80.771797 - - name: Syria Kotlin User Group + - name: Syria KUG country: Syria url: https://www.facebook.com/KotlinSyria/ position: lat: 34.802075 lng: 38.996815 - - name: Surat Kotlin User Group + - name: Surat KUG country: India url: https://web.facebook.com/kotlinsurat position: lat: 21.1702401 lng: 72.8310607 - - name: Taiwan Kotlin User Group + - name: Taiwan KUG country: Taiwan url: https://taiwan-kotlin-user-group.github.io/ position: lat: 23.69781 lng: 120.960515 - - name: Tel Aviv Kotlin User Group + - name: Tel Aviv KUG country: Israel url: https://www.meetup.com/KotlinTLV/ position: @@ -737,58 +737,58 @@ position: lat: 15.870032 lng: 100.992541 - - name: Turkey Kotlin User Group + - name: Turkey KUG country: Turkey url: https://youtube.com/channel/UCAofnGf9aQbioLzMMOdHV7w position: lat: 38.963745 lng: 35.243322 - - name: Vellore Kotlin User Group + - name: Vellore KUG country: India url: https://www.facebook.com/kotlinvellore position: lat: 12.9165167 lng: 79.1324986 - - name: Vietnam Kotlin User Group (online community) + - name: Vietnam KUG (online community) country: Vietnam url: https://vnkotlin.com position: lat: 14.058324 lng: 108.277199 - - name: Vijayawada Kotlin User Group + - name: Vijayawada KUG country: India url: https://www.facebook.com/KotlinVijayawada/ position: lat: 16.5061743 lng: 80.6480153 - - name: Yemen Kotlin User Group + - name: Yemen KUG country: Yemen url: https://www.facebook.com/YemenKotlin position: lat: 15.5527 lng: 48.5164 - - name: Yerevan Kotlin User Group + - name: Yerevan KUG country: Armenia url: https://www.meetup.com/Kotlin-Yerevan/ position: lat: 40.1872023 lng: 44.515209 -- section: North America - anchorId: north-america +- section: North & South America + anchorId: north-south-america groups: - - name: Austin Kotlin User Group + - name: Austin KUG country: USA url: https://www.meetup.com/Austin-Kotlin-Meetup/ position: lat: 30.267153 lng: -97.7430608 - - name: Baton Rouge Kotlin User Group + - name: Baton Rouge KUG country: USA url: https://baton-rouge-kotlin-user-group.github.io/ position: lat: 30.4413992 lng: 91.2515038 - - name: Brooklyn (NY) Kotlin User Group + - name: Brooklyn (NY) KUG country: USA url: https://www.meetup.com/Brooklyn-Kotlin/ position: @@ -806,31 +806,31 @@ position: lat: 41.8781136 lng: -87.6297982 - - name: Cincinnati Kotlin User Group + - name: Cincinnati KUG country: USA url: https://www.meetup.com/Cincinnati-Kotlin/ position: lat: 39.1031182 lng: -84.5120196 - - name: Guadalajara Kotlin User Group + - name: Guadalajara KUG country: Mexico url: https://www.meetup.com/es/Kotlin-User-Group-GDL/ position: lat: 20.6596988 lng: -103.3496092 - - name: Guatemala Kotlin User Group + - name: Guatemala KUG country: Guatemala url: https://www.meetup.com/guatemala-kotlin-user-group/ position: lat: 15.783471 lng: -90.230759 - - name: Houston Kotlin User Group + - name: Houston KUG country: USA url: https://www.hccug.org/user-groups/houston-kotlin-user-group position: lat: 29.7604267 lng: -95.3698028 - - name: Mexico, CDMX Kotlin User Group + - name: Mexico, CDMX KUG country: Mexico url: https://www.meetup.com/es-ES/Kotlin-Nights-CDMX/ position: @@ -842,13 +842,13 @@ position: lat: 40.7127753 lng: -74.0059728 - - name: Irvine Kotlin User Group "OC Kotlin Krew" + - name: Irvine KUG "OC Kotlin Krew" country: USA url: https://www.meetup.com/OCKotlinKrew/ position: lat: 33.6845673 lng: -117.8265049 - - name: San Diego Kotlin User Group + - name: San Diego KUG country: USA url: https://www.meetup.com/sd-kotlin/ position: @@ -860,13 +860,13 @@ position: lat: 37.7749295 lng: -122.4194155 - - name: Santa Cruz Kotlin User Group + - name: Santa Cruz KUG country: USA url: https://www.meetup.com/Santa-Cruz-Kotlin-User-Group/events/245895831/ position: lat: 36.9741171 lng: -122.0307963 - - name: South Florida Kotlin User Group + - name: South Florida KUG country: USA url: https://www.meetup.com/Kotlin-South-Florida-Users-Group/ position: @@ -878,7 +878,7 @@ position: lat: 43.653226 lng: -79.3831843 - - name: Twin Cities Kotlin User Group + - name: Twin Cities KUG country: USA url: https://www.meetup.com/Twin-Cities-Kotlin-User-Group/ position: @@ -890,28 +890,25 @@ position: lat: 49.2827291 lng: -123.1207375 - - name: Washington DC Kotlin User Group + - name: Washington DC KUG country: USA url: https://www.meetup.com/DCKotlin/ position: lat: 38.9071923 lng: -77.0368707 - - name: West Florida Kotlin User Group + - name: West Florida KUG country: USA url: https://www.facebook.com/groups/KotlnWestFlorida position: lat: 27.9700729 lng: -82.5686415 -- section: South America - anchorId: south-america - groups: - - name: Asunción Kotlin User Group + - name: Asunción KUG country: Paraguay url: https://kotlin-user-group-asuncion-py.github.io/ position: lat: -25.2637399 lng: -57.575926 - - name: Brasil Kotlin User Group + - name: Brasil KUG country: Brazil url: https://groups.google.com/forum/#!forum/kotlin-brasil position: @@ -929,55 +926,55 @@ position: lat: -24.9541715 lng: -53.480283 - - name: Chile Kotlin User Group + - name: Chile KUG country: Chile url: http://www.facebook.com/kotlinchile position: lat: -35.675147 lng: -71.542969 - - name: Cochabamba Kotlin User Group + - name: Cochabamba KUG country: Bolivia url: https://www.facebook.com/kotlincocha/ position: lat: -17.4139766 lng: -66.1653224 - - name: El Alto Kotlin User Group + - name: El Alto KUG country: Bolivia url: https://m.facebook.com/KotlinElAlto/ position: lat: -16.4899474 lng: -68.2081896 - - name: La Paz Kotlin User Group + - name: La Paz KUG country: Bolivia url: https://www.facebook.com/KotlinLaPaz/ position: lat: -16.489689 lng: -68.1192936 - - name: Lima Kotlin User Group + - name: Lima KUG country: Peru url: https://www.facebook.com/groups/limakotlin/ position: lat: -12.0463731 lng: -77.042754 - - name: Medellin Kotlin User Group + - name: Medellin KUG country: Colombia url: https://www.meetup.com/Kotlin-User-Group-Medellin/ position: lat: 6.2476376 lng: -75.5658153 - - name: Peru Kotlin User Group + - name: Peru KUG country: Peru url: https://www.facebook.com/groups/1540580306247047/ position: lat: -9.189967 lng: -75.015152 - - name: Porto Alegre Kotlin User Group + - name: Porto Alegre KUG country: Brazil url: https://www.meetup.com/Kotlin-POA/events/ position: lat: -30.0368176 lng: -51.2089887 - - name: Santiago Kotlin User Group + - name: Santiago KUG country: Chile url: https://www.facebook.com/kotlinsantiago/ position: @@ -995,7 +992,7 @@ position: lat: -22.9068467 lng: -43.1728965 - - name: Tabasco Kotlin User Group + - name: Tabasco KUG country: Mexico url: https://www.meetup.com/es-ES/kotlin-tabasco/ position: @@ -1004,13 +1001,13 @@ - section: Australia/Oceania anchorId: australiaoceania groups: - - name: Melbourne Kotlin User Group + - name: Melbourne KUG country: Australia url: https://www.meetup.com/Melbourne-Kotlin-Meetup/ position: lat: -37.8136276 lng: 144.9630576 - - name: Sydney Kotlin User Group + - name: Sydney KUG country: Australia url: https://sydspace.org/kotlin/ position: @@ -1019,73 +1016,73 @@ - section: Africa anchorId: africa groups: - - name: Abidjan Kotlin User Group + - name: Abidjan KUG country: Cote d'Ivoire url: https://www.facebook.com/groups/778398068995641/ position: lat: 5.3599517 lng: -4.0082563 - - name: Abuja Kotlin User Group + - name: Abuja KUG country: Nigeria url: https://www.meetup.com/Kotlin-Abuja-User-Group-Nigeria/ position: lat: 9.0764785 lng: 7.398574 - - name: Ado-Ekiti Kotlin User Group + - name: Ado-Ekiti KUG country: Nigeria url: https://web.facebook.com/groups/1598555973529998/?ref=group_header position: lat: 7.6124263 lng: 5.2371087 - - name: Agadir Kotlin User Group + - name: Agadir KUG country: Morocco url: https://www.meetup.com/Agadir-Kotlin-User-Group/ position: lat: 30.4277547 lng: -9.5981072 - - name: Algeria Kotlin User Group + - name: Algeria KUG country: Algeria url: https://web.facebook.com/groups/383147662448461/ position: lat: 28.033886 lng: 1.659626 - - name: Angola Kotlin User Group + - name: Angola KUG country: Angola url: https://www.facebook.com/groups/405177603231134/about/ position: lat: -11.202692 lng: 17.873887 - - name: Bauchi Kotlin User Group + - name: Bauchi KUG country: Nigeria url: https://www.facebook.com/groups/kotlinbauchi/ position: lat: 10.7760624 lng: 9.9991943 - - name: Beira Kotlin User Group + - name: Beira KUG country: Mozambique url: https://www.facebook.com/groups/470398203308975/ position: lat: -19.8315949 lng: 34.8370183 - - name: Brazza Kotlin User Group + - name: Brazza KUG country: Congo url: https://www.facebook.com/groups/KotlinBrazza/ position: lat: -4.2633597 lng: 15.2428853 - - name: Cairo Kotlin User Group + - name: Cairo KUG country: Egypt url: https://www.facebook.com/Kotlin.Cairo/ position: lat: 30.0444196 lng: 31.2357116 - - name: Cotonou Kotlin User Group + - name: Cotonou KUG country: Benin url: https://www.facebook.com/kotlinCotonou/ position: lat: 6.3702928 lng: 2.3912362 - - name: Damaturu Kotlin User Group + - name: Damaturu KUG country: Nigeria url: https://web.facebook.com/Damaturu-Kotlin-User-Group-114389643760406 position: @@ -1097,91 +1094,91 @@ position: lat: 26.820553 lng: 30.802498 - - name: Kaduna Kotlin User Group + - name: Kaduna KUG country: Nigeria url: https://web.facebook.com/Kaduna-Kotlin-User-Group-112766181179860 position: lat: 10.5104642 lng: 7.4165053 - - name: Kano Kotlin User Group + - name: Kano KUG country: Nigeria url: https://web.facebook.com/groups/193660894904095/about position: lat: 12.0021794 lng: 8.5919561 - - name: Katsina Kotlin User Group + - name: Katsina KUG country: Nigeria url: https://www.downtomeet.com/Katsina-Kotlin-Group position: lat: 12.9815608 lng: 7.6222665 - - name: Lagos Kotlin User Group + - name: Lagos KUG country: Nigeria url: https://www.meetup.com/Lagos-Kotlin-Meetup/ position: lat: 6.5243793 lng: 3.3792057 - - name: Lome Kotlin User Group + - name: Lome KUG country: Togo url: https://www.facebook.com/groups/1825278611119862/ position: lat: 6.1256261 lng: 1.2254183 - - name: Minna Kotlin User Group + - name: Minna KUG country: Nigeria url: https://web.facebook.com/groups/969877396554431/about position: lat: 9.5835546 lng: 6.5463156 - - name: Minya Kotlin User Group + - name: Minya KUG country: Egypt url: https://www.facebook.com/kotlinminya/ position: lat: 28.0870967 lng: 30.7618397 - - name: Nairobi Kotlin User Group + - name: Nairobi KUG country: Kenya url: https://www.meetup.com/KotlinKenya/ position: lat: -1.2920659 lng: 36.8219462 - - name: Ondo Kotlin User Group + - name: Ondo KUG country: Nigeria url: https://www.meetup.com/Kotlin-Ondo-User-Group/ position: lat: 7.1000051 lng: 4.8416936 - - name: Ouagadougou Kotlin User Group + - name: Ouagadougou KUG country: Burkina Faso url: https://www.facebook.com/groups/649651491892414/ position: lat: 12.3714277 lng: -1.5196603 - - name: Rivers Kotlin User Group + - name: Rivers KUG country: Nigeria url: https://www.facebook.com/groups/2178453949151460/ position: lat: 4.8396414 lng: 6.9112378 - - name: Tunisia Kotlin User Group + - name: Tunisia KUG country: Tunisia url: https://www.facebook.com/groups/1501353116571104 position: lat: 33.886917 lng: 9.537499 - - name: Uganda Kotlin User Group + - name: Uganda KUG country: Uganda url: https://www.facebook.com/Uganda-Kotlin-User-Group-613707548753658/ position: lat: 1.373333 lng: 32.290275 - - name: Yola Kotlin User Group + - name: Yola KUG country: Nigeria url: https://www.facebook.com/Kotlin-Yola-User-Group-104198534358013/ position: lat: 9.2034963 lng: 12.4953899 - - name: Xi'An Kotlin User Group + - name: Xi'An KUG country: China url: https://kotlinxa.com/ position: diff --git a/pages/community/index.tsx b/pages/community/index.tsx index 71c576f6ece..5f13c84eca6 100644 --- a/pages/community/index.tsx +++ b/pages/community/index.tsx @@ -1,9 +1,9 @@ -import React from "react"; +import React from 'react'; -import {CommunityBanner} from '../../blocks/community/community-banner/community-banner'; -import {CommunityLayout} from "../../blocks/community/layout/community-layout"; -import {KeepInTouch} from "../../blocks/community/keep-in-touch/keep-in-touch"; -import {OverviewBottomLink} from '../../blocks/community/overview-bottom-links/overview-bottom-link'; +import { CommunityBanner } from '../../blocks/community/community-banner/community-banner'; +import { CommunityLayout } from '../../blocks/community/layout/community-layout'; +import { KeepInTouch } from '../../blocks/community/keep-in-touch/keep-in-touch'; +import { OverviewBottomLink } from '../../blocks/community/overview-bottom-links/overview-bottom-link'; import SlackIcon from '../../public/images/community/icons/keep-in-touch-slack-icon.svg'; import TwitterIcon from '../../public/images/community/icons/keep-in-touch-twitter-icon.svg'; @@ -17,84 +17,83 @@ import YoutrackIcon from '../../public/images/community/icons/keep-in-touch-yout function Index() { return ( - - - The Kotlin community is becoming more active all the time, - and we want to do whatever we can to foster this community and help it grow. - Here you can find online resources and information about activities in your area. - If you can't find any, we encourage you to organize one yourself! - JetBrains is here to provide help and support. + + + Find online resources and information about community activities. Can’t find any? Organize your own – + JetBrains is always here to support you! - + - ) + ); } export default Index; diff --git a/pages/community/user-groups/index.tsx b/pages/community/user-groups/index.tsx index 47a78a803ee..470db7e519e 100644 --- a/pages/community/user-groups/index.tsx +++ b/pages/community/user-groups/index.tsx @@ -1,26 +1,24 @@ -import React from "react"; -import {CommunityLayout} from "../../../blocks/community/layout/community-layout"; -import {KugsBanner} from "../../../blocks/community/kugs-banner/kugs-banner"; -import userGroupsDataRaw from "../../../data/user-groups.yml"; -import {KugMap} from "../../../blocks/community/kug-map/kug-map"; -import {KugsList} from "../../../blocks/community/kugs-list/kugs-list" +import React from 'react'; +import { CommunityLayout } from '../../../blocks/community/layout/community-layout'; +import { KugsBanner } from '../../../blocks/community/kugs-banner/kugs-banner'; +import userGroupsDataRaw from '../../../data/user-groups.yml'; +import { KugMap } from '../../../blocks/community/kug-map/kug-map'; +import { KugsList } from '../../../blocks/community/kugs-list/kugs-list'; const userGroupsData = userGroupsDataRaw as UserGroupsData; function UserGroups() { - return ( - -
- - A Kotlin User Group (or “KUG”) is a community of people who come together - to share their programming experience involving Kotlin and its ecosystem. + +
+ + A Kotlin User Group (or “KUG”) is a community of people who come together to share their programming + experience involving Kotlin and its ecosystem. -
);