? ??? ??? ? ????? ???? ?? ? ?? ?? ??? ?? ????. ????? Gatsby?? ?? ??? URL? ?? ?? ???? ????? ??? ?????? ???? ????.
?? ???? ? ?? ??? ?? ?????. ??? ??, ??? ? ????? ??? ?? ???? ??? ?? ? ????.
?? URL? ??? ??
??? ??? ?? ? ???? ?? ?? ? ? ??? ?????. ? ?? ???? URL? ?? ????? ? ?? ?? ??? ?? ? ? ????.
?? ??
?? URL? ??? ? ?? ??? ?? ?? ??? ?? ?????.
<link rel="canonical" href="%7Burl%7D"> <meta property="og : url" content="{url}">
?? ??
?? ???? ?? ??? ?? ?? ?? ???? ?? ? ????? ?????. ?? ?? ? (Creative Market?? ??)
????
??? ???? ??? ???? ???? ?? ? ? ??????. ?? ??? ?? ?? ???? ??? ? ? ????. ??? ?? ? ??? ??? ?? (?, ??? ??? URL ??) ? ? ????. ??? ?? ????.
'React'?? React React; '???? ???'?? ???? ? ??; const ???? = ({path, children}) => ( <styledlayout> {????} </styledlayout> ); Const StyledLayout = Styled.Main` ??? : $ {({path}) => (path === '/'? '#fff': '#000')}; `;; ?? ???? ????;
???? ??? ???? ???? ?? ??? ???? ?? ??? ??????.
? ? ??? ?????? ?? ?? ?? ????? ????. ?? ??? URL? ???? ? ?? ??? ??? ?????. ??? ??? ??? ?????
?? ?? ? ???? ??????
??? ??? ????! ?? ??? ?? ? ??? ???? ?? ??? ???? ??? ???? ? ?? ?? ??? ??? ???? ????.
??? ???? ? ? ??? Gatsby? ?? ?? ?? ???? ?? ??? ????? ????. ?, ?? ?? (????? HTML ? JavaScript)? ????? ?? ?????. ???? ? ????? ??? ??????? ????. ?? ?? (?? ??? URL ??)? ?? ???? ?? ??? ?? ?? ???? ?? ?? ?? ?? ??? ?? ????????.
??? ??? ???? ? ? ?? ??? ???? ????? : ?? ?? ? ???. ?? ??? ??? ?? ?? ?? ????. ??? ??? ? ??? ????.
???? ???? ?? ?? ??? ? ??? ??? ?????. ? ?? ???? ?? ??? URL? ???? Window API? ???? ?? ??? ???? API? ??? ? ? ????.
???? ?? ? ??? ?? ???? ??? ? ?? ???? ????? ???? ?? ????? ?? ???? ????. ?, Window Object Work? ?? ?? ??? ???? ??? ???? ????.
Gatsby Build ??? ???? ??? ??? Gatsby?? ?? ??? ? ??? ????? ?? ? ? ?? ??? ?????. ?? ???? ????? ???? ????. ??? ??? ? ??? ??? ? ??? ?? ?????.
?? a-ha? ??! ??. ??? ?????? ???? ?? URL? ?? ??? ?? ? ????????? ?? Gatsby? ??? ???? ??? ??? ??????? ?? ?? ??. ???? ??? ?? ??? ?? ? ??? ?? URL? ???? ? ?? ????. ??? ??? ???????.
??? ?? ???? ?????, ???? WordPress ???? ???? ?? ??? ??? ?? ?? ? ??? ?? ? ????. Gatsby? ????? ?? ?? ?? ??? ????? ?? ?? ????. ??? ????.
?? ??? ?? ???? ?? ???? URL? ???? ?? ???? ?????.
?? 1 : Window.location ??? HREF ?? ??
? ? ?? ??? Gatsby?? ???? ??? ????? ?? ?? JavaScript ?? ?????? ??? ? ????. ????? ??? ?? ?????.
?? ???? URL? ?? ???? ?? ??? ?? ?? ?? ?? ? ??? ????? ?? ? ???. ??? ??? ?? ?????.
'React'?? React React; const foo = () => { const url = typeof window! == 'undefined'? Window.location.href : ''; ?? ( ); }; ?? ?? FOO;
? ??? ??? ?? ?? ? ?? ??? HREF ??? ????. ??? ?? ?? URL ??? ? ??? ?? ?????.
???? ???? ??? ?? ???.
const url = window.location.href;
… ??? ??? ?? ??? ??? ?????.
??? ? ?? HTML? ???? ????? -2.431 ?? #95312 ?? ? ??? ?? "?"? ??? ? ????.
??? ????? ????? ?? ?? ?? ???? ?? ??? ?????. ???? ??? ? ?????. ???? ?? ??? URL? ??? ?? ??? ? ????.
??? ? ??? ????! ?? ?? ?? ??? ??? ?? ? ?? ???? ? ??? ??? ? ? ????. ?? ??, ?? ?? ???? URL ??? ?? ??? ????.
?? 2 : ???? ?? ???? HREF ??? ?????.
Gatsby? ?? ??? ? ??? ?? ???? ?? ???? ?? ??? ?? ? ?? ??? ????. ??? Window.location? ??? ??? ?? ???? ????.
??? ?? ?? :
?? ?? ?? ?? ????? ?? ??? ??? ? ??? ????.
??? ??? ????? ? ????. Gatsby? ?? ???? ?? ?? ??? ??? ????? Window.location? ?? ???? ???? HREF ??? ???? ??? ? ? ????. ??? ??? ?????? ??, ??? ????. HREF ??? ??? ?? ? ????.
??? ?? ??? ?? ??? ?? ???? ?? ?? ??? ???? ?? ?? ?? ??? ???? ???? ????.
? ?? ?? ??? ?? ???? ??? ?? ??? ?? ? ? ??? ?? ?? ?? HREF ??? ?? ??? ??? ?? ????. ?? ?? ???,? ??? ???? ?? ??? ?? ?? ????? ??? ?? ?? ??? ???? ????.
? ??? ???? ?? ??? ?? ??? ???.
'React'?? React React; const page = ({location}) => { const url = location.href? location.href : ''; ?? ( ); }; ???? ?? ???;
??? ??? ??? ?? ??? ?? ?? ?????. ???? ?? ?? ????? ??? ? ????. ?? ??? ???? ????.
?????,? ??? ?? ??? ?? ?????. URL? ??? ?? ? ??? ??? ??????.
??? ?? ???? ?? ?? ?? URL? ??? ?? ????????? ? ?? ???? ?? ???.
?? 3 : ?? ????? PathName ???? ?? ??? URL? ?????.
? ???? ?? ???? ????? ?? ???? ?? URL? ??????? ?? ? ???? ?? URL? ???? ???? ?? ?? ?? ??? ? ???????. ????? ??? ?? ??????.
?? ??, ???? ??? ??????. ???? ????? ?? ?? ?? ??? URL? ???? ?? ?????. ??? ??? ?? ??? ??? ?????? ? HREF ??? ? ? ????.
??? ?????.
- gatsby-config.js? siteemetAdata? siteUrl ??? ??????.
- ?? ?? ???? SiteMetAdata? ????? ?? ?? ??? ????.
- ? ??? ???? siteUrl? ?????.
- ???? ??? ???? ?? ?? ??????.
? ??? ?? ???.
gatsby-config.js? siteemetAdata? siteUrl ??? ??????
Gatsby?? Gatsby-config.js?? ?? ??? ??? SiteemetAdata ?? ??? ???? ?? ??? ??? ???? ? ??? ? ????. ??? ???? ??? ???? ?? ??? SiteUrl? ?? ? ????.
module.exports = { siteemetadata : { ?? : 'Dmitry Mayorov', ?? : 'Dmitry? ?? ???? ???? ??? ?? ??????.', ?? : '@dmtrmrv', siteurl : 'https://dmtrmrv.com', } };
?? ?? ???? SiteMetadata? ????? ?? ?? ?? ??
???? ?? ???? SiteMetadata? ???? ??? ?????. ? ??? Gatsby? ?? API? ????? ??? ??? ? ? ????. ???? ??? usestaticquery hook? ?? ??? ? ??? ? ????? ???? ? ?? ??? ?? ??? ??? ??? ?? ????. ?? ?? ??? ?? ?? ? ????.
?? ?? ???? SRC ?? ??? ?? ?? ???? use-site-metadata.js?? ??? ???? ?? ??? ???? ?? ?????.
'???'?? {usestaticquery, graphql} import; const usatesitemetadata = () => { const {site} = usestaticquery ( ??? QL ?? { ??? { siteemetadata { ?? ?? ?? siteUrl } } } `, ); Return Site.SitemetAdata; }; ???? ?? useitemetAdata;
??, ??, ?? ? SiteemetAdata ????? ?? ??? ?? ?? ??? GraphQL ??? ????? ??????.
? ??? ???? siteUrl? ?????
???? ??? ??? ????. ??? ??? URL? ?? ?? ?? ?? ??? ?????.
'React'?? React React; 'React-Helmet'?? ?? ?? ??; '../hooks/use-site-metadata'?? avest usatesitemetadata; const page = ({location}) => { const {siteurl} = useitemetadata (); ?? ( <link rel="canonical" href="%7B%60%24"> ??> ); }; ???? ?? ???;
?????.
3 ??? ??? ?? ??? ?? useitemetadata ??? ?????.
'../hooks/use-site-metadata'?? avest usatesitemetadata;
?? ?? 6 ??? ??? ? ???? ???? SiteUrl ??? ?????. ?? ?? ? ??? ?? ??? ??? ??? URL? ????. ???!
const {siteurl} = useitemetadata ();
??? URL? ??? ??? ???? ?? ?? ??????.
?? ? ?? ??? ?? ??? ??????? ??? ?? ? ??? ?? ? ??? ?? PathName ??? ????? ????. ??? ?? ??? ??????? ????? ? ?? ? ??? ???? ????.
`$ {siteurl} $ {location.pathname}`
??? ??? ?????? ??? ?? ???? ???? ?? ??? ??? ? ????. ?? ??? ??? ??? ?? ?? ?????.
? ???? React Helmet? ???? ????. ?? ? ?? ??? React Applications?? ?? ??? ????? ?????. Darrell Hoffman? CSS- ??? ?? ?? ??? ????.
?? 4 : ?? ??? ?? ??? URL? ?????.
???! ?? ???? ????? Gatsby? ?? ??? ???? ???? ?, ???? ?????. ??? ??? ???? ??? ??? ????.
?? ?? ??? Gatsby? ?? ?? ?? ?? ???? ?????. ??? ??? ?? ????. ? ?? Gatsby? ?? ???? ?? API? ???? ?? ????? ??? ? ??? ????.
???? ?? ????? API? Onrenderbody?? ????. ???? ?? ??? ?? ????? ???? ???? ???? ? ?????. ??? ?? (? ?? ?? ? API)?? ???? ?? PathName ?? ??? ??? ????. ?, "????"?? ??? URL? ?? ? ? ????.
? ??? ????? ???? ?? ??? ?? ??? ???? ?????. ? ?? ??? ? ???? ?????. ??? ?? ??, Onrenderbody? ???? ???? ?? ??? ?? ? ??? ??? ?? ??????.
?? ? API? ????? ???? ?? ????? Gatsby-SSR.JS?? ??? ??? ???????. ?? ??? ??? ????? ??? ?? ??? ?????.
const react = require ( 'react'); const config = require ( './ gatsby-config'); Exports.onrenderbody = ({pathName, setheadcomponents}) => { ?? ?? ( <link rel="canonical" href="%7B%60%24">, ]); };
? ??? ??? ???????.
1 ?? ??? ?????. JSX ??? ????????. ?? ?? 2 ??? Gatsby-config.js ??? ???? ?? ??? ?????.
????, ??? Onrenderbody ??? SetheadComponents ???? ???? ??? ??? ?? ? ?? ?? ??? ?????. ??? ??, ??? ?? ??? ?? ?????. ??? ?? ??? HREF ??? ?? SiteUrl? PathName? ?????.
`$ {config.sitemetadata.siteurl} $ {pathname}`
?? ????, ??? ??? ?? ??? ??? ???? ??? ???? Gatsby?? ?? ??? ???? ?? ???? ?? URL? ?? ? ??? ?? ? API? ??? ?? ?? ????.
Gatsby?? ?? ? ???? ?? ??? ?? ??? ?? ??? ?? ??? ????.
?? ??!
?????, Gatsby?? ?? ???? URL? ?? ?? ??? ???? ????. ?? ?? ??? ???? ??? ??? ??? ?? ?? ???? ????. ?? ??? ?? ??? ??? ??????!
??
- JavaScript ? ?????
- ??? ?? ????? ??
- ??? ?? ???
- ??? ?? ??? API
- ?? ??
? ??? Gatsby?? ?? ??? URL? ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

CSS?? ????? ??? ? ?? ??? ????. 1. HTML ? CSS? ?? ??? ?????? ???? ?? ???? ?? ???? ??????. 2. ?? ??? ??? ?? ???? ???? ?? ?? ??? ?? ?? ??? ??????. 3. ??? ????? ???? JavaScript? ?? ???? ?????? ??? ?????. ? ?? ??? ??? ??? ????? ?? ??, ??, ??? ? ?? ???? ?? ?? ?? ??? ???? ?????.

CSS ???? ??? ? ??? ??? ????? ???? ??? ???? ???? ?? ?? ???? ????? ???????. 1. Flexbox ? ??? ??? ?? ???? ??? ??, ?? : ??? ?? ? ????? ??? ????. 2. Caniuse ?? ?? ?? ??? ??????. 3. -webkit-, -moz-, -ms-, -o- ? ?? ???? ???? ???? ?????. 4. AutoPrefixer? ???? ???? ???? ???? ?? ????. 5. ?? ????? ????? PostCSS? ???? BrowsersList? ??????. 6. ?? ? ???? ???? ?????. 7. Modernizr ?? ??? ??? ????? ??? ? ????. 8. ?? ????? ???? ?? ? ??? ????.

CSS? ?? ?? ??? ??? ??? ???? ???? SVG? ???? ?? ???, ?? ????, ??? ?? ?? ??? ?? ???? ??????. ??? ??? ????. 1. ?, ??, ??? ?? ?? ??? ?? ??? ?????. 2. ?? ?? ? ??? ???? ??? ? ????. 3. ?????? ?? ?? ?? ?? ????? ???? ?? ??? ?? ? ? ????. 4. ???? ???? ??? ??? ??? ????? ?? ? ??? ????. ???? ???? ?? ?? ?? : ? (50pxatcenter) ? ??? ?? ?? : ??? (50%0%, 100 0%, 0%)? ?? ????. ????

themaindifferencesbetweendisplay : ???, ??, andinline-blockinhtml/cssarelayoutbehavior, spaceusage ? stylingcontrol.1.inlineElementsFlowWithText, do n'tStartonnewlines, ingorewidth/height, andonlyapplyhorizontalpadding/margins —IdealforIneTeTexting

??? ?? ???? ???? ??? ??, ?? ??? ??? ? ? ????? ??? ??? ???? ???? ? ? ?? ? ? ????. 1. CSS ?? : ?? ??? ???? ???? ?? ??; 2. ????? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 3. ?? ??? ??? ??? ??? ?? ?? ???? ????????. 4. ??? ????? ??? ???? ?? ? ??? ??? ?? ??? ?? ?? ??? ????? ???? ?? ????.

thecspaintingapienablesDynamicAmageGenerationIncsSusingjavaScript.1.DevelopersCreateApaIntWorkletClasswitHapaint () ??? () ???

CSS? ???? ?? ? ???? ???? ??? ?? ??? ?? ?? ?? ? ? ????. 1. Max width : 100% ? ?? : Auto? ???? ???? ??? ????? ???? ??? ??? ? ??????. 2. HTML? SRCSET ? ?? ??? ???? ?? ??? ??? ??? ??? ???????????. 3. ?? ?? ? ?? ??? ???? ??? ??? ? ?? ?????? ??????. ? ??? ?? ???? ?? ???? ???? ???? ????????.

?? ????? CSS ?? ??? ????? ?? ?? ??? ??, ?? ?? ?? ??, Flexbox ? ??? ???? ?? ?? ? ?? CSS ??? ????? ??? ???? ???? ?? ????? ??? ?????. 1. ?? ??? ??? ???? ????. ???? CSSRESET ?? NALLER.CSS? ???? ?? ???? ???? ????. 2. IE? ?? ??? ?? ?? ?? ??? ????. ?? ?? : ?? ? ???? ??? ??? ???? ?? ????. 3. Flexbox ? Grid? Edge Case ?? Old ???? ??? ?????. ? ?? ??? ? AutopRefixer ??; 4. ?? CSS ?? ??? ???? ????. Caniuse? ???? ?? ?????????.
