File tree Expand file tree Collapse file tree 8 files changed +22
-15
lines changed
Expand file tree Collapse file tree 8 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 11import { Metadata } from "next" ;
22import { ComingSoon } from "@/components/sections/coming-soon" ;
3+ import { siteConfig } from "@/lib/config" ;
34
45const title = "About Us" ;
56const description = "Learn more about the ALPHA Chapter at the University of Hong Kong." ;
@@ -12,7 +13,7 @@ export const metadata: Metadata = {
1213 description,
1314 images : [
1415 {
15- url : "/ALPHA-HKU.png" ,
16+ url : siteConfig . seoImage ,
1617 width : 882 ,
1718 height : 802 ,
1819 alt : title ,
@@ -23,7 +24,7 @@ export const metadata: Metadata = {
2324 card : "summary_large_image" ,
2425 title,
2526 description,
26- images : [ "/ALPHA-HKU.png" ] ,
27+ images : [ siteConfig . seoImage ] ,
2728 } ,
2829} ;
2930
Original file line number Diff line number Diff line change 11import { Metadata } from "next" ;
22import { ComingSoon } from "@/components/sections/coming-soon" ;
3+ import { siteConfig } from "@/lib/config" ;
34
45const title = "Blog" ;
56const description =
@@ -13,7 +14,7 @@ export const metadata: Metadata = {
1314 description,
1415 images : [
1516 {
16- url : "/ALPHA-HKU.png" ,
17+ url : siteConfig . seoImage ,
1718 width : 882 ,
1819 height : 802 ,
1920 alt : title ,
@@ -24,7 +25,7 @@ export const metadata: Metadata = {
2425 card : "summary_large_image" ,
2526 title,
2627 description,
27- images : [ "/ALPHA-HKU.png" ] ,
28+ images : [ siteConfig . seoImage ] ,
2829 } ,
2930} ;
3031
Original file line number Diff line number Diff line change 11import { Metadata } from "next" ;
22import { ComingSoon } from "@/components/sections/coming-soon" ;
3+ import { siteConfig } from "@/lib/config" ;
34
45const title = "Contact Us" ;
56const description = "Get in touch with the ALPHA Chapter at the University of Hong Kong." ;
@@ -12,7 +13,7 @@ export const metadata: Metadata = {
1213 description,
1314 images : [
1415 {
15- url : "/ALPHA-HKU.png" ,
16+ url : siteConfig . seoImage ,
1617 width : 882 ,
1718 height : 802 ,
1819 alt : title ,
@@ -23,7 +24,7 @@ export const metadata: Metadata = {
2324 card : "summary_large_image" ,
2425 title,
2526 description,
26- images : [ "/ALPHA-HKU.png" ] ,
27+ images : [ siteConfig . seoImage ] ,
2728 } ,
2829} ;
2930
Original file line number Diff line number Diff line change 11import { Metadata } from "next" ;
22import { ComingSoon } from "@/components/sections/coming-soon" ;
3+ import { siteConfig } from "@/lib/config" ;
34
45const title = "Events" ;
56const description = "Find out about upcoming events from the ALPHA Chapter at the University of Hong Kong." ;
@@ -12,7 +13,7 @@ export const metadata: Metadata = {
1213 description,
1314 images : [
1415 {
15- url : "/ALPHA-HKU.png" ,
16+ url : siteConfig . seoImage ,
1617 width : 882 ,
1718 height : 802 ,
1819 alt : title ,
@@ -23,7 +24,7 @@ export const metadata: Metadata = {
2324 card : "summary_large_image" ,
2425 title,
2526 description,
26- images : [ "/ALPHA-HKU.png" ] ,
27+ images : [ siteConfig . seoImage ] ,
2728 } ,
2829} ;
2930
Original file line number Diff line number Diff line change 11import { Metadata } from "next" ;
22import { ComingSoon } from "@/components/sections/coming-soon" ;
3+ import { siteConfig } from "@/lib/config" ;
34
45const title = "Join Us" ;
56const description = "Join the ALPHA Chapter at the University of Hong Kong." ;
@@ -12,7 +13,7 @@ export const metadata: Metadata = {
1213 description,
1314 images : [
1415 {
15- url : "/ALPHA-HKU.png" ,
16+ url : siteConfig . seoImage ,
1617 width : 882 ,
1718 height : 802 ,
1819 alt : title ,
@@ -23,7 +24,7 @@ export const metadata: Metadata = {
2324 card : "summary_large_image" ,
2425 title,
2526 description,
26- images : [ "/ALPHA-HKU.png" ] ,
27+ images : [ siteConfig . seoImage ] ,
2728 } ,
2829} ;
2930
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const metadata: Metadata = {
3030 siteName : title ,
3131 images : [
3232 {
33- url : "/ALPHA-HKU.png" ,
33+ url : siteConfig . seoImage ,
3434 width : 882 ,
3535 height : 802 ,
3636 alt : title ,
@@ -43,7 +43,7 @@ export const metadata: Metadata = {
4343 card : "summary_large_image" ,
4444 title : title ,
4545 description : description ,
46- images : [ "/ALPHA-HKU.png" ] ,
46+ images : [ siteConfig . seoImage ] ,
4747 } ,
4848} ;
4949
@@ -57,7 +57,7 @@ export default function RootLayout({
5757 "@type" : "Organization" ,
5858 name : "ALPHA University Chapter at the University of Hong Kong" ,
5959 url : siteUrl ,
60- logo : `${ siteUrl } /ALPHA-HKU.png ` ,
60+ logo : `${ siteUrl } ${ siteConfig . seoImage } ` ,
6161 contactPoint : {
6262 "@type" : "ContactPoint" ,
6363 contactType : "customer support" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { Hero } from "@/components/sections/hero";
33import { FeaturedProgram } from "@/components/sections/featured-program" ;
44import { WhoWeAre } from "@/components/sections/who-we-are" ;
55import { WhatsHappening } from "@/components/sections/whats-happening" ;
6+ import { siteConfig } from "@/lib/config" ;
67
78const title = "Home - ALPHA HKU" ;
89const description =
@@ -16,7 +17,7 @@ export const metadata: Metadata = {
1617 description,
1718 images : [
1819 {
19- url : "/ALPHA-HKU.png" ,
20+ url : siteConfig . seoImage ,
2021 width : 882 ,
2122 height : 802 ,
2223 alt : title ,
@@ -27,7 +28,7 @@ export const metadata: Metadata = {
2728 card : "summary_large_image" ,
2829 title,
2930 description,
30- images : [ "/ALPHA-HKU.png" ] ,
31+ images : [ siteConfig . seoImage ] ,
3132 } ,
3233} ;
3334
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ export const siteConfig = {
55 linkedin : "https://www.linkedin.com/company/alpha-hku/" ,
66 donate : "mailto:alphahku1213@gmail.com?subject=Donation Inquiry" ,
77 parentOrg : "https://alphaeducation.org" ,
8+ seoImage : "/ALPHA-HKU.png" ,
89} ;
You can’t perform that action at this time.
0 commit comments