Skip to content

Commit

Permalink
Updated to 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
William-Mou committed Dec 7, 2023
1 parent 6b207c7 commit 66191a3
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import tailwind from "@astrojs/tailwind";
export default defineConfig({
integrations: [react(), tailwind()],
site: 'https://scc.nthu.site',
base: '/Summer_Camp_2023',
base: '/Winter_Camp_2024',
});
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


export const HPCAISummerCampLogo = (props) => (
export const HPCAIWinterCampLogo = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
xmlSpace="preserve"
Expand Down
2 changes: 1 addition & 1 deletion src/components/CoC.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const CoC = () => (
行為準則
</h2>
<div className="mb-12 text-customGrayText leading-loose">
HPC x AI Summer Camp 歡迎不同身分、來自不同背景的參與者,也非常鼓勵女性、性少數與多元背景的參與者。為了讓大家都能愉快的參加 HPC x AI,我們要求所有參與者閱讀以下行為準則(Code of Conduct),共同創造一個友善的環境。
HPC x AI Winter Camp 歡迎不同身分、來自不同背景的參與者,也非常鼓勵女性、性少數與多元背景的參與者。為了讓大家都能愉快的參加 HPC x AI,我們要求所有參與者閱讀以下行為準則(Code of Conduct),共同創造一個友善的環境。


<br />
Expand Down
2 changes: 1 addition & 1 deletion src/components/FAQ.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const FAQData = [
{
question: "我要怎麼知道有沒有成功報名呢?",
answer:
"本次冬令營預計招收學員 80 名,我們會針對報名資料做簡易審查,非先報先贏。我們將在您報名後兩週內,寄出通知信告知是否報名成功。若報名成功,再請於收到通知信的一週內,按信中指示繳交報名費完成報名程序。",
"本次冬令營預計招收學員 50 名,我們會針對報名資料做簡易審查,非先報先贏。我們將在您報名後兩週內,寄出通知信告知是否報名成功。若報名成功,再請於收到通知信的一週內,按信中指示繳交報名費完成報名程序。",
},
{
question: "繳費成功後會有收據嗎?",
Expand Down
10 changes: 5 additions & 5 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FacebookIcon } from "../assets/icons/FacebookIcon";
import { InstagramIcon } from "../assets/icons/InstagramIcon";
import { HPCAISummerCampLogo } from "../assets/logos/HPCAISummerCampLogo";
import { HPCAIWinterCampLogo } from "../assets/logos/HPCAIWinterCampLogo";
import { TwitterIcon } from "../assets/icons/TwitterIcon";

const footerData = [
Expand Down Expand Up @@ -29,7 +29,7 @@ const footerData = [

const Email = () => {
const recipient = "hpcai@lsalab.cs.nthu.edu.tw";
const subject = "[HPCxAI Summer Camp] Subject";
const subject = "[HPCxAI Winter Camp] Subject";
const message = "Hello,";

return (
Expand All @@ -49,10 +49,10 @@ export const Footer = () => {
<div className="w-full lg:w-1/2 mb-16 lg:mb-0">
<div className="flex justify-center lg:justify-start items-center grow basis-0">
<div className="text-white mr-2 text-6xl">
<HPCAISummerCampLogo />
<HPCAIWinterCampLogo />
</div>
<div className="text-white font-['Inter'] font-bold text-xl">
HPC x AI Summer Camp
HPC x AI Winter Camp
</div>
</div>
<p className="mb-10 mt-4 px-12 sm:w-[22rem] lg:w-[20rem] xl:w-[24rem] text-gray-400 leading-loose text-center lg:text-left mx-auto lg:mx-0">
Expand Down Expand Up @@ -148,7 +148,7 @@ export const Footer = () => {
</div>
</div>
<p className="lg:text-center text-sm text-gray-400 border-t border-[rgb(255,255,255,0.2)] pt-12 mt-16 hidden lg:block">
&copy; 2023. HPC x AI Summer Camp all rights reserved.
&copy; 2023. HPC x AI Winter Camp all rights reserved.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/GOGO.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const GOGO = () => {
const [isModalOpen, setIsModalOpen] = useState(false);

const handleButtonClick = () => {
window.open('https://forms.gle/DWqtfWvNPMW4nYrTA/', '_blank');
window.open('https://forms.gle/vxWcAwZCLovDLCRV8', '_blank');
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Hero = () => {
>
<div className="flex flex-col gap-2 sm:flex-row mt-14 mb-2 sm:mb-6 justify-center">
<a
className="custom-button-colored w-48 sm:w-36 h-10 mr-0 sm:mr-2 lg:mr-4" href="https://forms.gle/DWqtfWvNPMW4nYrTA/" target="_blank"
className="custom-button-colored w-48 sm:w-36 h-10 mr-0 sm:mr-2 lg:mr-4" href="https://forms.gle/pySrDpxeAaMkCYLEA" target="_blank"
>
點我報名
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/components/InvitationModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { motion, AnimatePresence } from "framer-motion";

import { CheckArrowIcon } from "../assets/icons/CheckArrowIcon";
import { CloseIcon } from "../assets/icons/CloseIcon";
import { HPCAISummerCampLogo } from "../assets/logos/HPCAISummerCampLogo";
import { HPCAIWinterCampLogo } from "../assets/logos/HPCAIWinterCampLogo";

export const InvitationModal = ({ setIsOpen }) => (
<AnimatePresence>
Expand Down Expand Up @@ -47,7 +47,7 @@ export const InvitationModal = ({ setIsOpen }) => (
<div className="w-full lg:w-1/2 flex items-center flex-col justify-center pt-24 sm:pt-0">
<div className="flex inline lg:hidden justify-start items-center grow basis-0 mb-8 pr-6">
<div className="text-white mr-2 text-8xl">
<HPCAISummerCampLogo />
<HPCAIWinterCampLogo />
</div>
<div className="text-white font-['Inter'] font-bold text-3xl">
HPC
Expand Down
8 changes: 4 additions & 4 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from "react";
import { motion, AnimatePresence } from "framer-motion";

import { HPCAISummerCampLogo } from "../assets/logos/HPCAISummerCampLogo";
import { HPCAIWinterCampLogo } from "../assets/logos/HPCAIWinterCampLogo";
import { GithubIcon } from "../assets/icons/GithubIcon";

const navbarLinks = [
Expand All @@ -28,10 +28,10 @@ export const Navbar = () => {
<a className="navbar-link" href="#home" aria-label="Home">
<div className="flex justify-start items-center grow basis-0">
<div className="text-white mr-2 text-6xl">
<HPCAISummerCampLogo />
<HPCAIWinterCampLogo />
</div>
<div className="text-white font-['Inter'] font-bold text-xl">
HPC x AI Summer Camp
HPC x AI Winter Camp
</div>
</div>
</a>
Expand Down Expand Up @@ -65,7 +65,7 @@ export const Navbar = () => {
<a
className="text-white custom-border-gray rounded-xl
bg-customDarkBg2 hover:bg-customDarkBg3 border-gray-700 pl-6 pr-6 pt-2 pb-2 text-sm flex"
href="https://forms.gle/DWqtfWvNPMW4nYrTA"
href="https://forms.gle/pySrDpxeAaMkCYLEA"
target="_blank"
aria-label="source code"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pricing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Pricing = () => {
};

const handleButtonClick = () => {
window.open('https://forms.gle/DWqtfWvNPMW4nYrTA/', '_blank');
window.open('https://forms.gle/pySrDpxeAaMkCYLEA/', '_blank');
};

return (
Expand Down
16 changes: 8 additions & 8 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { title } = Astro.props;
<link
rel="icon"
type="image/png"
href="https://scc.nthu.site/Summer_Camp_2023/ICON.PNG"
href="https://scc.nthu.site/Winter_camp_2024/ICON.PNG"
/>
<meta name="generator" content={Astro.generator} />
<meta
Expand All @@ -44,16 +44,16 @@ const { title } = Astro.props;
/>

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://scc.nthu.site/Summer_Camp_2023/" />
<meta property="og:url" content="https://scc.nthu.site/Winter_camp_2024/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="2023 HPC x AI Summer Camp " />
<meta property="og:title" content="2024 HPC x AI Winter Camp " />
<meta
property="og:description"
content="透過真實操作超級電腦和實際應用,你將學習到平行程式設計和效能分析經驗。課程涵蓋超過 20 小時的專業教學課程、手把手實操練習和具挑戰樂趣的團隊黑客松競賽,旨在培養學員認識與將高速運算知識應用在 AI 的能力!"
/>
<meta
property="og:image"
content="https://scc.nthu.site/Summer_Camp_2023/og_image.jpg"
content="https://scc.nthu.site/Winter_camp_2024/og_image.jpg"
/>
<meta property="fb:app_id" content="1039226590793242" />

Expand All @@ -62,19 +62,19 @@ const { title } = Astro.props;
<meta property="twitter:domain" content="scc.nthu.site" />
<meta
property="twitter:url"
content="https://scc.nthu.site/Summer_Camp_2023/"
content="https://scc.nthu.site/Winter_camp_2024/"
/>
<meta name="twitter:title" content="2023 HPC x AI Summer Camp " />
<meta name="twitter:title" content="2024 HPC x AI Winter Camp " />
<meta
name="twitter:description"
content="透過真實操作超級電腦和實際應用,你將學習到平行程式設計和效能分析經驗。課程涵蓋超過 20 小時的專業教學課程、手把手實操練習和具挑戰樂趣的團隊黑客松競賽,旨在培養學員認識與將高速運算知識應用在 AI 的能力!"
/>
<meta
name="twitter:image"
content="https://scc.nthu.site/Summer_Camp_2023/og_image.jpg"
content="https://scc.nthu.site/Winter_camp_2024/og_image.jpg"
/>

<!-- Hotjar Tracking Code for https://scc.nthu.site/Summer_Camp_2023/ -->
<!-- Hotjar Tracking Code for https://scc.nthu.site/Winter_camp_2024/ -->
<script>
(function (h, o, t, j, a, r) {
h.hj =
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "../styles/Diagonals.css";
---

<Layout title="2023 HPC x AI Summer Camp">
<Layout title="2023 HPC x AI Winter Camp">
<Navbar client:load />
<Hero client:load />
<!-- <GOGO client:load /> -->
Expand Down

0 comments on commit 66191a3

Please sign in to comment.