Added portfolio example meta description (#1625)
This commit is contained in:
parent
ae0e7210c7
commit
059aff923b
5 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
const { title = 'Jeanine White: Personal Site' } = Astro.props;
|
const { title = 'Jeanine White: Personal Site', description = 'The personal site of Jeanine White' } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="description" property="og:description" content={description}>
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ const { content } = Astro.props;
|
||||||
---
|
---
|
||||||
<html lang={ content.lang || 'en' }>
|
<html lang={ content.lang || 'en' }>
|
||||||
<head>
|
<head>
|
||||||
<MainHead title={content.title} />
|
<MainHead title={content.title} description={content.description} />
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.hero {
|
.hero {
|
||||||
padding: 8rem;
|
padding: 8rem;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import Nav from '../components/Nav/index.jsx';
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<MainHead title="About | Jeanine White" />
|
<MainHead title="About | Jeanine White" description="About Jeanine White Lorem Ipsum" />
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.heroImg {
|
.heroImg {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
|
|
@ -15,7 +15,7 @@ const featuredProject = projects[0];
|
||||||
---
|
---
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<MainHead title="Jeanine White: Personal Site" />
|
<MainHead title="Jeanine White: Personal Site" description="Jeanine White: Developer, Speaker, and Writer..." />
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
$w-s: 750px;
|
$w-s: 750px;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ const projects = Astro.fetchContent<MarkdownFrontmatter>('./project/**/*.md')
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<MainHead title="All Projects | Jeanine White" />
|
<MainHead title="All Projects | Jeanine White" description="Learn about Jenine White's most recent projects" />
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
Loading…
Reference in a new issue