Skip to content

Commit

Permalink
temporarily disable recent articles and the link to the articles page…
Browse files Browse the repository at this point in the history
… due to the extra cost of running a strapi node on DigitalOcean
  • Loading branch information
ayaz committed Aug 20, 2024
1 parent 3c05929 commit 2b111c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ const {title, subhead, image, travelCountryName, travelCountryNameId} = Astro.pr
<a href="/">
<img alt="visperto" width="192.967" height="28.8" class="brand_logo" src="/assets/logo.svg">
</a>
<nav class="brand_nav">
<ul>
<li>
<a href="/article">
<img alt="Travel Tips and Tricks" width="23" height="20" class="brand_nav_item_icon" src="/assets/travel.svg">
<span class="brand_nav_item_text">TRAVEL TIPS AND TRICKS</span>
</a></li>
</ul>
</nav>
<!--<nav class="brand_nav">-->
<!-- <ul>-->
<!-- <li>-->
<!-- <a href="/article">-->
<!-- <img alt="Travel Tips and Tricks" width="23" height="20" class="brand_nav_item_icon" src="/assets/travel.svg">-->
<!-- <span class="brand_nav_item_text">TRAVEL TIPS AND TRICKS</span>-->
<!-- </a></li>-->
<!-- </ul>-->
<!--</nav>-->
</section>
<section class="headline">
{title && <h1>{title}</h1>}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import CountryCards from '../components/country-cards/CountryCards';
import RecentArticles from '../components/recent-articles/RecentArticles';
// import RecentArticles from '../components/recent-articles/RecentArticles';
import Header from '../components/Header.astro';
import Layout from '../layouts/Layout.astro';
---
Expand All @@ -12,7 +12,7 @@ import Layout from '../layouts/Layout.astro';
subhead="Your passport to hassle-free travel check visa requirements and restrictions here">
</Header>
<CountryCards client:idle></CountryCards>
<RecentArticles client:idle title="Recent Articles" numberOfArticles="3" />
<!--<RecentArticles client:idle title="Recent Articles" numberOfArticles="3" />-->
</Layout>

<style>
Expand Down

0 comments on commit 2b111c0

Please sign in to comment.