File tree Expand file tree Collapse file tree 10 files changed +86
-3
lines changed
Expand file tree Collapse file tree 10 files changed +86
-3
lines changed Original file line number Diff line number Diff line change 2020 "match-sorter" : " ^6.3.1" ,
2121 "react" : " ^18.2.0" ,
2222 "react-dom" : " ^18.2.0" ,
23+ "react-helmet" : " ^6.1.0" ,
2324 "react-hook-form" : " ^7.44.3" ,
2425 "react-redux" : " ^8.0.5" ,
2526 "react-router-dom" : " ^6.10.0" ,
3637 "@types/aos" : " ^3.0.4" ,
3738 "@types/react" : " ^18.0.28" ,
3839 "@types/react-dom" : " ^18.0.11" ,
40+ "@types/react-helmet" : " ^6.1.6" ,
3941 "@types/styled-components" : " ^5.1.26" ,
4042 "@types/wavesurfer.js" : " ^6.0.6" ,
4143 "@vitejs/plugin-react" : " ^3.1.0" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { Label } from '@headlessui/react/dist/components/label/label'
1515import Button from '../../components/button'
1616import SampleCheckout from '../../components/samples/sample-checkout'
1717import { Transition } from '@headlessui/react'
18+ import { Helmet } from 'react-helmet'
1819
1920type PaymentProp = {
2021 img : string
@@ -42,6 +43,11 @@ function Checkout() {
4243 return (
4344 < >
4445 < Navbar />
46+ < Helmet >
47+ < meta charSet = "utf-8" />
48+ < title > // Checkout</ title >
49+ < link rel = "icon" type = "image/x-icon" href = "/pic/favicon/favicon.ico" />
50+ </ Helmet >
4551 < section className = "h-[21rem] bg-[url('/pic/checkout/checkout-header.png')] bg-cover bg-center" > </ section >
4652 < Container >
4753 { ' ' }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import Footer from '../../components/footer'
66import AOS from 'aos'
77import React , { useEffect } from 'react'
88import 'aos/dist/aos.css'
9+ import { Helmet } from 'react-helmet'
910
1011function LandingPage ( ) {
1112 useEffect ( ( ) => {
@@ -16,6 +17,15 @@ function LandingPage() {
1617 < >
1718 < main className = "" >
1819 < Navbar />
20+ < Helmet >
21+ < meta charSet = "utf-8" />
22+ < title > TUNEMA</ title >
23+ < link
24+ rel = "icon"
25+ type = "image/x-icon"
26+ href = "/pic/favicon/favicon.ico"
27+ />
28+ </ Helmet >
1929 < section className = "h-screen overflow-clip flex bg-[url('/pic/landing/landing_1.png')] bg-cover bg-center" >
2030 < Container >
2131 < div className = "h-screen max-w-[50%] flex flex-col justify-center text-white font-body gap-5 md:p-0 p-5" >
Original file line number Diff line number Diff line change @@ -9,11 +9,17 @@ import Sample from '../../components/samples/sample'
99import IconPlay from '../../components/icons/icon-play'
1010import DropdownSort from '../../components/dropdown/dropdown-sort'
1111import FooterMobile from '../../components/footer-mobile'
12+ import { Helmet } from 'react-helmet'
1213
1314function Library ( ) {
1415 return (
1516 < >
1617 < Navbar />
18+ < Helmet >
19+ < meta charSet = "utf-8" />
20+ < title > // Library</ title >
21+ < link rel = "icon" type = "image/x-icon" href = "/pic/favicon/favicon.ico" />
22+ </ Helmet >
1723 < section className = "h-[21rem] bg-[url('/pic/library/library-header.png')] bg-cover bg-center" > </ section >
1824 < Container >
1925 { ' ' }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import IconGoogle from '../../components/icons/icon-google'
66import IconSoundcloud from '../../components/icons/icon-soundcloud'
77import Navbar from '../../components/Navbar/navbar'
88import { useAuthStore } from '../../store/useAuthStore'
9+ import { Helmet } from 'react-helmet'
910
1011const LoginWith3rdParty = ( ) => (
1112 < >
@@ -122,6 +123,11 @@ function Login() {
122123 return (
123124 < >
124125 < Navbar />
126+ < Helmet >
127+ < meta charSet = "utf-8" />
128+ < title > // Login</ title >
129+ < link rel = "icon" type = "image/x-icon" href = "/pic/favicon/favicon.ico" />
130+ </ Helmet >
125131 < main >
126132 < section className = "flex h-full w-full bg-white justify-center" >
127133 < div className = "flex md:bg-[url('/pic/login/login.png')] md:w-full md:bg-cover" > </ div >
Original file line number Diff line number Diff line change 11import { useForm } from 'react-hook-form'
2- import { useNavigate } from 'react-router-dom'
2+ import { Link , useNavigate } from 'react-router-dom'
33import Button from '../../components/button'
44import Container from '../../components/container'
55import IconGoogle from '../../components/icons/icon-google'
66import IconSoundcloud from '../../components/icons/icon-soundcloud'
77import Navbar from '../../components/Navbar/navbar'
88import { useAuthStore } from '../../store/useAuthStore'
9+ import { Helmet } from 'react-helmet'
910
1011type RegisterFormData = {
1112 username : string
@@ -47,6 +48,11 @@ function Register() {
4748 return (
4849 < >
4950 < Navbar />
51+ < Helmet >
52+ < meta charSet = "utf-8" />
53+ < title > // Register</ title >
54+ < link rel = "icon" type = "image/x-icon" href = "/pic/favicon/favicon.ico" />
55+ </ Helmet >
5056 < main >
5157 < section className = "flex h-full w-full bg-white justify-center" >
5258 < div className = "flex md:bg-[url('/pic/login/login.png')] md:w-full md:bg-cover" > </ div >
@@ -153,9 +159,12 @@ function Register() {
153159 </ form >
154160 < div className = "flex flex-row w-full justify-center pt-5 pb-10 font-medium text-small text-gray-3" >
155161 Already have an account?
156- < u className = "indent-1 text-dark-green hover:text-primary-green bg-white" >
162+ < Link
163+ to = "/login"
164+ className = "indent-1 text-dark-green hover:text-primary-green bg-white"
165+ >
157166 Login
158- </ u >
167+ </ Link >
159168 </ div >
160169 </ Container >
161170 </ section >
Original file line number Diff line number Diff line change @@ -9,11 +9,17 @@ import Sample from '../../components/samples/sample'
99import SearchBar from '../../components/searchbar'
1010import Type from '../../components/type'
1111import BuySample from '../../components/samples/buy-sample'
12+ import { Helmet } from 'react-helmet'
1213
1314function SampleCart ( ) {
1415 return (
1516 < >
1617 < Navbar />
18+ < Helmet >
19+ < meta charSet = "utf-8" />
20+ < title > // Sample-Cart</ title >
21+ < link rel = "icon" type = "image/x-icon" href = "/pic/favicon/favicon.ico" />
22+ </ Helmet >
1723 < section className = "h-[21rem] bg-[url('/pic/samplecart/samplecart-header.png')] bg-cover bg-center" > </ section >
1824 < Container >
1925 { ' ' }
You can’t perform that action at this time.
0 commit comments