Skip to content

Commit

Permalink
updated about page
Browse files Browse the repository at this point in the history
replaced grid with constrained widths
added semantic HTML tags
linked email address
added header tag
  • Loading branch information
varCepheid committed Nov 7, 2023
1 parent b512217 commit bba08eb
Showing 1 changed file with 25 additions and 35 deletions.
60 changes: 25 additions & 35 deletions src/routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,60 +3,52 @@ import { css } from 'linaria'

const pageStyle = css`
text-align: center;
display: grid;
grid-template-columns: 1fr minmax(60%, 61rem) 1fr;
padding: 0 1rem;
& section {
margin: auto;
width: auto;
min-width: 60%;
}
`

const headerStyle = css`
grid-column: 2;
margin-bottom: 0rem;
`

const informationStyle = css`
font-size: 22px;
grid-column: 2;
`

const sourceStyle = css`
padding: 1rem 2rem 0 2rem;
font-family: monospace;
grid-column: 2;
`

const boldText = css`
font-weight: bold;
`
const boldSourceText = css`
font-weight: bold;
margin: 0.2rem;
`

const sourceText = css`
margin: 0.2rem;
& p {
margin: 0.2rem;
}
`

const AboutPage = () => {
return (
<Page name="About" back="/" class={pageStyle}>
<h1 class={headerStyle}>Welcome to Peregrine!</h1>
<div class={informationStyle}>
<section class={informationStyle}>
<p>
<span class={boldText}>
<strong>
Peregrine is a completely free, open-source scouting app for FRC
competitions.
</span>{' '}
</strong>{' '}
The frontend is written in TypeScript and the backend is written in
Go. Peregrine was originally built by students on team 2733 Pigmice in
2017 and redesigned in the autumn of 2018. Development is ongoing to
make the website better than ever. Peregrine has been used by 15 teams
and counting to simplify scouting at FRC competitions.
</p>
<p>
<span class={boldText}>
<strong>
Peregrine handles all of the calculations involved in scouting
</span>
</strong>
, allowing team members to spend time analyzing data and making
decisions instead of crunching numbers. It shows an analysis table
where team members can compare individual statistics or overall
Expand All @@ -66,9 +58,7 @@ const AboutPage = () => {
data is pulled from The Blue Alliance.
</p>
<p>
<span class={boldText}>
It&rsquo;s really easy to get started with Peregrine.
</span>{' '}
<strong>It&rsquo;s really easy to get started with Peregrine.</strong>{' '}
Have a team captain or coach send an email to{' '}
<a href="mailto:alexv@pigmice.com">alexv@pigmice.com</a> and a member
of the Pigmice will add your team to the dropdown on the signup page.
Expand All @@ -79,29 +69,29 @@ const AboutPage = () => {
<p>
If you have any questions about getting your team onboarded to
Peregrine or using the app,{' '}
<span class={boldText}>
<strong>
please reach out to the Pigmice team&rsquo;s Peregrine lead, Alex
Vennebush
</span>
, at alexv@pigmice.com.
</strong>
, at <a href="mailto:alexv@pigmice.com">alexv@pigmice.com</a>.
</p>
</div>
<div class={sourceStyle}>
<p class={boldSourceText}>source code repositories: </p>
<p class={sourceText}>
</section>
<section class={sourceStyle}>
<h3>source code repositories:</h3>
<p>
{' '}
<a href="https://github.com/Pigmice2733/peregrine-frontend">
frontend (TypeScript with the React and Babel plugins){' '}
</a>
</p>
<p class={sourceText}>
<p>
{' '}
<a href="https://github.com/Pigmice2733/peregrine-backend">
backend (Go connected to SQL){' '}
</a>
</p>
<p class={sourceText}>current version: public release 1.0.0</p>
</div>
<p>current version: public release 1.0.0</p>
</section>
</Page>
)
}
Expand Down

0 comments on commit bba08eb

Please sign in to comment.