Skip to content

Commit

Permalink
Merge pull request #31 from GoCon/hytkgami/add-a-link-to-faq
Browse files Browse the repository at this point in the history
  • Loading branch information
hytkgami authored Apr 29, 2024
2 parents 3e63915 + 99a852b commit f79e36a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/ic_external_link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/components/Header/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@ import { concatWithBase } from "@utils/concatWithBase";
<ul>
<li><a href={concatWithBase()}>Home</a></li>
<li><a href="#sponsors">Sponsors</a></li>
<li>
<a
class="with-icon"
href="https://drive.google.com/file/d/1jfd7EEWBqSPBpZSnN2GgGnvZhfAarIXG/view"
target="_blank"
>Sponsor FAQ<i
><Image
src={concatWithBase("ic_external_link.svg")}
alt="FAQ External Link"
width="16"
height="16"
color={"#666"}
/></i
></a
>
</li>
<!-- ページの準備ができ次第コメントアウトを外す -->
<!-- <li><a href="#">Sessions</a></li>
<li><a href="#">Timetable</a></li>
Expand Down Expand Up @@ -122,6 +138,12 @@ import { concatWithBase } from "@utils/concatWithBase";
color: inherit;
}

a.with-icon {
display: inline-flex;
align-items: center;
gap: 8px;
}

img {
vertical-align: middle;
}
Expand Down

0 comments on commit f79e36a

Please sign in to comment.