Started overhaul of website. Currently still in progress
This commit is contained in:
parent
04202dd936
commit
ec1ff4ad57
|
@ -19,49 +19,30 @@
|
|||
<MediaQuery query='(max-width: {mobileThreshold})' bind:matches={mobile} />
|
||||
|
||||
<div class="main-title">
|
||||
<h1>The Deprived Devs</h1>
|
||||
<h1>Deprived Devs</h1>
|
||||
<div class="collapse collapse-arrow bg-base-200 text-start">
|
||||
<input type="radio" name="my-accordion-2" checked/>
|
||||
<div class="collapse-title text-xl font-medium "><b>Alex / Zhen</b></div>
|
||||
<div class="collapse-content">
|
||||
<p>Hello, I am Zhen Aka. Alex.</p>
|
||||
<p>Here's my portfolio: <a href="/zhen/cv/rev1?hideOnPrint=1" style="color:lightblue;">pdf</a></p>
|
||||
</div>
|
||||
|
||||
|
||||
<section id="news-section">
|
||||
<header id="news-header">
|
||||
<h1>Recent News</h1>
|
||||
</header>
|
||||
<div class="news-container">
|
||||
<!-- The newest blog post being showcased -->
|
||||
<div class="showcase">
|
||||
<ShowcaseNewsCard
|
||||
thumbnail_url={most_recent_post.cover_img}
|
||||
thumbnail_alt={most_recent_post.cover_alt}
|
||||
post_url={most_recent_post.url}
|
||||
title={most_recent_post.title}
|
||||
summary={most_recent_post.summary}
|
||||
creation_date={most_recent_post.creation_date}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="news-list">
|
||||
{#each data.summaries.slice(1, post_show_count) as summary}
|
||||
<NewsCard
|
||||
thumbnail_url={summary.cover_img}
|
||||
thumbnail_alt={summary.cover_alt}
|
||||
post_url={summary.url}
|
||||
title={summary.title}
|
||||
summary={summary.summary}
|
||||
creation_date={summary.creation_date}
|
||||
/>
|
||||
{/each}
|
||||
<!-- </div>
|
||||
<div class="collapse collapse-arrow bg-base-200">
|
||||
<input type="radio" name="my-accordion-2" />
|
||||
<div class="collapse-title text-xl font-medium">Click to open this one and close others</div>
|
||||
<div class="collapse-content">
|
||||
<p>hello</p>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="news-footer">
|
||||
<div class="dummy"/>
|
||||
<div id="more-posts">
|
||||
<Button href="/posts" type={ButtonType.Primary}>
|
||||
<span slot="content">More News</span>
|
||||
</Button>
|
||||
<div class="collapse collapse-arrow bg-base-200">
|
||||
<input type="radio" name="my-accordion-2" />
|
||||
<div class="collapse-title text-xl font-medium">Click to open this one and close others</div>
|
||||
<div class="collapse-content">
|
||||
<p>hello</p>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
<Timeline/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue