Skip to content

Commit

Permalink
Vue School links (#352)
Browse files Browse the repository at this point in the history
* docs: add link to Axios Module lesson

* Update readme.md

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
  • Loading branch information
rahaug and atinux authored Apr 20, 2020
1 parent 990cfb7 commit 509e43f
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
title: 'Axios Module',
description: 'Axios Module for Nuxt',
head: [['link', { rel: 'stylesheet', href: '/styles.css' }]],
themeConfig: {
repo: 'nuxt-community/axios-module',
docsDir: 'docs',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/async-data-with-nuxtjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions docs/.vuepress/public/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.Promote {
background-color: #edf2f7;
color: #2f495e;
display: flex;
flex-direction: column;
padding: 1rem;
margin-top: 1rem;
margin-bottom: 1rem;
border-radius: .25rem;
}


.Promote:hover {
background-color: #e2e8f0 !important;
text-decoration: none !important;
}

.Promote img {
width: 100%;
height: auto;
border-radius: .25rem;
margin-bottom: .75rem;
}

.Promote .Promote__Content {
font-size: 0.75rem;
margin: 0;
padding: 0;
font-weight: 500;
}

.Promote .Promote__Content__Title {
font-size: 1.25rem;
color: #2f495e;
font-weight: 500;
margin-top: 1rem;
margin-bottom: 0;
}

.Promote .Promote__Content__Description {
line-height: 1.625;
font-size: .875rem;
color: #606f7b;
}

.Promote .Promote__Content__Signature {
color: #a0aec0;
font-size: .75rem;
margin: 0;
line-height: 1;
}

@media screen and (min-width: 1020px) {

.Promote {
flex-direction: row;
}

.Promote .Promote__Content {
padding-left: 1rem;
}


.Promote .Promote__Content__Title {
margin: 0;
}

.Promote img {
max-width: 240px !important;
margin-bottom: 0;
}

}

13 changes: 13 additions & 0 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,16 @@
* [Examples](https://axios.nuxtjs.org/usage.html)

> 👉 To get started head to [Setup](setup.md) section.
## Online courses

<div>
<a href="https://vueschool.io/lessons/the-axios-module?friend=nuxt" target="_blank" class="Promote">
<img src="/async-data-with-nuxtjs-2x.png" alt="AsyncData Nuxt course by Vue School"/>
<div class="Promote__Content">
<h4 class="Promote__Content__Title">Learn how to use the Axios module with a short video lesson</h4>
<p class="Promote__Content__Description">Get up to speed quickly with Vue School's free video lesson.</p>
<p class="Promote__Content__Signature">Video courses made by VueSchool to support Nuxt.js developpement.</p>
</div>
</a>
</div>

0 comments on commit 509e43f

Please sign in to comment.