new logo
This commit is contained in:
		
							parent
							
								
									6ef48af085
								
							
						
					
					
						commit
						c2b9d572d1
					
				| 
						 | 
				
			
			@ -1,16 +1,17 @@
 | 
			
		|||
import Link from 'next/link'
 | 
			
		||||
import clsx from 'clsx'
 | 
			
		||||
 | 
			
		||||
export function ManticLogo(props: { darkBackground?: boolean }) {
 | 
			
		||||
export function ManifoldLogo(props: { darkBackground?: boolean }) {
 | 
			
		||||
  const { darkBackground } = props
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <Link href="/">
 | 
			
		||||
      <a className="flex flex-row gap-3">
 | 
			
		||||
        <img
 | 
			
		||||
          className="sm:h-10 sm:w-10 hover:rotate-12 transition-all"
 | 
			
		||||
          src="/logo-icon.svg"
 | 
			
		||||
          width={40}
 | 
			
		||||
          height={40}
 | 
			
		||||
          className="hover:rotate-12 transition-all"
 | 
			
		||||
          src="/logo.svg"
 | 
			
		||||
          width={60}
 | 
			
		||||
          height={60}
 | 
			
		||||
        />
 | 
			
		||||
        <div
 | 
			
		||||
          className={clsx(
 | 
			
		||||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ import Link from 'next/link'
 | 
			
		|||
import { useUser } from '../hooks/use-user'
 | 
			
		||||
import { Row } from './layout/row'
 | 
			
		||||
import { firebaseLogin, User } from '../lib/firebase/users'
 | 
			
		||||
import { ManticLogo } from './mantic-logo'
 | 
			
		||||
import { ManifoldLogo } from './manifold-logo'
 | 
			
		||||
import { ProfileMenu } from './profile-menu'
 | 
			
		||||
 | 
			
		||||
export function NavBar(props: {
 | 
			
		||||
| 
						 | 
				
			
			@ -29,7 +29,7 @@ export function NavBar(props: {
 | 
			
		|||
          wide ? 'max-w-6xl' : 'max-w-4xl'
 | 
			
		||||
        )}
 | 
			
		||||
      >
 | 
			
		||||
        <ManticLogo darkBackground={darkBackground} />
 | 
			
		||||
        <ManifoldLogo darkBackground={darkBackground} />
 | 
			
		||||
 | 
			
		||||
        <Row className="items-center gap-6 sm:gap-8 md:ml-16 lg:ml-40">
 | 
			
		||||
          {children}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 97 KiB  | 
							
								
								
									
										2
									
								
								web/public/logo.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								web/public/logo.svg
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<svg id="master-artboard" viewBox="0 0 1400 980" version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" style="enable-background:new 0 0 1400 980;" width="1400px" height="980px"><g transform="matrix(-1, 0, 0, 1, 1398.2724346748023, 1.4210854715202004e-14)"><g transform="matrix(-0.8166666626930236, 0, 0, 0.8166666626930236, 1188.272278324478, 1.4210854715202004e-14)"><path d="m1200 723.75c-1.875-7.5-9.375-13.125-16.875-13.125l-266.25-18.75 196.88-444.38c3.75-7.5 1.875-16.875-5.625-22.5s-15-5.625-22.5 0l-401.25 288.75-60-371.25c-1.875-7.5-7.5-15-16.875-15-7.5 0-16.875 3.75-18.75 11.25l-157.5 384.38-243.75-285h-1.875-1.875c-1.875-1.875-1.875-1.875-3.75-1.875h-1.875-5.625-1.875c-1.875 0-3.75 0-5.625 1.875h-1.875c-1.875 0-3.75 1.875-3.75 3.75l-157.5 170.62c-5.625 3.75-5.625 11.25-1.875 18.75 3.75 5.625 9.375 9.375 16.875 9.375h1.875l146.25-22.5 30 459.38v1.875c0 1.875 0 3.75 1.875 5.625 0 1.875 1.875 3.75 3.75 3.75l1.875 1.875c1.875 1.875 1.875 1.875 3.75 1.875h1.875l521.25 178.12c1.875 0 3.75 1.875 5.625 1.875h5.625 1.875c1.875 0 1.875-1.875 3.75-1.875l446.25-326.25c5.625-5.625 9.375-13.125 7.5-20.625zm-1134.4-328.12 91.875-99.375 5.625 84.375zm1063.1 348.75-7.5 5.625-341.25 249.38 65.625-148.12 54.375-123.75zm-605.62 217.5 146.25-161.25c7.5-7.5 5.625-18.75-1.875-26.25s-18.75-5.625-26.25 1.875l-157.5 174.38-230.62-78.75 796.88-575.62-324.38 735zm75-748.12 52.5 324.38-129.38 93.75-63.75-75zm-106.88 438.75-118.12 86.25-142.5 103.12-33.75-525v-11.25z" style="fill-opacity: 1; fill: rgb(67, 55, 201);"/></g></g></svg>
 | 
			
		||||
| 
		 After Width: | Height: | Size: 1.5 KiB  | 
		Loading…
	
		Reference in New Issue
	
	Block a user