File tree Expand file tree Collapse file tree 10 files changed +61
-0
lines changed
bolt-qwik/src/components/router-head Expand file tree Collapse file tree 10 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 44 < title > My app</ title >
55 < meta charset ="UTF-8 " />
66 < base href ="/ ">
7+ < meta property ="og:image " content ="https://bolt.new/static/og_default.png " />
8+ < meta name ="twitter:card " content ="summary_large_image " />
9+ < meta name ="twitter:image " content ="https://bolt.new/static/og_default.png " />
710 </ head >
811 < body >
912 < app-root > Loading...</ app-root >
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ const { title } = Astro.props;
1212 <meta charset =" UTF-8" />
1313 <meta name =" description" content =" Astro description" />
1414 <meta name =" viewport" content =" width=device-width" />
15+ <meta property =" og:image" content =" https://bolt.new/static/og_default.png" />
16+ <meta name =" twitter:card" content =" summary_large_image" />
17+ <meta name =" twitter:image" content =" https://bolt.new/static/og_default.png" />
1518 <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
1619 <meta name =" generator" content ={ Astro .generator } />
1720 <title >{ title } </title >
Original file line number Diff line number Diff line change @@ -15,6 +15,15 @@ export const RouterHead = component$(() => {
1515
1616 < link rel = "canonical" href = { loc . url . href } />
1717 < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
18+ < meta
19+ property = "og:image"
20+ content = "https://bolt.new/static/og_default.png"
21+ />
22+ < meta name = "twitter:card" content = "summary_large_image" />
23+ < meta
24+ name = "twitter:image"
25+ content = "https://bolt.new/static/og_default.png"
26+ />
1827 < link rel = "icon" type = "image/svg+xml" href = "/favicon.svg" />
1928
2029 { head . meta . map ( ( m ) => (
Original file line number Diff line number Diff line change 55 < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > Vite + React + TS</ title >
8+ < meta property ="og:image " content ="https://bolt.new/static/og_default.png " />
9+ < meta name ="twitter:card " content ="summary_large_image " />
10+ < meta name ="twitter:image " content ="https://bolt.new/static/og_default.png " />
811 </ head >
912 < body >
1013 < div id ="root "> </ div >
Original file line number Diff line number Diff line change 55 < meta charset ="UTF-8 " />
66 < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
77 < meta name ="viewport " content ="width=device-width " />
8+ < meta property ="og:image " content ="https://bolt.new/static/og_default.png " />
9+ < meta name ="twitter:card " content ="summary_large_image " />
10+ < meta name ="twitter:image " content ="https://bolt.new/static/og_default.png " />
811 </ head >
912 < body >
1013 < div id ="app "> </ div >
Original file line number Diff line number Diff line change 55 < meta charset ="UTF-8 " />
66 < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
77 < meta name ="viewport " content ="width=device-width " />
8+ < meta property ="og:image " content ="https://bolt.new/static/og_default.png " />
9+ < meta name ="twitter:card " content ="summary_large_image " />
10+ < meta name ="twitter:image " content ="https://bolt.new/static/og_default.png " />
811 </ head >
912 < body >
1013 < div id ="app "> </ div >
Original file line number Diff line number Diff line change @@ -7,6 +7,21 @@ const inter = Inter({ subsets: ['latin'] });
77export const metadata : Metadata = {
88 title : 'Create Next App' ,
99 description : 'Generated by create next app' ,
10+ openGraph : {
11+ images : [
12+ {
13+ url : 'https://bolt.new/static/og_default.png' ,
14+ } ,
15+ ] ,
16+ } ,
17+ twitter : {
18+ card : 'summary_large_image' ,
19+ images : [
20+ {
21+ url : 'https://bolt.new/static/og_default.png' ,
22+ } ,
23+ ] ,
24+ } ,
1025} ;
1126
1227export default function RootLayout ( {
Original file line number Diff line number Diff line change @@ -7,6 +7,21 @@ const inter = Inter({ subsets: ['latin'] });
77export const metadata : Metadata = {
88 title : 'Create Next App' ,
99 description : 'Generated by create next app' ,
10+ openGraph : {
11+ images : [
12+ {
13+ url : 'https://bolt.new/static/og_default.png' ,
14+ } ,
15+ ] ,
16+ } ,
17+ twitter : {
18+ card : 'summary_large_image' ,
19+ images : [
20+ {
21+ url : 'https://bolt.new/static/og_default.png' ,
22+ } ,
23+ ] ,
24+ } ,
1025} ;
1126
1227export default function RootLayout ( {
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ drawings:
2222# use UnoCSS (experimental)
2323css : unocss
2424wakeLock : " build"
25+ seoMeta :
26+ ogImage : https://bolt.new/static/og_default.png
27+ twitterCard : summary_large_image
28+ twitterImage : https://bolt.new/static/og_default.png
2529---
2630
2731# Welcome to Slidev
Original file line number Diff line number Diff line change 55 < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > ⚡️ Bolt.new + Vite + React</ title >
8+ < meta property ="og:image " content ="https://bolt.new/static/og_default.png " />
9+ < meta name ="twitter:card " content ="summary_large_image " />
10+ < meta name ="twitter:image " content ="https://bolt.new/static/og_default.png " />
811 </ head >
912 < body >
1013 < div id ="root "> </ div >
You can’t perform that action at this time.
0 commit comments