Skip to content

Commit

Permalink
incorporate logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrobskyhuntley committed Sep 23, 2024
1 parent 703e8ed commit 682a0bd
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 18 deletions.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions public/favicon.svg

This file was deleted.

Binary file added src/assets/logo_medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 12 additions & 7 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ const { title, subtitle, parent } = Astro.props;
---

<section class="hero is-fullheight">
<div class="hero-body" style="z-index:1000">
<div class="">
<h1 class="title has-text-danger is-size-1 text-shadow-success"> {title}</h1>
<p class="subtitle has-text-danger is-size-2 text-shadow-success">{subtitle}</p>
{parent &&
<p class="subtitle has-text-danger is-size-3 text-shadow-success"><a href={parent.url}>{parent.name}</a></p>
}
<div class="hero-body is-fullwidth" style="z-index:1000">
<div class="columns is-fullwidth is-vcentered" style="width:100%">
<div class="column is-one-fifth has-text-centered">
<img class="image is-inline-block" width="250px" src='/src/assets/logo_medium.png' alt={"Logo of ".concat(title)} />
</div>
<div class="column">
<h1 class="title has-text-danger is-size-1 text-shadow-success"> {title}</h1>
<p class="subtitle has-text-danger is-size-2 text-shadow-success">{subtitle}</p>
{parent &&
<p class="subtitle has-text-danger is-size-3 text-shadow-success"><a href={parent.url}>{parent.name}</a></p>
}
</div>
</div>
</div>
</section>
7 changes: 7 additions & 0 deletions src/components/Organization.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ const { org, columns = true} = Astro.props;
---
<AboutCard columns={columns}>
<div class="block">
<div class="columns is-vcentered">
<div class="column is-one-quarter has-text-centered">
<img class="logo image is-inline-block" src='/src/assets/logo_medium.png' />
</div>
<div class="column">
<p class="title is-4 has-text-danger">{org.name}</p>
<p class="subtitle is-4 has-text-danger">{org.subtitle}</p>
{org.parent &&
<p class="has-text-danger"><a href={org.parent.url}>{org.parent.name}</a></p>
}
</div>
</div>
</div>
<div class="block">
<p class="has-text-danger" set:html={md.renderInline(org.description)}></p>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const og = "logo" in data ? {
charset="utf-8",
openGraph={og}
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content={Astro.generator} />
</head>
Expand Down
2 changes: 1 addition & 1 deletion src/sass/_variables.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Danger/success are figure/ground
$danger: #ffffff;
$success: #b21f24;
$success: #990000;
$link: $danger;
// Info is highlight
$info: #460080;
Expand Down

0 comments on commit 682a0bd

Please sign in to comment.