Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

スポンサーFAQページへのリンクをヘッダーに追加 #31

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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