Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
1c4a779
1
Parent(s):
565d074
using the new logo
Browse files- public/logos/aitube-icon.png +0 -0
- public/logos/aitube.jpg +0 -0
- public/logos/aitube.png +0 -0
- public/logos/aitube.svg +0 -0
- src/app/interface/top-header/index.tsx +13 -15
- src/app/interface/top-header/logo.tsx +0 -0
public/logos/aitube-icon.png
ADDED
public/logos/aitube.jpg
ADDED
public/logos/aitube.png
ADDED
public/logos/aitube.svg
ADDED
src/app/interface/top-header/index.tsx
CHANGED
@@ -1,8 +1,11 @@
|
|
|
|
|
|
1 |
import { useEffect, useState, useTransition } from 'react'
|
2 |
|
3 |
import { Pathway_Gothic_One } from 'next/font/google'
|
4 |
import { PiPopcornBold } from "react-icons/pi"
|
5 |
import { GoSearch } from "react-icons/go"
|
|
|
6 |
|
7 |
const pathway = Pathway_Gothic_One({
|
8 |
weight: "400",
|
@@ -90,6 +93,7 @@ export function TopHeader() {
|
|
90 |
`flex flex-col items-start justify-center`,
|
91 |
`w-full sm:w-64`,
|
92 |
)}>
|
|
|
93 |
<div className={cn(
|
94 |
`flex flex-row items-center justify-start`,
|
95 |
`transition-all duration-200 ease-in-out`,
|
@@ -98,7 +102,7 @@ export function TopHeader() {
|
|
98 |
view === "public_music_videos" ? "pl-1" : "",
|
99 |
pathway.className,
|
100 |
isNormalSize
|
101 |
-
? "sm:scale-125 sm:ml-4 sm:mb-4" : "sm:scale-100 sm:mb-2"
|
102 |
)}
|
103 |
/*
|
104 |
onClick={() => {
|
@@ -106,23 +110,17 @@ export function TopHeader() {
|
|
106 |
}}
|
107 |
*/
|
108 |
>
|
109 |
-
<div className="
|
110 |
-
<div className=
|
111 |
-
|
112 |
-
`bg-yellow-300 text-neutral-950`,
|
113 |
-
`rounded-lg w-6 h-7`
|
114 |
-
)}>
|
115 |
-
<PiPopcornBold className={cn(
|
116 |
-
`size-5`
|
117 |
-
)} />
|
118 |
</div>
|
119 |
</div>
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
</Link>
|
125 |
</div>
|
|
|
126 |
</div>
|
127 |
<div className={cn(
|
128 |
// TODO: show the disclaimer on mobile too, maybe with a modal or something
|
|
|
1 |
+
"use client"
|
2 |
+
|
3 |
import { useEffect, useState, useTransition } from 'react'
|
4 |
|
5 |
import { Pathway_Gothic_One } from 'next/font/google'
|
6 |
import { PiPopcornBold } from "react-icons/pi"
|
7 |
import { GoSearch } from "react-icons/go"
|
8 |
+
import { AiTubeLogo } from "./logo"
|
9 |
|
10 |
const pathway = Pathway_Gothic_One({
|
11 |
weight: "400",
|
|
|
93 |
`flex flex-col items-start justify-center`,
|
94 |
`w-full sm:w-64`,
|
95 |
)}>
|
96 |
+
<Link href="/">
|
97 |
<div className={cn(
|
98 |
`flex flex-row items-center justify-start`,
|
99 |
`transition-all duration-200 ease-in-out`,
|
|
|
102 |
view === "public_music_videos" ? "pl-1" : "",
|
103 |
pathway.className,
|
104 |
isNormalSize
|
105 |
+
? "sm:scale-125 mb-2 sm:ml-4 sm:mb-4" : "sm:scale-100 sm:mb-2"
|
106 |
)}
|
107 |
/*
|
108 |
onClick={() => {
|
|
|
110 |
}}
|
111 |
*/
|
112 |
>
|
113 |
+
<div className="flex items-center justify-center overflow-hidden h-10 w-6">
|
114 |
+
<div className="scale-[5%]">
|
115 |
+
<AiTubeLogo />
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
</div>
|
117 |
</div>
|
118 |
+
|
119 |
+
<div className="font-semibold">
|
120 |
+
{view === "public_music_videos" ? "AiTube Music" : "AiTube"}
|
121 |
+
</div>
|
|
|
122 |
</div>
|
123 |
+
</Link>
|
124 |
</div>
|
125 |
<div className={cn(
|
126 |
// TODO: show the disclaimer on mobile too, maybe with a modal or something
|
src/app/interface/top-header/logo.tsx
ADDED
The diff for this file is too large to render.
See raw diff
|
|