-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bump-frontend-dependencies
- Loading branch information
Showing
53 changed files
with
2,103 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -876,11 +876,13 @@ jobs: | |
] | ||
steps: | ||
- uses: aws-actions/configure-aws-credentials@v1 | ||
if: ${{ needs.setup.outputs.publish != 'false' }} | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_SQS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SQS_ACCESS_KEY }} | ||
aws-region: us-west-2 | ||
- uses: isbang/[email protected] | ||
if: ${{ needs.setup.outputs.publish != 'false' }} | ||
with: | ||
sqs-url: ${{ secrets.DATAHUB_HEAD_SYNC_QUEUE }} | ||
message: '{ "command": "git-sync", "args" : {"repoName": "${{ needs.setup.outputs.repository_name }}", "repoOrg": "${{ github.repository_owner }}", "repoBranch": "${{ needs.setup.outputs.branch_name }}", "repoShaShort": "${{ needs.setup.outputs.short_sha }}" }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
docs-website/src/pages/_components/TownhallButton/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from 'react'; | ||
import styles from "./townhallbutton.module.scss"; | ||
import clsx from "clsx"; | ||
import Link from "@docusaurus/Link"; | ||
|
||
const TownhallButton = () => { | ||
const today = new Date(); | ||
const currentDay = today.getDate(); | ||
const lastDayOfMonth = new Date(today.getFullYear(), today.getMonth() + 1, 0); | ||
const lastThursday = lastDayOfMonth.getDate() - ((lastDayOfMonth.getDay() + 7 - 4) % 7); | ||
|
||
const daysUntilLastThursday = lastThursday - currentDay; | ||
|
||
let showButton = false; | ||
let currentMonth = ''; | ||
|
||
if (daysUntilLastThursday > 0 && daysUntilLastThursday <= 14) { | ||
showButton = true; | ||
currentMonth = new Intl.DateTimeFormat('en-US', { month: 'long' }).format(today); | ||
} | ||
|
||
return ( | ||
showButton && ( | ||
<Link to="http://rsvp.datahubproject.io" className={clsx('button button--primary button--md', styles.feature)}> | ||
Join {currentMonth} Townhall! ✨ | ||
</Link> | ||
) | ||
); | ||
}; | ||
|
||
export default TownhallButton; |
14 changes: 14 additions & 0 deletions
14
docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.feature { | ||
color: white; | ||
border: 1px solid transparent; | ||
background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-origin: border-box; | ||
opacity: 90%; | ||
|
||
&:hover { | ||
opacity: 100%; | ||
background: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-origin: border-box; | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
docs-website/src/pages/docs/_components/FeatureCard/featurecard.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.feature { | ||
flex-direction: row; | ||
padding: 1.75rem; | ||
color: var(--ifm-hero-text-color); | ||
margin: 0rem 2rem 1rem 0rem; | ||
min-height: 14rem; | ||
max-height: 15rem; | ||
overflow: hidden; | ||
text-decoration: none !important; | ||
|
||
img { | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
margin-right: 0.75rem; | ||
} | ||
svg { | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
margin-right: 0.75rem; | ||
} | ||
strong, | ||
span { | ||
display: block; | ||
margin-bottom: 0.75rem; | ||
} | ||
strong { | ||
font-weight: 600; | ||
font-size: 1.1rem; | ||
} | ||
|
||
span { | ||
font-size: 1rem; | ||
line-height: 1.25em; | ||
} | ||
&:hover { | ||
border-color: var(--ifm-color-primary); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
docs-website/src/pages/docs/_components/FeatureCard/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from "react"; | ||
import clsx from "clsx"; | ||
import styles from "./featurecard.module.scss"; | ||
import useBaseUrl from "@docusaurus/useBaseUrl"; | ||
import Link from "@docusaurus/Link"; | ||
|
||
const FeatureCard = ({icon, title, description, to}) => { | ||
return ( | ||
<div className="col col--4"> | ||
<Link to={useBaseUrl(to)} className={clsx("card", styles.feature)}> | ||
<div> | ||
{icon} | ||
<strong>{title} →</strong> | ||
<span>{description}</span> | ||
</div> | ||
</Link> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FeatureCard; |
36 changes: 36 additions & 0 deletions
36
docs-website/src/pages/docs/_components/FeatureCardSection/featurecardsection.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
|
||
.feature { | ||
flex-direction: row; | ||
padding: 0.675rem; | ||
color: var(--ifm-text-color); | ||
margin: 0.5rem; | ||
min-height: calc(100% - 1rem); | ||
text-decoration: none !important; | ||
img { | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
margin-right: 0.75rem; | ||
} | ||
svg { | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
margin-right: 0.75rem; | ||
} | ||
strong, | ||
span { | ||
display: block; | ||
margin-bottom: 0.25rem; | ||
} | ||
strong { | ||
font-weight: 600; | ||
} | ||
|
||
span { | ||
font-size: 0.875rem; | ||
line-height: 1.25em; | ||
} | ||
&:hover { | ||
border-color: var(--ifm-color-primary); | ||
} | ||
} |
Oops, something went wrong.