Skip to content

Commit

Permalink
feat: convert all png images to jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
dada878 committed Nov 21, 2024
1 parent d1f9411 commit a77d3af
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/cfp/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {

.hero {
animation: heroFadeIn 2s forwards ease-in-out;
background: url("/2025/cfp/theme/hero.png") no-repeat center center;
background: url("/2025/cfp/theme/hero.jpg") no-repeat center center;
}

.hero-content {
Expand Down
2 changes: 1 addition & 1 deletion app/cfp/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Footer from "./_components/footer";
const inter = Inter({ subsets: ["latin"] });

export async function generateMetadata(): Promise<Metadata> {
const image = "https://sitcon.org/2025/og.png";
const image = "https://sitcon.org/2025/og.jpg";
const title = "SITCON 2025";
const description =
"學生計算機年會(Students’ Information Technology Conference)自 2012 年發起,以學生為本、由學生自發舉辦,長期投身學生資訊教育與推廣開源精神,鼓勵學生們成為實踐者,貢獻程式碼、打造並部署服務、透過實際行動推動專案,最後將這些結晶分享出去,讓更多人能關注你認為重要的議題,打造更緊密的社群。";
Expand Down
16 changes: 8 additions & 8 deletions app/cfp/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function Home() {
</div>
<div
className="h-full rounded-[32px] bg-cover bg-center bg-no-repeat p-6 max-[1024px]:rounded-none max-[1024px]:bg-contain max-[1024px]:bg-bottom max-[1024px]:p-0 max-sm:hidden"
style={{ backgroundImage: `url('/2025/cfp/about/1.png')` }}
style={{ backgroundImage: `url('/2025/cfp/about/1.jpg')` }}
></div>
</div>
<div className="gap-14 pt-8 max-sm:pt-16 sm:grid sm:grid-cols-2">
Expand Down Expand Up @@ -123,7 +123,7 @@ export default function Home() {
</div>
<div
className="h-full rounded-[32px] bg-cover bg-center bg-no-repeat p-6 max-[1024px]:rounded-none max-[1024px]:bg-contain max-[1024px]:bg-top max-[1024px]:p-0 max-sm:hidden"
style={{ backgroundImage: `url('/2025/cfp/about/2.png')` }}
style={{ backgroundImage: `url('/2025/cfp/about/2.jpg')` }}
></div>
</div>
</div>
Expand All @@ -145,7 +145,7 @@ export default function Home() {

function CloseTouchSection() {
return (
<div className="bg-background-light p-8 max-[1024px]:bg-background-light max-sm:bg-[url('/2025/cfp/stats/3.png')] max-sm:bg-cover max-sm:bg-center sm:relative sm:col-span-2 sm:rounded-[32px] sm:p-6">
<div className="bg-background-light p-8 max-[1024px]:bg-background-light max-sm:bg-[url('/2025/cfp/stats/3.jpg')] max-sm:bg-cover max-sm:bg-center sm:relative sm:col-span-2 sm:rounded-[32px] sm:p-6">
<h1 className="text-[26px] font-semibold tracking-widest text-foreground max-[1024px]:text-blue max-sm:text-[#FFFFFF] min-[1024px]:text-h2">
此外,我們也樂見企業與學生的近距離交流,成為我們的合作夥伴您可以:
</h1>
Expand All @@ -166,7 +166,7 @@ function From2013() {
return (
<>
{/* Phone Layout */}
<div className="bg-gray bg-[url('/2025/cfp/about/1.png')] bg-cover bg-center p-8 sm:hidden">
<div className="bg-gray bg-[url('/2025/cfp/about/1.jpg')] bg-cover bg-center p-8 sm:hidden">
<h1 className="text-[26px] font-semibold tracking-[2px] text-[#FFFFFF]">
自 2013 以來,我們帶領了無數學子進入資訊的殿堂,更做到:
</h1>
Expand Down Expand Up @@ -285,7 +285,7 @@ function TabletLayout() {
<div className="flex-row pt-8">
<a
href="https://sitcon.org/donate"
className="flex items-center justify-end text-h1 font-bold text-accent transition hover:text-accent-light"
className="text-accent hover:text-accent-light flex items-center justify-end text-h1 font-bold transition"
>
我要贊助
<span className="material-icons" style={{ fontSize: "62px" }}>
Expand All @@ -294,7 +294,7 @@ function TabletLayout() {
</a>
<a
href="https://i.sitcon.org/2025cfs-form"
className="flex items-center justify-end text-h2 font-bold text-accent transition hover:text-accent-light"
className="text-accent hover:text-accent-light flex items-center justify-end text-h2 font-bold transition"
>
索取贊助徵求書
<span className="material-icons" style={{ fontSize: "62px" }}>
Expand Down Expand Up @@ -345,7 +345,7 @@ function DesktopLayout() {
<div className="flex-row pt-8">
<a
href="https://sitcon.org/donate"
className="flex items-center justify-end text-h1 font-bold text-accent transition hover:text-accent-light"
className="text-accent hover:text-accent-light flex items-center justify-end text-h1 font-bold transition"
>
我要贊助
<span className="material-icons" style={{ fontSize: "66px" }}>
Expand All @@ -354,7 +354,7 @@ function DesktopLayout() {
</a>
<a
href="https://i.sitcon.org/2025cfs-form"
className="flex items-center justify-end text-h2 font-bold text-accent transition hover:text-accent-light"
className="text-accent hover:text-accent-light flex items-center justify-end text-h2 font-bold transition"
>
索取贊助徵求書
<span className="material-icons" style={{ fontSize: "53px" }}>
Expand Down
Binary file added public/cfp/about/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/cfp/about/1.png
Binary file not shown.
Binary file added public/cfp/about/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/cfp/about/2.png
Binary file not shown.
Binary file added public/cfp/stats/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/cfp/stats/3.png
Binary file not shown.
Binary file added public/cfp/theme/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/cfp/theme/hero.png
Binary file not shown.
Binary file added public/og.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/og.png
Binary file not shown.

0 comments on commit a77d3af

Please sign in to comment.