feat(start): add OpenAEC sponsor
This commit is contained in:
parent
ff19353a21
commit
fd8b206515
2 changed files with 53 additions and 0 deletions
30
assets/sponsors/openaec-logo-dark-on-light.svg
Normal file
30
assets/sponsors/openaec-logo-dark-on-light.svg
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 120" width="300" height="120">
|
||||
<title>OpenAEC Foundation — Logo (dark on light)</title>
|
||||
<rect width="300" height="120" rx="12" fill="#FAFAF9"/>
|
||||
|
||||
<!-- Symbol (scaled down) -->
|
||||
<g transform="translate(60,60) scale(0.55)">
|
||||
<polygon points="-65,-23 0,15 0,82 -65,45" fill="#36363E" fill-opacity="0.15" stroke="#36363E" stroke-width="3.2" stroke-linejoin="round"/>
|
||||
<polygon points="0,-58 65,-23 0,15 -65,-23" fill="#36363E" fill-opacity="0.08" stroke="#36363E" stroke-width="3.2" stroke-linejoin="round"/>
|
||||
<line x1="65" y1="-23" x2="65" y2="45" stroke="#36363E" stroke-width="3.2" stroke-linecap="round"/>
|
||||
<line x1="0" y1="82" x2="65" y2="45" stroke="#36363E" stroke-width="3.2" stroke-linecap="round"/>
|
||||
<line x1="-65" y1="45" x2="0" y2="82" stroke="#36363E" stroke-width="3.2" stroke-linecap="round"/>
|
||||
<polygon points="65,-23 0,15 0,35 65,0" fill="#36363E" fill-opacity="0.05"/>
|
||||
<line x1="0" y1="15" x2="0" y2="35" stroke="#36363E" stroke-width="3.2" stroke-linecap="round"/>
|
||||
<line x1="0" y1="35" x2="65" y2="0" stroke="#D97706" stroke-width="2.8" stroke-linecap="round"/>
|
||||
<line x1="0" y1="35" x2="-30" y2="52" stroke="#D97706" stroke-width="1.5" opacity="0.35"/>
|
||||
<line x1="65" y1="0" x2="35" y2="17" stroke="#D97706" stroke-width="1.5" opacity="0.35"/>
|
||||
<polygon points="-45,-4 -35,-10 -35,-3 -45,3" fill="none" stroke="#36363E" stroke-width="1.5" opacity="0.5"/>
|
||||
<polygon points="-30,-12 -20,-18 -20,-11 -30,-5" fill="none" stroke="#36363E" stroke-width="1.5" opacity="0.5"/>
|
||||
<polygon points="-45,14 -35,8 -35,15 -45,21" fill="none" stroke="#36363E" stroke-width="1.5" opacity="0.5"/>
|
||||
<polygon points="-30,6 -20,0 -20,7 -30,13" fill="none" stroke="#36363E" stroke-width="1.5" opacity="0.5"/>
|
||||
</g>
|
||||
|
||||
<!-- Wordmark -->
|
||||
<text x="115" y="53" font-family="'Space Grotesk', system-ui, sans-serif" font-weight="700" font-size="36" letter-spacing="-0.02em">
|
||||
<tspan fill="#36363E">Open</tspan><tspan fill="#D97706">AEC</tspan>
|
||||
</text>
|
||||
<text x="116" y="78" font-family="'Inter', system-ui, sans-serif" font-weight="400" font-size="11.5" fill="#A1A1AA" letter-spacing="0.03em">
|
||||
Build free. Build together.
|
||||
</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
|
@ -2327,6 +2327,27 @@ pub(super) fn start_page_view<'a>(
|
|||
.row_h(44.0)
|
||||
.report_natural_width(action_width_out.clone());
|
||||
|
||||
let sponsors = column![
|
||||
text("Sponsors").size(15),
|
||||
mouse_area(
|
||||
container(
|
||||
iced::widget::svg(iced::widget::svg::Handle::from_memory(include_bytes!(
|
||||
"../../../assets/sponsors/openaec-logo-dark-on-light.svg"
|
||||
)))
|
||||
.width(Fill)
|
||||
.height(iced::Length::Fixed(120.0))
|
||||
.content_fit(iced::ContentFit::Contain),
|
||||
)
|
||||
.width(Fill)
|
||||
.max_width(300.0),
|
||||
)
|
||||
.interaction(iced::mouse::Interaction::Pointer)
|
||||
.on_press(Message::OpenUrl("https://open-aec.com/".to_string())),
|
||||
]
|
||||
.spacing(10)
|
||||
.align_x(iced::alignment::Horizontal::Center)
|
||||
.width(Fill);
|
||||
|
||||
let content = column![
|
||||
Space::new().height(iced::Length::Fixed(28.0)),
|
||||
container(headline).center_x(Fill),
|
||||
|
|
@ -2335,6 +2356,8 @@ pub(super) fn start_page_view<'a>(
|
|||
Space::new().height(iced::Length::Fixed(10.0)),
|
||||
container(secondary_row).center_x(Fill),
|
||||
Space::new().height(Fill),
|
||||
sponsors,
|
||||
Space::new().height(iced::Length::Fixed(52.0)),
|
||||
]
|
||||
.spacing(0)
|
||||
.width(Fill)
|
||||
|
|
|
|||
Loading…
Reference in a new issue