File tree 6 files changed +32
-3
lines changed
6 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 14
14
"preline" : " ^1.9.0" ,
15
15
"react" : " 18.2.0" ,
16
16
"react-dom" : " 18.2.0" ,
17
+ "react-icons" : " ^4.10.1" ,
17
18
"tailwindcss" : " 3.3.2" ,
18
19
"typescript" : " 5.1.6"
19
20
},
Original file line number Diff line number Diff line change 1
1
'use client'
2
2
3
3
import cities from '@/app/resource/cities.json'
4
+ import { GensosenkyoFooter } from '@/app/components/GensosenkyoFooter'
4
5
5
6
const Cities = ( ) => {
6
7
return (
@@ -32,7 +33,7 @@ const Cities = () => {
32
33
< div className = "my-6" >
33
34
< hr />
34
35
</ div >
35
- < div className = "text-center pt-2 pb-6" > 2023 οΌζ ͺοΌεΉ»ζ°΄η·ιΈζ </ div >
36
+ < GensosenkyoFooter / >
36
37
</ div >
37
38
)
38
39
}
Original file line number Diff line number Diff line change
1
+ import Link from 'next/link'
2
+ import { BiLinkExternal } from 'react-icons/bi'
3
+
4
+ export const GensosenkyoFooter = ( ) => {
5
+ return (
6
+ < div className = "relative overflow-hidden" >
7
+ < div className = "text-center" >
8
+ < h1 className = "font-bold text-white dark:text-white pt-2 pb-6" >
9
+ < Link href = "https://election.suikoden.info/" passHref >
10
+ < div className = "flex flex-row justify-center" >
11
+ εΉ»ζ°΄η·ιΈζ2023
12
+ < BiLinkExternal className = "pt-1" />
13
+ </ div >
14
+ </ Link >
15
+ </ h1 >
16
+ </ div >
17
+ </ div >
18
+ )
19
+ }
Original file line number Diff line number Diff line change 1
1
'use client'
2
2
3
3
import headquartersCharacters from '@/app/resource/headquartersCharacters.json'
4
+ import { GensosenkyoFooter } from '@/app/components/GensosenkyoFooter'
4
5
5
6
const Cities = ( ) => {
6
7
return (
@@ -34,7 +35,8 @@ const Cities = () => {
34
35
< div className = "my-6" >
35
36
< hr />
36
37
</ div >
37
- < div className = "text-center pt-2 pb-6" > 2023 οΌζ ͺοΌεΉ»ζ°΄η·ιΈζ</ div >
38
+
39
+ < GensosenkyoFooter />
38
40
</ div >
39
41
)
40
42
}
Original file line number Diff line number Diff line change 1
1
import Link from 'next/link'
2
+ import { GensosenkyoFooter } from '@/app/components/GensosenkyoFooter'
2
3
3
4
const Home = async ( ) => {
4
5
return (
@@ -41,7 +42,7 @@ const Home = async () => {
41
42
< div className = "my-6" >
42
43
< hr />
43
44
</ div >
44
- < div className = "py-2" > 2023 οΌζ ͺοΌεΉ»ζ°΄η·ιΈζ </ div >
45
+ < GensosenkyoFooter / >
45
46
</ div >
46
47
</ div >
47
48
</ div >
Original file line number Diff line number Diff line change 2041
2041
loose-envify "^1.1.0"
2042
2042
scheduler "^0.23.0"
2043
2043
2044
+ react-icons@^4.10.1 :
2045
+ version "4.10.1"
2046
+ resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.10.1.tgz#3f3b5eec1f63c1796f6a26174a1091ca6437a500"
2047
+ integrity sha512-/ngzDP/77tlCfqthiiGNZeYFACw85fUjZtLbedmJ5DTlNDIwETxhwBzdOJ21zj4iJdvc0J3y7yOsX3PpxAJzrw==
2048
+
2044
2049
react-is@^16.13.1 :
2045
2050
version "16.13.1"
2046
2051
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
You canβt perform that action at this time.
0 commit comments