Skip to content

Commit

Permalink
feat: notification for 2022 orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantwrp committed Mar 10, 2022
1 parent 5364fdd commit 5915f55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/components/notification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ const Notification = () => {
return (
<Message positive style={style}>
<Message.Header>
Data for the organizations which participated in 2021{" "}
<u>
<a
href="https://twitter.com/nishantwrp/status/1433895794596143105"
target="_blank"
>
will be added soon
</a>
</u>
Official ogranizations for GSoC 2022 have been announced. You can check
them{" "}
<a
href="https://summerofcode.withgoogle.com/programs/2022/organizations"
target="_blank"
>
<u>here</u>
</a>
.
</Message.Header>
</Message>
Expand Down
4 changes: 4 additions & 0 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "./index.css"
import Layout from "../layouts/layout"
import OrgCard from "../components/org-card"
import SEO from "../components/seo"
import Notification from "../components/notification"
import { Grid } from "semantic-ui-react"
import { useAppDispatch, useAppSelector } from "../store"
import { getSearch, setSearch } from "../store/search"
Expand Down Expand Up @@ -242,6 +243,9 @@ const IndexPage = ({ data, location }) => {
return (
<Layout>
<SEO title={"Home"} meta={meta} />
<Grid className="index-org-cards-grid">
<Notification />
</Grid>
<div style={{ marginTop: "1rem", textAlign: "center" }}>
<a className="ui orange label">{orgCards.length} results</a>
</div>
Expand Down

0 comments on commit 5915f55

Please sign in to comment.