Skip to content

Commit a00948c

Browse files
bugfix on xcode project, better mobile landing webpage
1 parent 560d85c commit a00948c

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎SumoGUIMac.xcodeproj/project.pbxproj‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
8F10000D2C00000100000001 /* ViewportState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F10000E2C00000100000001 /* ViewportState.swift */; };
1717
8F10000F2C00000100000001 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8F1000102C00000100000001 /* Assets.xcassets */; };
1818
8F1000112C00000100000001 /* SumoKit in Frameworks */ = {isa = PBXBuildFile; productRef = 8F1000122C00000100000001 /* SumoKit */; };
19+
8F1000302C00000100000001 /* VisualizationSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F1000312C00000100000001 /* VisualizationSettings.swift */; };
1920
/* End PBXBuildFile section */
2021

2122
/* Begin PBXFileReference section */
@@ -28,6 +29,7 @@
2829
8F10000E2C00000100000001 /* ViewportState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewportState.swift; sourceTree = "<group>"; };
2930
8F1000102C00000100000001 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3031
8F1000132C00000100000001 /* SumoGUIMac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SumoGUIMac.app; sourceTree = BUILT_PRODUCTS_DIR; };
32+
8F1000312C00000100000001 /* VisualizationSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VisualizationSettings.swift; sourceTree = "<group>"; };
3133
/* End PBXFileReference section */
3234

3335
/* Begin PBXFrameworksBuildPhase section */
@@ -101,6 +103,7 @@
101103
8F10000A2C00000100000001 /* RunningSUMOSession.swift */,
102104
8F10000C2C00000100000001 /* SimulationViewModel.swift */,
103105
8F10000E2C00000100000001 /* ViewportState.swift */,
106+
8F1000312C00000100000001 /* VisualizationSettings.swift */,
104107
);
105108
path = ViewModels;
106109
sourceTree = "<group>";
@@ -195,6 +198,7 @@
195198
8F1000092C00000100000001 /* RunningSUMOSession.swift in Sources */,
196199
8F10000B2C00000100000001 /* SimulationViewModel.swift in Sources */,
197200
8F10000D2C00000100000001 /* ViewportState.swift in Sources */,
201+
8F1000302C00000100000001 /* VisualizationSettings.swift in Sources */,
198202
);
199203
runOnlyForDeploymentPostprocessing = 0;
200204
};

‎index.html‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@
198198
letter-spacing: 0;
199199
}
200200

201+
h1 .title-line {
202+
display: block;
203+
white-space: nowrap;
204+
}
205+
201206
.hero-copy {
202207
margin: 28px 0 0;
203208
max-width: 650px;
@@ -591,7 +596,9 @@
591596
}
592597

593598
h1 {
594-
font-size: clamp(3.4rem, 18vw, 5.6rem);
599+
max-width: 7ch;
600+
font-size: clamp(3rem, 15vw, 5rem);
601+
line-height: 0.92;
595602
}
596603

597604
.hero-actions {
@@ -646,7 +653,7 @@
646653
<div class="hero-content">
647654
<img class="hero-logo" src="Sources/SumoGUIMac/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png" alt="SumoGUIMac logo">
648655
<p class="eyebrow">Native macOS SUMO viewer</p>
649-
<h1>SumoGUIMac</h1>
656+
<h1 aria-label="SumoGUIMac"><span class="title-line">Sumo</span><span class="title-line">GUI Mac</span></h1>
650657
<p class="hero-copy">
651658
A lightweight SwiftUI + Metal alternative to <code>sumo-gui</code> for opening SUMO scenarios, running or attaching over TraCI, visualizing live traffic, and inspecting the objects that matter.
652659
</p>

0 commit comments

Comments
 (0)