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

AB1305 visual tweaks #308

Merged
merged 6 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
19 changes: 17 additions & 2 deletions articles/ab1305-initial-disclosures/components/database-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ const ProjectRow = ({
'&:hover': standardLink
? {
'td a': { color: 'primary' },
'td a .badge div': { color: 'primary' },
'#suffix': { transform: 'rotate(45deg)', color: 'primary' },
}
: {},
Expand All @@ -216,11 +217,25 @@ const ProjectRow = ({
href={standardLink ? link.url : undefined}
>
{project_id && link.url?.includes('offsets-db') ? (
<Badge sx={{ color: COLORS[category] ?? COLORS.other }}>
<Badge
className='badge'
sx={{
color: COLORS[category] ?? COLORS.other,
transition: '0.2s all',
}}
>
{project_id}
</Badge>
) : (
<>{project_id ?? <Empty />}</>
<Box
sx={{
fontSize: [2, 2, 2, 3],
letterSpacing: '0.02em',
fontFamily: 'mono',
}}
>
{project_id ?? <Empty />}
</Box>
)}
</ProjectCell>
<ProjectCell
Expand Down
25 changes: 14 additions & 11 deletions articles/ab1305-initial-disclosures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,27 @@ In addition to the challenge of discovering and transcribing disclosures, we als

<Figure>
<Table
columns={[6]}
start={[[1]]}
columns={[10]}
start={[[1], [2]]}
width={[[1], [9]]}
index={false}
width={[6]}
data={[
['1. The name of the business entity selling the offset.'],
['2. The name of the offset registry or program.'],
['3. The project identification number.'],
['4. The project name as listed in the registry or program.'],
['1', 'The name of the business entity selling the offset.'],
['2', 'The name of the offset registry or program.'],
['3', 'The project identification number.'],
['4', 'The project name as listed in the registry or program.'],
[
'5. The offset project type, including whether the offsets purchased were derived from a carbon removal, an avoided emission, or a combination of both.',
'5',
'The offset project type, including whether the offsets purchased were derived from a carbon removal, an avoided emission, or a combination of both.',
],
['6. The offset project site location.'],
['6', 'The offset project site location.'],
[
'7. The specific protocol used to estimate emissions reductions or removal benefits.',
'7',
'The specific protocol used to estimate emissions reductions or removal benefits.',
],
[
'8. Whether there is independent third-party verification of company data and claims listed.',
'8',
'Whether there is independent third-party verification of company data and claims listed.',
],
]}
/>
Expand Down
Loading