Skip to content

Commit a619c73

Browse files
feat(opendream): 重新設計開源築夢計畫說明 dialog (#54)
* feat(opendream): redesign partnership dialog Rework the Open Dream dialog around the existing marketing information flow. Emphasize student impact, simplify repeated details, and align plan selection with the shared button and price styles in both locales. Closes #50 * fix(opendream): refine popup layout and eligibility copy --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 16323b4 commit a619c73

8 files changed

Lines changed: 379 additions & 524 deletions

File tree

‎public/opendream/sitcontix-placeholder.svg‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎src/components/Button.astro‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ const buttonStyle = [
7878
color: var(--site-button-color, var(--black, #1d1d1f));
7979
}
8080

81+
.site-button--outlined.interested {
82+
--site-button-background: #74bf50;
83+
--site-button-color: var(--black, #1d1d1f);
84+
--site-button-border-color: #74bf50;
85+
--site-button-hover-background: #404044;
86+
--site-button-hover-color: var(--white, #fff);
87+
}
88+
8189
.site-button--compact {
8290
--site-button-height: 2.25rem;
8391
--site-button-icon-size: 1rem;

‎src/components/Popup.astro‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -181,27 +181,7 @@ const { title, background, btnText, hero = true, id = Math.random().toString(36)
181181
z-index: 1;
182182
text-align: left;
183183
}
184-
.variant-opendream .popup-hero {
185-
min-height: 24rem;
186-
height: auto;
187-
padding: 3.5rem 4rem;
188-
display: flex;
189-
flex-direction: column;
190-
justify-content: center;
191-
}
192-
.variant-opendream .popup-hero h2 {
193-
font-size: clamp(1.15rem, 2vw, 1.6rem);
194-
margin-bottom: 1.25rem;
195-
}
196-
.variant-opendream .popup-hero::after {
197-
background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34));
198-
}
199-
200184
@media screen and (max-width: 45rem) {
201-
.variant-opendream .popup-hero {
202-
min-height: 30rem;
203-
padding: 4rem 1.5rem 2rem;
204-
}
205185
.popup-hero {
206186
height: 20rem;
207187
padding: 5rem 2rem 2rem;

0 commit comments

Comments
 (0)