Skip to content
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
26 changes: 10 additions & 16 deletions src/routes/about.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ import Header from '../utils/jsx/header.tsx';
import sponsors from '../utils/sponsors.ts';
import theme from '../utils/theme.ts';

declare module 'csstype' {
// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
interface Properties {
[index: `--${string}`]: string;
}
}

const styles = {
container: css`
display: flex;
Expand Down Expand Up @@ -336,9 +329,10 @@ export default () => {

<p>
Launched in 2011, it is one of the longest-running
public CDNs on the web. cdnjs believes in the power
of open source, with all the package configurations
and code behind the service available on GitHub.
and most popular public CDNs on the web. cdnjs
believes in the power of open source, with all the
package configurations and code behind the service
available on GitHub.
</p>

<p>
Expand Down Expand Up @@ -378,23 +372,23 @@ export default () => {
cdnjs is different from some other public CDNs that
support on-demand pull-through access to libraries.
Instead, cdnjs is a curated CDN that only serves
libraries that have been added to the service to by
the community.
libraries that have been added to the service by the
community.
</p>

<p>
Adding a library to cdnjs is straightforward: open a
pull request to the{' '}
pull request in the{' '}
<a
href="https://github.com/cdnjs/packages"
rel="noopener"
>
cdnjs/packages repository
</a>{' '}
with a small JSON file describing the library. Once
approved and merged, cdnjs automation takes over
new versions are picked up automatically as they are
published to npm or GitHub.
approved and merged, cdnjs automation takes over
&mdash; new versions are picked up automatically as
they are published to npm or GitHub.
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/jsx/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const styles = {
color: ${theme.background.brand};
position: absolute;
width: 100vw;
height: 100%;
height: calc(100% + ${theme.spacing(4)});
left: 50%;
transform: translateX(-50%);
top: ${theme.spacing(-2)};
Expand Down
Loading