File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,3 +58,12 @@ NEXT_PUBLIC_UPI_ID=your_name@upi
5858# Buy Me a Coffee username — used to generate your donation page link.
5959# Your profile URL will be: https://buymeacoffee.com/<username>
6060NEXT_PUBLIC_BUYMEACOFFEE_USERNAME = your-username
61+
62+ # =============================================================================
63+ # SEO & VERIFICATION
64+ # =============================================================================
65+
66+ # Google Search Console site verification token.
67+ # Found in Search Console → Settings → Ownership verification → HTML tag method.
68+ # Copy only the content="..." value, not the full meta tag.
69+ NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION = your-google-site-verification-token
Original file line number Diff line number Diff line change 2727
2828 # Contact form (Formspree)
2929 NEXT_PUBLIC_FORMSPREE_FORM_ID : ${{ secrets.FORMSPREE_FORM_ID }}
30+
31+ # SEO & Verification
32+ NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION : ${{ secrets.GOOGLE_SITE_VERIFICATION }}
3033
3134 # Anti-spam CAPTCHA (Cloudflare Turnstile — public site key only)
3235 NEXT_PUBLIC_TURNSTILE_SITE_KEY : ${{ secrets.TURNSTILE_SITE_KEY }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Metadata } from 'next';
33import { Inter } from 'next/font/google' ;
44import Header from '@/app/components/layout/Header' ;
55import Footer from '@/app/components/layout/Footer' ;
6- import { Name , PortfolioURL } from '@/app/utils/config' ;
6+ import { Name , PortfolioURL , GoogleSiteVerification } from '@/app/utils/config' ;
77
88const inter = Inter ( {
99 subsets : [ 'latin' ] ,
@@ -27,9 +27,11 @@ export const metadata: Metadata = {
2727 type : "website"
2828 } ,
2929 metadataBase : new URL ( PortfolioURL ) ,
30+ verification : {
31+ google : GoogleSiteVerification ,
32+ } ,
3033} ;
3134
32-
3335// Root layout component that wraps all pages
3436export default function RootLayout ( {
3537 children,
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ export const DiscordLink = socialLinks[4].url;
5656export const BuyMeACoffeeLink = process . env . NEXT_PUBLIC_BUYMEACOFFEE_USERNAME ? `https://buymeacoffee.com/${ process . env . NEXT_PUBLIC_BUYMEACOFFEE_USERNAME } ` : null ;
5757export const UPI_ID = process . env . NEXT_PUBLIC_UPI_ID || '' ;
5858
59+ // --- SEO & Verification ---
60+ export const GoogleSiteVerification = process . env . NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION || '' ;
61+
5962// --- Portfolio Metadata ---
6063export const CurrentGithubLink = "https://github.com/Amitminer/amitminer.github.io/" ;
6164export const PortfolioURL = "https://amitminer.github.io" ;
You can’t perform that action at this time.
0 commit comments