Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
  • Loading branch information
elidakirigo committed Oct 17, 2023
1 parent 2ae23bb commit 678a593
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
22 changes: 12 additions & 10 deletions portfolio-main/assets/js/allPosts.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
const allstacks = {
HTML: { link: 'https://en.wikipedia.org/wiki/HTML', name: 'HTML' },
BOOTSTRAP: {
link: 'https://getbootstrap.com/docs/5.0/getting-started/introduction/',
name: 'Bootstrap 5',
},
}

const { HTML, BOOTSTRAP } = allstacks

const allPosts = [
// API AUthetication
{
topic: 'feature',
link: 'https://github.com/elidakirigo/rails-api-authentication-crud',
// link: 'https://github.com/elidakirigo/rails-api-authentication-crud',
title: 'Hotel Booking',
content: ``,
stacks: [
{ link: 'https://www.ruby-lang.org/es/', name: 'Ruby' },
{ link: 'https://guides.rubyonrails.org/', name: 'Rails' },
{ link: 'https://en.wikipedia.org/wiki/HTML', name: 'HTML' },
{
link: 'https://getbootstrap.com/docs/5.0/getting-started/introduction/',
name: 'Bootstrap 5',
},
],
stacks: [HTML, BOOTSTRAP],
live: [true, 'https://github.com/elidakirigo/rails-api-authentication-crud'],
source: [true, 'https://github.com/elidakirigo/rails-api-authentication-crud'],
image: 'https://user-images.githubusercontent.com/101924220/209710207-edf76c66-5034-4cf0-aae4-6b1479663456.png',
Expand Down
4 changes: 2 additions & 2 deletions portfolio-main/assets/js/portfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ allPosts.map((element) => {
`
<div class="item-image">
<a target="_blank" class="link-image" href="${element.live[1]}">
<i class="fa fa-eye"></i>
<i class="fa fa-link"></i>
</a>
<a target="_blank" class="link-view" href="${element.source[1]}">
<i class="fab fa-github"></i>
<i class="fa-solid fa-qrcode"></i>
</a>
<img src="${element.image}" alt="image ${element.title}" />
</div>` +
Expand Down

1 comment on commit 678a593

@vercel
Copy link

@vercel vercel bot commented on 678a593 Oct 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.