refactor: move divider to design system

remove not used variants and duplicate colors
This commit is contained in:
Christian Andolf
2025-06-12 15:56:33 +02:00
parent 2dd07eb6b8
commit 9551a629fa
71 changed files with 231 additions and 244 deletions

View File

@@ -1,3 +1,4 @@
import { Divider } from "@scandic-hotels/design-system/Divider"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { logout } from "@/constants/routes/handleAuth"
@@ -5,7 +6,6 @@ import { getProfileSafely } from "@/lib/trpc/memoizedRequests"
import { serverClient } from "@/lib/trpc/server"
import { SASLevelUpgradeCheck } from "@/components/MyPages/SASLevelUpgradeCheck"
import Divider from "@/components/TempDesignSystem/Divider"
import Link from "@/components/TempDesignSystem/Link"
import { getIntl } from "@/i18n"
import { getLang } from "@/i18n/serverContext"
@@ -45,7 +45,7 @@ async function PrimaryLinks() {
return (
<>
<Divider color="beige" />
<Divider />
<ul className={styles.list}>
{nav?.primaryLinks.map((link) => (
<li key={link.href}>
@@ -74,7 +74,7 @@ async function SecondaryLinks() {
return (
<>
<Divider color="beige" />
<Divider />
<ul className={styles.list}>
{nav?.secondaryLinks.map((link) => (
<li key={link.href}>