feat: rename dummy data file to meta and update references; change APP title and logo

This commit is contained in:
Ardeman 2025-02-03 18:10:11 +08:00
parent 7ee342f493
commit 35b7e86687
7 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
export const APP = { export const APP = {
title: 'React Router', title: 'LegalGo',
description: description:
'Bonus judex secundum aequum et\n bonum judicat et aequitatem stricto juri praefert', 'Bonus judex secundum aequum et\n bonum judicat et aequitatem stricto juri praefert',
logo: '/images/logo.svg', logo: '/images/logo.png',
} }
export const META_TITLE_CONFIG = [ export const META_TITLE_CONFIG = [

View File

@ -1,6 +1,6 @@
import { Link } from 'react-router' import { Link } from 'react-router'
import { APP } from '~/data/dummy' import { APP } from '~/data/meta'
import { COPYRIGHT_MENU, FOOTER_MENU } from './menu' import { COPYRIGHT_MENU, FOOTER_MENU } from './menu'

View File

@ -1,7 +1,7 @@
import { Link } from 'react-router' import { Link } from 'react-router'
import { Button } from '~/components/ui/button' import { Button } from '~/components/ui/button'
import { APP } from '~/data/dummy' import { APP } from '~/data/meta'
export const FooterNewsletter = () => { export const FooterNewsletter = () => {
return ( return (

View File

@ -1,7 +1,7 @@
import { Link } from 'react-router' import { Link } from 'react-router'
import { Button } from '~/components/ui/button' import { Button } from '~/components/ui/button'
import { APP } from '~/data/dummy' import { APP } from '~/data/meta'
export const HeaderTop = () => { export const HeaderTop = () => {
return ( return (

View File

@ -9,7 +9,7 @@ import {
import type { Route } from './+types/root' import type { Route } from './+types/root'
import './app.css' import './app.css'
import { APP, META_TITLE_CONFIG } from './data/dummy' import { APP, META_TITLE_CONFIG } from './data/meta'
export const links: Route.LinksFunction = () => [ export const links: Route.LinksFunction = () => [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' }, { rel: 'preconnect', href: 'https://fonts.googleapis.com' },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB