[site/theme,site/home][s]: change logo to be icon only plus add credit to hero section and info on email signup.

* Also add guide to navbar.
This commit is contained in:
Rufus Pollock 2022-03-15 23:13:12 +01:00
parent 005ee86d86
commit 4cf0e5bf5f
4 changed files with 51 additions and 7 deletions

View File

@ -1,3 +1,5 @@
import siteConfig from 'config/siteConfig'
export function Hero() {
return (
<div className="pt-10 sm:pt-16 lg:pt-8 lg:pb-14 lg:overflow-hidden">
@ -38,6 +40,20 @@ export function Hero() {
</div>
</form>
</div>
<p className="mt-3 text-sm text-gray-300 sm:mt-4">
Get short updates as we release new material or review important developments.
</p>
<p className="mt-8 text-sm text-white uppercase tracking-wide font-semibold sm:mt-10">A project of
<a
href={siteConfig.authorUrl}
target="_blank"
rel="noopener noreferrer"
>
<img src={siteConfig.authorLogo} alt={siteConfig.author} className="mx-1 h-6 inline" />
Life Itself Labs
</a>
{' '} &amp; collaborators
</p>
</div>
</div>
<div className="mt-12 -mb-16 sm:-mb-48 lg:m-0 lg:relative">

View File

@ -32,7 +32,8 @@ export default function Layout({ children, title='' }) {
target="_blank"
rel="noopener noreferrer"
>
<img src={siteConfig.authorLogo} alt={siteConfig.author} className="ml-2 h-6 block" />
<img src={siteConfig.authorLogo} alt={siteConfig.author} className="mx-1 h-6 inline-block" />
{siteConfig.author}
</a>
</p>
</footer>

View File

@ -1,7 +1,8 @@
const navLinks = [
{ href: '/about', name: 'About' },
{ href: '/library', name: 'Library' },
{ href: '/guide', name: 'Guide' },
{ href: '/claims', name: 'Claims' },
{ href: '/library', name: 'Library' },
{ href: '/contribute', name: 'Contribute' },
]

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB