feat: add branding and social meta to docs (#38585)
* feat: add nav * feat: add social meta * feat: add favicon
This commit is contained in:
@@ -4,10 +4,41 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Contribution Guidelines | freeCodeCamp.org</title>
|
||||
<link rel="icon" href="images/branding/favicon.ico">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="description" content="Description">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<!--social-->
|
||||
<meta content='freeCodeCamp.org' name='og:title' />
|
||||
<meta
|
||||
content={
|
||||
'Learn to code. Build projects. Earn certifications.' +
|
||||
'Since 2015, 40,000 graduates have gotten jobs at tech ' +
|
||||
'companies including Google, Apple, Amazon, and Microsoft.'
|
||||
}
|
||||
name='og:description'
|
||||
/>
|
||||
<meta
|
||||
content='https://cdn.freecodecamp.org/platform/universal/fcc-og-1200-social-green.png'
|
||||
property='og:image'
|
||||
/>
|
||||
|
||||
<meta content='summary_large_image' key='twitter:card' name='twitter:card' />
|
||||
<meta
|
||||
content='https://cdn.freecodecamp.org/platform/universal/fcc-twitter-1120X600-social-green.png'
|
||||
name='twitter:image:src'
|
||||
/>
|
||||
<meta content='freeCodeCamp.org' name='twitter:title' />
|
||||
<meta
|
||||
content={
|
||||
'Learn to code. Build projects. Earn certifications.' +
|
||||
'Since 2015, 40,000 graduates have gotten jobs at tech ' +
|
||||
'companies including Google, Apple, Amazon, and Microsoft.'
|
||||
}
|
||||
name='twitter:description'
|
||||
/>
|
||||
|
||||
|
||||
<!-- Theme -->
|
||||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css"> -->
|
||||
@@ -17,13 +48,16 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class='universal-nav'>
|
||||
<a class="app-name-link" data-nosearch="" href="/">
|
||||
<img alt="freeCodeCamp.org" src="images/branding/primary_logo.svg">
|
||||
</a>
|
||||
</nav>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
window.$docsify = {
|
||||
// Main Config
|
||||
homepage: 'index.md',
|
||||
name: 'freeCodeCamp.org',
|
||||
logo: 'components/logo.svg',
|
||||
loadSidebar: 'components/sidebar.md',
|
||||
|
||||
// Cover Page
|
||||
@@ -36,6 +70,8 @@
|
||||
auto2top: true,
|
||||
maxLevel: 2,
|
||||
subMaxLevel: 2,
|
||||
// loadNavbar: true,
|
||||
|
||||
|
||||
// Plugins
|
||||
search: {
|
||||
|
Reference in New Issue
Block a user