Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: language update - change developer to contributor #1274

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const ContributorListTableHeaders = () => {
{/* Mobile */}
<div className="flex justify-between gap-2 px-6 py-4 rounded-t-lg md:hidden bg-light-slate-3">
<div className="w-[58%]">
<TableTitle>Developer</TableTitle>
<TableTitle>Contributor</TableTitle>
</div>
<div className="flex-1 w-[42%]">
<TableTitle>Last Contributed </TableTitle>
Expand All @@ -18,7 +18,7 @@ const ContributorListTableHeaders = () => {
{/* Desktop */}
<div className="hidden gap-6 px-6 py-4 border rounded-t-lg md:flex bg-light-slate-3">
<div className={clsx("flex-1 lg:min-w-[250px] flex justify-center")}>
<TableTitle>Developer</TableTitle>
<TableTitle>Contributor</TableTitle>
</div>
<div className={clsx(" flex-1 lg:max-w-[100px] flex justify-center ")}>
<TableTitle>Act</TableTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const ContributorListTableRow = ({ contributor, topic }: ContributorListTableRow
className={`${user && "border-orange-500 hover:bg-orange-600"}`}
/> */}

{/* Column: Developers */}
{/* Column: Contributors */}
<div className={clsx("flex-1 lg:min-w-[250px] overflow-hidden")}>
<DevProfile company={user?.company || getLastContributedRepo(data)} username={contributor.author_login} />
</div>
Expand Down
6 changes: 3 additions & 3 deletions layouts/SEO/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ export default function SEO({description, image, title, twitterCard, noindex}: S
<Head>
<title key="title">{title || "OpenSauced Insights"}</title>
<meta name="title" content={title || "OpenSauced Insights"} key="metatitle" />
<meta name="description" content={description || "The open-source intelligence platform for developers and maintainers. Unlock the power of open source with project insights by the slice."} key="description" />
<meta name="description" content={description || "The open-source intelligence platform for contributors and maintainers. Unlock the power of open source with project insights by the slice."} key="description" />

<meta property="og:title" content={title || "OpenSauced Insights"} key="og:title" />
<meta property="og:description" content={description || "The open-source intelligence platform for developers and maintainers. Unlock the power of open source with project insights by the slice."} key="og:description" />
<meta property="og:description" content={description || "The open-source intelligence platform for contributors and maintainers. Unlock the power of open source with project insights by the slice."} key="og:description" />
{image && <meta property="og:image" content={image} key="og:image" />}
<meta property="og:site_name" content="OpenSauced Insights" key="og:site_name" />
<meta property="og:type" content="website" key="og:type" />

<meta name="twitter:title" content={title || "OpenSauced Insights"} key="twitter:title" />
<meta name="twitter:description" content={description || "The open-source intelligence platform for developers and maintainers. Unlock the power of open source with project insights by the slice."} key="twitter:description" />
<meta name="twitter:description" content={description || "The open-source intelligence platform for contributors and maintainers. Unlock the power of open source with project insights by the slice."} key="twitter:description" />
{image && <meta name="twitter:image" content={image} key="twitter:image" />}
<meta name="twitter:card" content={twitterCard || "summary"} key="twitter:card" />

Expand Down
2 changes: 1 addition & 1 deletion lib/utils/cachedImages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Inspired by https://cloudinary.com/documentation/fetch_remote_images#remote_image_fetch_url
// This is temporary and requires a Cloudinary account's cloud name.
// In the future we can developer our own local image transformations.
// In the future we can develop our own local image transformations.
// https://github.com/open-sauced/insights/issues/468
const cachedImage = (imageUrl: string, cloudName: string | undefined) => {
return cloudName ? `https://res.cloudinary.com/${cloudName}/image/fetch/${imageUrl}` : imageUrl;
Expand Down