Skip to content

Commit

Permalink
fix: broken features and upgrade to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed Sep 11, 2024
1 parent 2af7dcc commit b36d3df
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 9,849 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-artifact-iota.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 20
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '20'
- name: Install dependencies && build
run: cd src && yarn && yarn build
run: cd src && npm install && npm run build
- name: Create zip
run: zip -r liebling.zip ./* -x 'node_modules/*' -x '*src*'
- name: 'Upload Artifact'
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ node_modules
.DS_Store
.idea

.vscode
.vscode

.nvmrc
11 changes: 8 additions & 3 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,17 @@ into the {body} of the default.hbs template --}}
<span>{{t "Featured"}}</span>
</div>
<a href="{{url}}" class="m-featured-article__content">
<h2 class="m-featured-article__title js-featured-article-title" title="{{title}}">
{{#if primary_tag}}
<a href="{{primary_tag.url}}" class="m-featured-article__tag">
{{primary_tag.name}}
</a>
{{/if}}
{{!-- <h2 class="m-featured-article__title js-featured-article-title" title="{{title}}">
{{title}}
</h2>
</h2> --}}
<div class="m-featured-article__timestamp">
<span>{{date published_at}}</span>
<span>&bull;</span>
<span> </span>
<span>{{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
</div>
</a>
Expand Down
24 changes: 24 additions & 0 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/sass/components/articles/_featured-slider.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.m-featured-slider {
.m-featured-slider.swiper {
position: relative;
overflow: hidden !important;
height: calc(100vw * 9 / 16);
Expand Down
Loading

0 comments on commit b36d3df

Please sign in to comment.