Skip to content

Commit 7421a8e

Browse files
committed
splash change
1 parent 6d2aae1 commit 7421a8e

File tree

5 files changed

+100
-16
lines changed

5 files changed

+100
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ Created Repo from template
3030

3131
- Added Poem section
3232

33-
3433
## [3.2.2] - 2025-07-21
3534

3635
- Update Storey page images issues
37-
- Mobile view fixed for pages
36+
- Mobile view fixed for pages
3837
- FAQs updated
3938

4039
### [Unreleased]

src/assets/styles/bubble.css

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@
1313
position: relative;
1414
}
1515

16-
.slot , .context{
17-
border-radius: inherit;
18-
position: absolute;
19-
z-index: 10;
20-
width: 100%;
21-
height: 100%;
22-
display: flex;
23-
box-sizing: border-box;
24-
flex-direction: column;
25-
justify-content: space-evenly;
26-
align-items: center;
16+
.slot,
17+
.context {
18+
border-radius: inherit;
19+
position: absolute;
20+
z-index: 10;
21+
width: 100%;
22+
height: 100%;
23+
display: flex;
24+
box-sizing: border-box;
25+
flex-direction: column;
26+
justify-content: space-evenly;
27+
align-items: center;
2728
}
2829

2930
.slot > div {

src/assets/styles/contact.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
letter-spacing: 1px;
3939
font-style: italic;
4040
color: #4e0a0a;
41-
4241
}
4342

4443
.social {
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.container__splash {
2+
container-type: inline-size;
3+
container-name: splash;
4+
display: flex;
5+
position: fixed;
6+
inset: 0;
7+
z-index: 1000;
8+
background-color: light-dark(#f4f4f2, #090808);
9+
justify-content: center;
10+
align-items: center;
11+
padding: 1rem;
12+
transition: background-color 0.3s ease;
13+
content-visibility: visible;
14+
}
15+
16+
@container splash (max-width: 768px) {
17+
.container_splash_card {
18+
background-color: light-dark(#ffffff, #0f172a);
19+
padding: 2rem;
20+
margin-bottom: 0.5vh;
21+
border-radius: 1rem;
22+
box-shadow: light-dark(0 10px 30px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.3));
23+
text-align: center;
24+
max-width: 400px;
25+
width: 100%;
26+
border: light-dark(none, 1px solid #404040);
27+
transition:
28+
background-color 0.3s ease,
29+
box-shadow 0.3s ease;
30+
}
31+
32+
.container_splash_logo {
33+
width: 60px;
34+
margin-bottom: 1rem;
35+
margin-left: 40%;
36+
filter: light-dark(none, brightness(0.9));
37+
transition: filter 0.3s ease;
38+
}
39+
40+
.container_splash_heading {
41+
font-size: 1.25rem;
42+
margin-bottom: 1rem;
43+
color: light-dark(#222222, #e0e0e0);
44+
transition: color 0.3s ease;
45+
}
46+
47+
.container_splash_text {
48+
font-size: 0.95rem;
49+
color: light-dark(#555555, #b0b0b0);
50+
margin-bottom: 1.5rem;
51+
transition: color 0.3s ease;
52+
}
53+
54+
.container_splash_buttons {
55+
display: flex;
56+
flex-direction: column;
57+
gap: 0.75rem;
58+
}
59+
60+
.container_splash_btn {
61+
display: inline-block;
62+
padding: 0.75rem 1rem;
63+
text-decoration: none;
64+
border-radius: 8px;
65+
font-weight: bold;
66+
text-align: center;
67+
font-size: 0.95rem;
68+
transition: all 0.3s ease;
69+
}
70+
71+
.container_splash_btn_secondary {
72+
border: 2px solid light-dark(#0f172a, #3b82f6);
73+
color: light-dark(#0f172a, #3b82f6);
74+
background-color: light-dark(#ffffff, transparent);
75+
}
76+
77+
.container_splash_btn_secondary:hover {
78+
background-color: light-dark(#f8f9f8, rgba(90, 110, 82, 0.1));
79+
transform: translateY(-1px);
80+
}
81+
82+
.container_splash_btn:hover {
83+
opacity: 0.9;
84+
}
85+
}

src/components/MobileSplash.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
import "@/assets/styles/MobileSplash.css";
2+
import "@/assets/styles/mobile-splash.css";
33
import { Image } from "astro:assets";
4-
import logoImage from "public/assets/images/ABCD.png";
4+
import logoImage from "public/assets/images/abcd.png";
55
const { stay } = Astro.props;
66
---
77

0 commit comments

Comments
 (0)