Skip to content

Commit

Permalink
H/doc copy (#567)
Browse files Browse the repository at this point in the history
docs styling
  • Loading branch information
bastardlee authored Jan 7, 2025
1 parent 5ea169c commit ff72188
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 34 deletions.
24 changes: 24 additions & 0 deletions components/DocsLayout/DocsLayout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,30 @@
font-weight: 500;
}
}

ul {
margin-top: 0;
margin-bottom: 2rem;
}

li {
font-size: $text-lg;
line-height: 1.3em;
padding-left: 0.5rem;
font-weight: 300;
}

h3 {
font-size: $text-xl;
margin-top: 3rem;
margin-bottom: 1rem;
}

h4 {
font-size: $text-md;
font-weight: 500;
margin-bottom: 1.5rem;
}
}

.tabContainer {
Expand Down
40 changes: 20 additions & 20 deletions pages/docs/content/legislation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,45 @@ Legislation embeds give the latest information about bills as they move through

Below are the types of information on each legislation embed:

### Name
#### Name

The name of the legislation. This is AI-generated and edited by the Populist staff.
- The name of the legislation. This is AI-generated and edited by the Populist staff.

### Code
#### Code

This is the legislation's government code that is used to identify it.
- This is the legislation's government code that is used to identify it.

### Year
#### Year

This is the year that the legislation was introduced.
- This is the year that the legislation was introduced.

### Issue Tags
#### Issue Tags

Issue tags offer a quick way to show the subject matter of legislation through our categories.
- Issue tags offer a quick way to show the subject matter of legislation through our categories.

### Summary
#### Summary

These summaries are AI-generated and reviewed by Populist staff to make sure they are accurate and representative.
- These summaries are AI-generated and reviewed by Populist staff to make sure they are accurate and representative.

### Full Text Link
#### Full Text Link

If audiences want to dive deeper, we provide links to the full text of legislation on the official government website.
- If audiences want to dive deeper, we provide links to the full text of legislation on the official government website.

### Status
#### Status

The status area shows where a bill is in the process of becoming law.
- The status area shows where a bill is in the process of becoming law.

### Latest votes
#### Latest votes

If legislation has been voted on in one or both chambers, the latest vote totals will be shown here.
- If legislation has been voted on in one or both chambers, the latest vote totals will be shown here.

### Sponsors
#### Sponsors

The sponsors section shows the partisan breakdown of the authors of a bill.
- The sponsors section shows the partisan breakdown of the authors of a bill.

### Public voting
#### Public voting

Public voting is a way to gauge sentiment on legislation. Audiences can share whether they support, oppose, or are undecided on legislation, and see how others have responded. Public voting can be configured either to allow anonymous responses, or to require names and emails that are only shared with the organization.
- Public voting is a way to gauge sentiment on legislation. Audiences can share whether they support, oppose, or are undecided on legislation, and see how others have responded. Public voting can be configured either to allow anonymous responses, or to require names and emails that are only shared with the organization.

export default function DocsLegislation({ children }) {
return <DocsLayout currentPage="content">{children}</DocsLayout>;
Expand Down
24 changes: 12 additions & 12 deletions pages/docs/content/politicians.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ Populist politician embeds help give context with high-level information about p

Below are the types of information on each politician embed:

### Name
#### Name

The politician's name.
- The politician's name.

### Office
#### Office

The office that the politician currently occupies, if applicable.
- The office that the politician currently occupies, if applicable.

### Next / Last Election
#### Next / Last Election

The next or last election and office that the politician is or has run for, if applicable.
- The next or last election and office that the politician is or has run for, if applicable.

### Endorsements
#### Endorsements

A list of endorsements from organizations and individuals that hold public office.
- A list of endorsements from organizations and individuals that hold public office.

### Biography
#### Biography

A candidate's biography.
- A candidate's biography.

### Links
#### Links

A candidate's links to social media and campaign websites.
- A candidate's links to social media and campaign websites.

export default function DocsPolitician({ children }) {
return <DocsLayout currentPage="content">{children}</DocsLayout>;
Expand Down
4 changes: 2 additions & 2 deletions utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const EMBED_CONTENT_IDS = {
],
},
legislation: {
embedId: "4c6c4668-0ee5-43c4-9314-237f54984107",
billId: "504d04d8-b55a-4bda-8e18-6ee89899a511",
embedId: "097bbb3c-01bc-4f30-aaf7-6f9ba67692d1",
billId: "e00f47da-20c8-4c77-b6d2-831a95c2f70c",
},
politician: {
embedId: "44805e68-d274-482e-876d-fca5a399e7bb",
Expand Down

0 comments on commit ff72188

Please sign in to comment.