Skip to content

Commit

Permalink
add discord page embedded into homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn111 committed Nov 7, 2024
1 parent 5af188c commit 53871be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ const description = '由一群熱愛 Linux / open source 的高雄人所組成
<Header />
<main id="main-content">
<section id="hero">

<h1>{title}</h1>

<table>
<tr>
<td>
<a
target="_blank"
href="/rss.xml"
Expand All @@ -46,6 +51,7 @@ const description = '由一群熱愛 Linux / open source 的高雄人所組成
</svg>
<span class="sr-only">RSS Feed</span>
</a>

<p>
{description}
<ul style="list-style-type:square">
Expand Down Expand Up @@ -74,6 +80,12 @@ const description = '由一群熱愛 Linux / open source 的高雄人所組成
</div>
)
}
</td>
<td>
<iframe src="https://discord.com/widget?id=1279413624531718154&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</td>
</tr>
</table>
</section>

<Hr />
Expand Down

0 comments on commit 53871be

Please sign in to comment.