File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="utf-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
6- < meta name ="theme-color " content ="#000000 ">
6+ < meta name ="theme-color " content ="#464646 ">
7+ < meta property ="og:title " content ="ডেভেলপার চিটশিট - বাংলা চিটশিটের ভান্ডার ">
8+ < meta property ="og:description " content ="ডেভেলপারদের জন্যে প্রয়োজনীয় সব চিটশিট একসাথে এবং সম্পূর্ণ বাংলা ভাষায়। নিজের মাতৃভাষায় চিটশিটের ভান্ডার সমৃদ্ধ করতে আপনিও যোগ দিন ">
9+ < meta property ="og:image " content ="https://with.zonayed.me/wp-content/uploads/2018/11/devsonket.png ">
710 <!--
811 manifest.json provides metadata used when your web app is added to the
912 homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
Original file line number Diff line number Diff line change 1010 ],
1111 "start_url" : " ./index.html" ,
1212 "display" : " standalone" ,
13- "theme_color" : " #000000 " ,
14- "background_color" : " #ffffff "
13+ "theme_color" : " #464646 " ,
14+ "background_color" : " #f2f2f2 "
1515}
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import HeaderContent from './HeaderContent';
88import Page404 from './404' ;
99import Footer from './Footer' ;
1010
11- import ogTag from '../utils/ogTag' ;
12-
1311class Content extends Component {
1412 state = {
1513 data : '' ,
@@ -26,16 +24,11 @@ class Content extends Component {
2624 document . title = `${ title } - ডেভেলপার চিটশীট` ;
2725 }
2826
29- setOGMeta = ( { title, description} ) => {
30- ogTag ( title , description ) ;
31- }
32-
3327 getData = async ( id ) => {
3428 try {
3529 const { data } = await axios ( `https://raw.githubusercontent.com/devsonket/devsonket.github.io/master/data/${ id } .json` ) ;
3630 this . setState ( { data} ) ;
3731 this . setTitle ( ) ;
38- this . setOGMeta ( this . state . data ) ;
3932 } catch ( e ) {
4033 this . setState ( { redirect : true } )
4134 }
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments