Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jan 24, 2024
1 parent 3bacbb6 commit 6878438
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/pages/index/MapsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function MapsList() {
)}
<Card.Footer>
<Card.Footer.Item>
<Link to={viewerRoute.to} params={{ mapSlug: d.slug }} target="_blank" rel="noopener noreferrer">Explore</Link>
<Link to={viewerRoute.to} params={{ mapSlug: d.slug }} target="_blank" rel="noopener noreferrer">EXPLORE</Link>
</Card.Footer.Item>
</Card.Footer>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export function IndexPage() {

return (
<>
<Hero color="primary" gradient className="hero">
<Hero color="primary" className="hero">
<Hero.Body>
<Container>
<Columns>
<Columns.Column narrow>
<img src={logo} className="logo"/>
</Columns.Column>
<Columns.Column>
<Heading>Maps</Heading>
<Heading weight="bold">Maps</Heading>
<Heading size={3} subtitle>Official NINA Maps</Heading>
</Columns.Column>
</Columns>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/viewer/components/Metadata.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import logo from '../../../assets/logosmall.png';
export default function Metadata({ title, subtitle, description, metadataRef }) {
return (
<div ref={metadataRef} className="metadata">
<Media className="pt-2">
<Media className="pt-5">
<Media.Item align="left">
<Image
src={logo}
size={64}
/>
</Media.Item>
<Media.Item align="center">
<Heading size={4}>{title}</Heading>
<Heading size={4} className="has-text-primary">{title}</Heading>
<Heading size={6} subtitle>{subtitle}</Heading>
</Media.Item>
</Media>
Expand Down
7 changes: 5 additions & 2 deletions src/styles/app.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// definition
$nina-primary: #2DCCD3;
$nina-secondary: #FFB25B;
$nina-primary: #425563;
$nina-secondary: #008C95;

$nina-accent: #E57200;

// override
$primary: $nina-primary;
$link: $nina-secondary;
$family-primary: "Open Sans", Helvetica, Arial;
$family-secondary: "Open Sans", Helvetica, Arial;

Expand Down

0 comments on commit 6878438

Please sign in to comment.