diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f02226..a1b983e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: uses: ./.github/workflows/unit.yml deploy: - name: Deploy cdc.cy + name: Deploy boulderjs.org runs-on: ubuntu-latest needs: [codequality, unit] if: needs.codequality.result == 'success' && needs.unit.result == 'success' diff --git a/src/components/SocialIcons.jsx b/src/components/SocialIcons.jsx index 71778d2..a1c2a25 100644 --- a/src/components/SocialIcons.jsx +++ b/src/components/SocialIcons.jsx @@ -42,3 +42,14 @@ export function DiscordIcon(props) { ) } + +export function BlueSkyIcon(props) { + return ( + + + + ) +} diff --git a/src/graphql/announcement.query.js b/src/graphql/announcement.query.js index b04a646..63ed371 100644 --- a/src/graphql/announcement.query.js +++ b/src/graphql/announcement.query.js @@ -19,7 +19,7 @@ export default { `, vars: { organization: process.env.GH_ORG, - repository: 'home', - announcementCategoryId: 'DIC_kwDOG41Ukc4CBSDX' + repository: '.github', + announcementCategoryId: 'DIC_kwDOMan6cM4ChIlA' } } diff --git a/src/routes/about.jsx b/src/routes/about.jsx index abdd57a..5120f0f 100644 --- a/src/routes/about.jsx +++ b/src/routes/about.jsx @@ -58,7 +58,7 @@ export default function About() { diff --git a/src/routes/index.jsx b/src/routes/index.jsx index b8f776b..03bc3a7 100644 --- a/src/routes/index.jsx +++ b/src/routes/index.jsx @@ -2,7 +2,7 @@ import { For, splitProps, Show, Switch, Match, createMemo } from 'solid-js' import { A, createAsync, cache } from '@solidjs/router' import clsx from 'clsx' import { Container } from '~/components/Container' -import { GitHubIcon, LinkedInIcon, DiscordIcon } from '~/components/SocialIcons' +import { GitHubIcon, BlueSkyIcon, DiscordIcon } from '~/components/SocialIcons' import graphql from '~/server/graphql.js' import fileQuery from '~/graphql/file.query.js' import organizationQuery from '~/graphql/organization.query.js' @@ -126,7 +126,7 @@ function Stats(props) { value: props.organization()?.repository?.issues?.totalCount }, { - name: 'Cyprus', + name: 'Boulder', value: '100%' } ] @@ -138,7 +138,7 @@ function Stats(props) {

- Your Tech Community in Cyprus + Your Tech Community in Boulder

{/*

Lorem ipsum dolor sit amet consect adipisicing possimus. @@ -167,7 +167,7 @@ function Stats(props) { const readmeData = cache(async () => { 'use server' const readmeFile = await graphql(fileQuery.gql(), { - repository: 'home', + repository: '.github', path: 'README.md', ...fileQuery.vars }) @@ -210,17 +210,17 @@ export default function App() {

@@ -242,9 +242,9 @@ export default function App() { } // TODO: CTAs -// - Subscribe calendar: https://calendar.cdc.cy -// - Join Discord: https://chat.cdc.cy -// - Follow on GitHub: https://github.com/cyprus-developer-community +// - Subscribe calendar: https://calendar.boulderjs.org +// - Join Discord: https://chat.boulderjs.org +// - Follow on GitHub: https://github.com/boulder-js // - Follow on LinkedIn: https://www.linkedin.com/groups/12659214/ // - Interact on GitHub to get invited to the organization // - Subscribe email: mailerlite diff --git a/src/to-refactor/groups.jsx b/src/to-refactor/groups.jsx deleted file mode 100644 index 4806131..0000000 --- a/src/to-refactor/groups.jsx +++ /dev/null @@ -1,68 +0,0 @@ -import { A } from '@solidjs/router' -import fileQuery from '~/graphql/file.query.js' -import graphql from '~/server/graphql.js' -import { useRouteData } from 'solid-start' -import { For, createResource } from 'solid-js' -import { SimpleLayout } from '~/components/SimpleLayout' -import { Icon } from 'solid-heroicons' -import { globeAlt } from 'solid-heroicons/solid' - -export function routeData() { - const [groupsFile] = graphql(fileQuery.gql('groups.json'), { - ...fileQuery.vars, - repository: 'home' - }) - - const [groups] = createResource(groupsFile, () => { - return JSON.parse(groupsFile().repository.object.text) - }) - - return { - groups - } -} - -export default function Groups() { - const data = useRouteData() - - return ( - -
    - - {(group) => ( -
  • - {`Logo -

    - {group.name} -

    -

    {group.excerpt}

    - -
  • - )} -
    -
-
- ) -}