File size: 816 Bytes
ea6c2a8
 
 
 
 
a582fa0
ea6c2a8
a582fa0
 
 
 
 
 
 
ea6c2a8
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import SpaceIcon from "@/assets/space.svg";
import { ReactNode } from "react";

function Header({ children }: { children?: ReactNode }) {
  return (
    <header className="border-b border-gray-900 px-3 lg:px-6 py-2 flex justify-between items-center">
      <div className="flex items-center justify-start gap-3">
        <h1 className="text-white text-lg lg:text-xl font-bold flex items-center justify-start">
          <img
            src={SpaceIcon}
            alt="Space Icon"
            className="size-6 lg:size-8 mr-2"
          />
          DeepSite
        </h1>
        <p className="text-gray-700 max-md:hidden">|</p>
        <p className="text-gray-500 text-sm max-md:hidden">
          Code and Deploy in 1-Click
        </p>
      </div>
      {children}
    </header>
  );
}

export default Header;