Skip to content

Commit d613e59

Browse files
D33102leomotors
andauthored
Web 2 page home (#10)
* feat: home page * feat: add image * feat: add bubble * fix: change file location * fix: responsive design * fix: add description * fix: ui --------- Co-authored-by: Nutthapat Pongtanyavichai <59821765+leomotors@users.noreply.github.com>
1 parent d5fffc7 commit d613e59

2 files changed

Lines changed: 85 additions & 4 deletions

File tree

src/assets/isd_logo.svg

Lines changed: 40 additions & 0 deletions
Loading

src/pages/index.astro

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,49 @@
22
import Layout from "../layouts/Layout.astro";
33
---
44

5-
<Layout title="Home" description="Home">
6-
<main class="flex h-screen flex-col items-center justify-center">
7-
<h1 class="text-3xl font-bold">Hello Astro</h1>
8-
</main>
5+
<Layout title="ISD SGCU" description="Main page">
6+
<section
7+
class="flex h-screen w-screen -translate-y-12 flex-col items-center justify-center bg-gradient-to-b from-black to-indigo-950 text-4xl font-bold text-white md:text-6xl lg:-translate-y-32"
8+
>
9+
<div
10+
class="invisible absolute left-64 top-44 h-24 w-24 rounded-full bg-pink-600 sm:visible lg:h-36 lg:w-36"
11+
>
12+
</div>
13+
<div
14+
class="invisible absolute right-0 top-32 h-[600px] w-[300px] rounded-bl-full border-l-[45px] border-blue-700 sm:visible lg:h-[221px] lg:w-[260px]"
15+
>
16+
</div>
17+
<span class="grid place-content-center"> </span>
18+
<p class="leading-[120px] tracking-wide">Information System</p><p>
19+
Development
20+
</p>
21+
<div
22+
class="invisible absolute bottom-0 right-0 h-72 w-36 rounded-l-full bg-pink-600 sm:visible"
23+
>
24+
</div>
25+
<div
26+
class="invisible absolute bottom-0 left-0 h-80 w-48 rounded-tr-full border-r-[35px] border-indigo-800 sm:visible md:w-60 lg:w-80"
27+
>
28+
</div>
29+
<div
30+
class="invisible absolute bottom-0 right-1/4 h-36 w-72 rounded-t-full border-t-[22px] border-blue-700 sm:visible"
31+
>
32+
</div>
33+
</section>
34+
<section
35+
class="absolute flex h-screen w-screen -translate-y-12 flex-col items-center justify-center bg-black lg:-translate-y-32"
36+
>
37+
<img src="./src/assets/isd_logo.svg" class="w-60 lg:w-80" alt="logo" />
38+
<div
39+
class="flex max-w-xl flex-col items-center justify-center text-center text-white"
40+
>
41+
<p class="my-12 text-4xl font-bold">What is ISD?</p>
42+
<p class="text-md">
43+
ฝ่ายพัฒนาระบบสารสนเทศ (Information System Development - ISD)
44+
เป็นฝ่ายภายใต้องค์การบริหารสโมสรนิสิตจุฬาฯ (อบจ.) ที่มีหน้าที่ร่วมมือกับ
45+
อบจ. และองค์กรต่าง ๆ ในจุฬาฯ เพื่อพัฒนาระบบเว็บไซต์ แอปพลิเคชัน
46+
และระบบสารสนเทศอื่น ๆ ที่อำนวยความสะดวก และเป็นประโยชน์ต่อนิสิตจุฬาฯ
47+
</p>
48+
</div>
49+
</section>
950
</Layout>

0 commit comments

Comments
 (0)