This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
473 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<template> | ||
|
||
<!-- Greeting section --> | ||
<section class="greeting"> | ||
<div class="message wrapper"> | ||
<p> | ||
There you go! You just set up a Contentful account and a custom app. Now go ahead and <a href="https://app.contentful.com/" target="_blank">try the Web App</a> or head over to the <a href="http://contentful.com/developers/docs" target="_blank">Documentation</a> to learn more about building with Contentful. If you want to remove this message, delete line <code>3</code> in <code>layouts/default.vue</code>. | ||
</p> | ||
<a href="https://app.contentful.com/" target="_blank" class="cta">Try the Web App</a> | ||
</div> | ||
</section> | ||
|
||
</template> | ||
|
||
<script> | ||
export default { | ||
} | ||
</script> | ||
|
||
<style> | ||
.greeting { | ||
background: #fff; | ||
border: 1px solid #489CF1; | ||
margin: 2em 0; | ||
} | ||
.message { | ||
overflow: hidden; | ||
padding: 3em 0; | ||
} | ||
.message p { | ||
margin-bottom: 2em; | ||
} | ||
code { | ||
border-radius: 3px; | ||
background: #E1E7EA; | ||
padding: 3px 5px; | ||
} | ||
@media all and (min-width: 900px) { | ||
.message p { | ||
float: left; | ||
max-width: 70%; | ||
margin-bottom: 0; | ||
} | ||
} | ||
.message .cta { | ||
font-size: inherit; | ||
background: #489CF1; | ||
border: 0; | ||
border-radius: 3px; | ||
color: #fff; | ||
padding: 1em 2em; | ||
text-decoration: none; | ||
} | ||
@media all and (min-width: 900px) { | ||
.message .cta { | ||
float: right; | ||
max-width: 20%; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,111 @@ | ||
<template> | ||
<div class="container"> | ||
<Greeting></Greeting> | ||
<main role="main"> | ||
<nuxt/> | ||
</main> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Greeting from '~components/greeting.vue' | ||
export default { | ||
components: { | ||
Greeting | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
@font-face { | ||
font-family: "Avenir"; | ||
font-weight: 400; | ||
font-style: normal; | ||
src: url("/avenir-400.woff2") format("woff2"); | ||
font-display: swap; | ||
} | ||
body { | ||
background: #E1E7EA; | ||
max-width: 1280px; | ||
margin: 0 auto; | ||
font-family: "Avenir", Tahoma, Arial, Helvetica, sans-serif; | ||
font-size: 16px; | ||
line-height: 1.65; | ||
color: #373F49; | ||
} | ||
.wrapper { | ||
padding: 2em 0; | ||
max-width: 80%; | ||
margin: 0 auto; | ||
} | ||
.header { | ||
background: #F7F9FA; | ||
} | ||
.page-bar { | ||
max-width: 100%; | ||
padding: 2em 10%; | ||
} | ||
.blog.header h2, | ||
.tag-page.header h2 { | ||
text-align: center; | ||
padding: 2.5em 0; | ||
color: #A0A0A0; | ||
} | ||
img { | ||
display: block; | ||
width: 100%; | ||
} | ||
h1, | ||
h2, | ||
h3 { | ||
font-size: 2em; | ||
} | ||
/* Copy section */ | ||
.body-container { | ||
background: #ffffff; | ||
} | ||
.items-list { | ||
overflow: hidden; | ||
} | ||
.item { | ||
padding: 1em 3em 1em 0; | ||
} | ||
@media all and (min-width: 600px) { | ||
.item { | ||
float: left; | ||
width: 50%; | ||
} | ||
} | ||
@media all and (min-width: 900px) { | ||
.item { | ||
width: 33.333%; | ||
} | ||
} | ||
/* Shared */ | ||
.tiny { | ||
text-transform: uppercase; | ||
font-size: 10px; | ||
letter-spacing: 1px; | ||
color: #A0A0A0; | ||
} | ||
*[class*="-bar"] { | ||
border-bottom: 1px solid #EBEBEB; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.