feat: sync design of header with current web
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
"use client"
|
"use client"
|
||||||
import { useParams } from "next/navigation"
|
|
||||||
import { useState } from "react"
|
import { useState } from "react"
|
||||||
|
|
||||||
import { Lang } from "@/constants/languages"
|
|
||||||
import { login } from "@/constants/routes/handleAuth"
|
import { login } from "@/constants/routes/handleAuth"
|
||||||
import { myPages } from "@/constants/routes/myPages"
|
import { myPages } from "@/constants/routes/myPages"
|
||||||
import { _ } from "@/lib/translation"
|
import { _ } from "@/lib/translation"
|
||||||
|
|||||||
@@ -329,6 +329,7 @@
|
|||||||
}
|
}
|
||||||
.navBar {
|
.navBar {
|
||||||
grid-template-columns: 140px auto 1fr;
|
grid-template-columns: 140px auto 1fr;
|
||||||
|
height: 82.4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoLink {
|
.logoLink {
|
||||||
|
|||||||
@@ -67,7 +67,17 @@
|
|||||||
.link {
|
.link {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
font-weight: 300;
|
}
|
||||||
|
|
||||||
|
.loginContainer {
|
||||||
|
margin-left: 10px;
|
||||||
|
background-color: #f3f2f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loginLink {
|
||||||
|
padding-left: 30px;
|
||||||
|
padding-right: 30px;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loginContainer {
|
.loginContainer {
|
||||||
|
|||||||
9
server/routers/contentstack/config/input.ts
Normal file
9
server/routers/contentstack/config/input.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import z from "zod"
|
||||||
|
|
||||||
|
import { Lang } from "@/constants/languages"
|
||||||
|
|
||||||
|
export const headerInput = z
|
||||||
|
.object({
|
||||||
|
lang: z.nativeEnum(Lang),
|
||||||
|
})
|
||||||
|
.optional()
|
||||||
Reference in New Issue
Block a user