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

Home page and Footer #28

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions .vitepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ import DefaultTheme from 'vitepress/theme'
<DefaultTheme.Layout>
<Content />
</DefaultTheme.Layout>
<Footer />
</template>
94 changes: 94 additions & 0 deletions components/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<script setup lang="ts">
import { conference } from '#data/conference.js'
</script>

<template>
<footer id="footer">
<section class="title">
<h1>COSCUP</h1>
<h2>Conference for Open Source Coders, User, and Promoters</h2>
</section>
<section class="contact">
<div>
<p>Attendee Service</p>
<p>attendee@coscup.org</p>
</div>
<div>
<p>Sponsorship</p>
<p>sponsorship@coscup.org</p>
</div>
<div>
<p>Program</p>
<p>program@coscup.org</p>
</div>
<div>
<p>Attendee Service</p>
<p>marketing@coscup.org</p>
</div>
</section>
<section class="history">
<h1>Websites</h1>
<p>
<span
v-for="year in Array.from({ length: conference.year - 2006 }, (_, k) => k + 2006)"
:key="year"
>
{{ year }}
</span>
</p>
</section>
<section class="social">
<h1>Social Media</h1>
</section>
</footer>
</template>

<style scoped>
#footer {
border-top: 1px solid var(--vp-c-gutter);
padding: 32px 64px;
}

#footer section {
margin: 50px 0;
}

#footer h1 {
font-size: 28px;
font-weight: bold;
text-align: center;

margin: 20px;
}

#footer h2 {
font-size: 20px;
text-align: center;

margin: 20px;
}

#footer .contact {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;

font-size: 18px;
text-align: center;
row-gap: 25px;
}

#footer .history p {
display: flex;
justify-content: center;
flex-wrap: wrap;
row-gap: 25px;
}

#footer .history span {
display: inline-block;
width: 65px;

text-align: center;
}
</style>
27 changes: 27 additions & 0 deletions content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,31 @@ hero:
text: 社群大拜拜
tagline: Conference for Open Source Coders, Users & Promoters
actions:
- theme: alt
text: Time & Location
link: /event
- theme: alt
text: Session
link: #
features:
- title: COSCUP Welcome party
icon: 🎉
details: COSCUP 2024 Welcome party will be held on 2024-08-02. Welcome to join us and cheers with speakers and open source folk.
link: #
linkText: More
- title: BoF/hacking room
icon: 🧑🏻‍💻
details: Meet open-source people and communities you follow at the BoF/hacking room during the event!
link: #
linkText: More
- title: Donate
icon: 🤝
details: COSCUP is held by volunteers of Open Source Communities in Tailwan. We reply on sponsorship and individual supporters like you to maintain COSCUP annually.
link: #
linkText: More
- title: Subscribe newsletter
icon: 📰
details: Please feel free to subscribe to our newsletter. You will receive important reminders and exciting activities.
link: #
linkText: More
---