fix: simplify home barrel export and use semantic tokens
Docker Build / Build and Push Docker Image (push) Failing after 1m39s

This commit is contained in:
2026-06-14 18:08:41 +08:00
parent da8cf3eef0
commit 60fc1eee31
2 changed files with 3 additions and 7 deletions
-4
View File
@@ -16,8 +16,4 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact admin@modelstoken.com For commercial licensing, please contact admin@modelstoken.com
*/ */
export { CTA } from './sections/cta'
export { Features } from './sections/features'
export { Hero } from './sections/hero' export { Hero } from './sections/hero'
export { HowItWorks } from './sections/how-it-works'
export { Stats } from './sections/stats'
+3 -3
View File
@@ -33,8 +33,8 @@ export function Home() {
if (!isLoaded) { if (!isLoaded) {
return ( return (
<PublicLayout showMainContainer={false}> <PublicLayout showMainContainer={false}>
<main className='flex min-h-screen items-center justify-center bg-[#0A0E14]'> <main className='flex min-h-screen items-center justify-center bg-background'>
<div className='text-[#5C6370]'>{t('Loading...')}</div> <div className='text-muted-foreground'>{t('Loading...')}</div>
</main> </main>
</PublicLayout> </PublicLayout>
) )
@@ -43,7 +43,7 @@ export function Home() {
if (content) { if (content) {
return ( return (
<PublicLayout showMainContainer={false}> <PublicLayout showMainContainer={false}>
<main className='overflow-x-hidden bg-[#0A0E14]'> <main className='overflow-x-hidden bg-background'>
{isUrl ? ( {isUrl ? (
<iframe <iframe
src={content} src={content}