-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Arirubiastor/main
last changes with api's
- Loading branch information
Showing
13 changed files
with
352 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TEST_VARIABLE=Your test message | ||
|
||
LINKEDIN_ACCESS_TOKEN=your_linkedin_lit_profile_token | ||
|
||
INSTAGRAM_DISPLAY_API=your_instagram_display_api_access_token |
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 |
---|---|---|
|
@@ -88,3 +88,7 @@ sw.* | |
|
||
# Vim swap files | ||
*.swp | ||
|
||
|
||
# API keys, access tokens and credentials | ||
.env |
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,24 @@ | ||
<template> | ||
<div class="container"> | ||
<h2>Instagram posts</h2> | ||
<InstagramMediaItem :collection="collection" /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import InstagramMediaItem from "~/components/InstagramMediaItem.vue"; | ||
export default { | ||
props: { | ||
collection: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}, | ||
components: { | ||
InstagramMediaItem, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss"> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template> | ||
<div> | ||
<b-card-group columns> | ||
<b-card v-for="collectionItem in collection" :key="collectionItem.id" :img-src="collectionItem.media_url" img-alt="Instagram image" img-top> | ||
<b-img></b-img> | ||
{{ collectionItem.id }}<br />{{ collectionItem.caption }} | ||
</b-card> | ||
</b-card-group> | ||
<!-- {{ collection }} --> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
collection: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<b-container> | ||
<header class="pt-4"> | ||
<h2 class="font-bold text-lg md:text-2xl">Blog</h2> | ||
</header> | ||
<!-- <MediumPostsItem :posts="posts" v-for="post in posts" :key="post"> | ||
</MediumPostsItem> --> | ||
|
||
<b-card-group columns class="pt-4"> | ||
<MediumPostsItem :posts="posts"> </MediumPostsItem> | ||
</b-card-group> | ||
</b-container> | ||
</template> | ||
|
||
<script> | ||
import MediumPostsItem from "~/components/MediumPostsItem.vue"; | ||
export default { | ||
name: "MediumPosts", | ||
componets: { | ||
MediumPostsItem, | ||
}, | ||
props: { | ||
posts: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<template> | ||
<div> | ||
<!-- <b-card-group columns> --> | ||
<a :href="post.link" target="blank" v-for="(post, index) in posts" :key="index"> | ||
<!-- <b-card> --> | ||
<b-card :img-src="post.thumbnail" img-alt="Post Image" img-top> | ||
<!-- <b-card-image :src="post.thumbnail"> </b-card-image> --> | ||
<b-card-title> | ||
{{ post.title }} | ||
</b-card-title> | ||
<b-card-sub-title> | ||
<!-- {{ post.author }} --> | ||
{{ post.pubDate }} | ||
</b-card-sub-title> | ||
<b-card-text> | ||
<!-- <p v-html="post.description" v-if="post.description.length > 50 ? post.description : post.description.substring(0, 50) + '...'"></p> --> | ||
<p v-html="post.description.substring(1, 1000)"></p> | ||
|
||
<div class="post-categories__container mt-2"> | ||
<b-badge v-for="(categorie, index) in post.categories" :key="index" class="d-inline border border-light-gray mr-1"> | ||
{{ categorie }} | ||
</b-badge> | ||
</div> | ||
</b-card-text> | ||
</b-card> | ||
</a> | ||
<!-- </b-card-group> --> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "MediumPostsItem", | ||
props: { | ||
posts: { | ||
type: Array, | ||
required: true, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss"> | ||
figcaption, | ||
figure { | ||
display: none; | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,50 @@ | ||
<template> | ||
<div> | ||
<b-navbar toggleable="lg" variant="transparent"> | ||
<b-navbar-brand href="#">Ariana Rubí</b-navbar-brand> | ||
|
||
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle> | ||
|
||
<b-collapse id="nav-collapse" is-nav> | ||
<b-navbar-nav> | ||
<b-nav-item href="#">Collection/Projects</b-nav-item> | ||
</b-navbar-nav> | ||
|
||
<!-- Right aligned nav items --> | ||
<b-navbar-nav class="ml-auto"> | ||
<b-nav-form> | ||
<b-form-input size="sm" class="mr-sm-2" placeholder="Search"></b-form-input> | ||
<b-button size="sm" class="my-2 my-sm-0" type="submit">Search</b-button> | ||
</b-nav-form> | ||
|
||
<b-nav-item-dropdown text="Lang" right> | ||
<b-navbar toggleable="lg" variant="transparent"> | ||
<b-navbar-brand href="#">Ariana Rubí</b-navbar-brand> | ||
|
||
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle> | ||
|
||
<b-collapse id="nav-collapse" is-nav> | ||
<b-navbar-nav> | ||
<b-nav-item href="#"> | ||
<b-icon | ||
icon="grip-horizontal" | ||
variant="dark" | ||
style="width: 18px; height: 18px" | ||
class="d-inline" | ||
> | ||
</b-icon> | ||
Projects</b-nav-item | ||
> | ||
</b-navbar-nav> | ||
|
||
<!-- Right aligned nav items --> | ||
<b-navbar-nav class="ml-auto"> | ||
<b-nav-form> | ||
<b-form-input | ||
size="sm" | ||
class="mr-sm-2" | ||
placeholder="Search" | ||
></b-form-input> | ||
<b-button size="sm" class="my-2 my-sm-0" type="submit" | ||
>Search</b-button | ||
> | ||
</b-nav-form> | ||
|
||
<!-- <b-nav-item-dropdown text="Lang" right> | ||
<b-dropdown-item href="#">EN</b-dropdown-item> | ||
<b-dropdown-item href="#">ES</b-dropdown-item> | ||
<b-dropdown-item href="#">RU</b-dropdown-item> | ||
<b-dropdown-item href="#">FA</b-dropdown-item> | ||
</b-nav-item-dropdown> | ||
|
||
<b-nav-item-dropdown right> | ||
<!-- Using 'button-content' slot --> | ||
<template #button-content> | ||
<em>User</em> | ||
</template> | ||
<b-dropdown-item href="#">Profile</b-dropdown-item> | ||
<b-dropdown-item href="#">Sign Out</b-dropdown-item> | ||
</b-nav-item-dropdown> | ||
</b-navbar-nav> | ||
</b-collapse> | ||
</b-navbar> | ||
</div> | ||
</b-nav-item-dropdown> --> | ||
</b-navbar-nav> | ||
</b-collapse> | ||
</b-navbar> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
} | ||
export default {}; | ||
</script> | ||
|
||
<style> | ||
</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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.