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

Add About page #95

Merged
merged 8 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 7 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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ or open http://localhost:8080/pulp/api/v3/status/
```sh
podman exec -it pulp pulpcore-manager reset-admin-password --password admin
```
```sh
docker exec -it compose-pulp_api-1 pulpcore-manager reset-admin-password --password admin
```

#### configure `pulp-cli`:

Expand Down
77 changes: 73 additions & 4 deletions src/containers/about-project.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import { t } from '@lingui/macro';
import { Gallery } from '@patternfly/react-core';
import {
Brand,
Card,
CardBody,
CardFooter,
CardTitle,
Gallery,
} from '@patternfly/react-core';
import React, { Component } from 'react';
import { BaseHeader, Main } from 'src/components';
import { BaseHeader, ExternalLink, Main } from 'src/components';
import { type RouteProps, withRouter } from 'src/utilities';
import PulpLogo from 'static/images/pulp_logo.png';

class AboutProject extends Component<RouteProps> {
constructor(props) {
Expand All @@ -14,8 +22,69 @@ class AboutProject extends Component<RouteProps> {
<>
<BaseHeader title={t`About project`} />
<Main>
<Gallery hasGutter></Gallery>
<br />
<Card ouiaId='BasicCard'>
<CardTitle>
<Brand
style={{
display: 'block',
'margin-left': 'auto',
'margin-right': 'auto',
}}
src={PulpLogo}
alt='Pulp logo'
/>
</CardTitle>
<CardBody style={{ 'text-align': 'center' }}>
Pulp is an open source project that makes it easy for developers
to fetch, upload, and distribute Software Packages on-prem or in
the cloud.
</CardBody>
</Card>
<Card ouiaId='BasicCard'>
<CardBody>
<Gallery
hasGutter
style={{ 'grid-template-columns': '32.5% 32.5% 32.5%' }}
>
<Card ouiaId='BasicCard'>
<CardTitle>Pulp UI</CardTitle>
<CardBody>{t`This project is an attempt to up-cycle the Ansible Galaxy UI codebase. The first version contains mostly saved code with minor fixes. In the future more types of content will be added. We welcome kindly any contributions.`}</CardBody>
<CardFooter>
{' '}
<ExternalLink href={'https://github.com/pulp/pulp-ui'}>
{'GitHub repository'}
</ExternalLink>
</CardFooter>
</Card>
<Card ouiaId='BasicCard'>
<CardTitle>Issue tracker</CardTitle>
<CardBody>{`If you find a bug or have an idea for enhancement, please feel free to file a Github issue. Thank you for contributing to improvement of the project.`}</CardBody>
<CardFooter>
{' '}
<ExternalLink
href={'https://github.com/pulp/pulp-ui/issues'}
>
{'GitHub issues'}
</ExternalLink>
</CardFooter>
</Card>
<Card ouiaId='BasicCard'>
<CardTitle>Get involved</CardTitle>
<CardBody>{`Join our communication channels and get to know the contributors and users of Pulp's strong ecosystem.`}</CardBody>
<CardFooter>
{' '}
<ExternalLink
href={
'https://pulpproject.org/help/community/get-involved/'
}
>
{'Community'}
</ExternalLink>
</CardFooter>
</Card>
</Gallery>
</CardBody>
</Card>
</Main>
</>
);
Expand Down
Loading