File tree Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default function Layout({ children }: Props) {
1414 < MetaTags
1515 description = { siteDescription }
1616 // og:image spec requires full url, can't use path for image
17- imageUrl = "https://lanyard.org/meta-image.png"
17+ imageUrl = "https://lanyard.org/meta-image.png?v=2 "
1818 />
1919 < Head />
2020
Original file line number Diff line number Diff line change 1+ import { SVGProps } from 'react'
2+
3+ export default function Logo ( {
4+ height = 68 ,
5+ width = 62 ,
6+ className,
7+ } : SVGProps < SVGSVGElement > ) {
8+ return (
9+ < svg
10+ viewBox = "0 0 62 68"
11+ width = { width }
12+ height = { height }
13+ className = { className }
14+ fill = "none"
15+ xmlns = "http://www.w3.org/2000/svg"
16+ >
17+ < path
18+ fillRule = "evenodd"
19+ clipRule = "evenodd"
20+ d = "M62 31C62 26.929 61.1982 22.8979 59.6403 19.1368C58.0824 15.3757 55.7989 11.9583 52.9203 9.07969C50.0417 6.20107 46.6243 3.91763 42.8632 2.35973C39.1021 0.801838 35.071 0 31 0C26.929 0 22.8979 0.801839 19.1368 2.35974C15.3757 3.91763 11.9583 6.20107 9.07969 9.07969C6.20107 11.9583 3.91763 15.3757 2.35973 19.1368C0.801838 22.8979 0 26.929 0 31C0 35.071 0 68 0 68H10C10 68 10 42.598 10 31C10 19.402 19.402 10 31 10C42.598 10 52 19.402 52 31C52 42.598 52 68 52 68H62C62 68 62 35.071 62 31ZM31 16C33.7614 16 36 18.2386 36 21V26H26V21C26 18.2386 28.2386 16 31 16ZM26 26V62V63V68H21H16V63V62V36C16 30.4772 20.4772 26 26 26ZM46 62L46 36C46 30.4772 41.5228 26 36 26V62L36 63L36 63.0062V68H41H46V63V62Z"
21+ className = "fill-current"
22+ />
23+ </ svg >
24+ )
25+ }
Original file line number Diff line number Diff line change 11import Link from 'next/link'
22import { useRouter } from 'next/router'
33import { useMemo } from 'react'
4+ import Logo from 'components/Logo'
45import { twitterUrl , githubUrl } from 'utils/constants'
56import NavTab from './NavTab'
67
@@ -15,7 +16,10 @@ export default function SiteNav() {
1516 return (
1617 < div className = "flex flex-col sm:flex-row items-center justify-between mt-8 mb-16 sm:mb-24 lg:mb-32 gap-4" >
1718 < Link href = "/" >
18- < a className = "font-bold text-3xl" > Lanyard</ a >
19+ < a className = "font-bold text-3xl flex items-baseline gap-x-2" >
20+ < Logo height = { 23 } width = { 21 } />
21+ Lanyard
22+ </ a >
1923 </ Link >
2024 < div className = "flex gap-x-6 h-8 items-center" >
2125 < NavTab
You can’t perform that action at this time.
0 commit comments