Skip to content

Commit

Permalink
UI updates across platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsochantaris committed Oct 8, 2024
1 parent f388723 commit 7e7943e
Show file tree
Hide file tree
Showing 27 changed files with 1,093 additions and 916 deletions.
4 changes: 3 additions & 1 deletion Emellink/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ struct ContentView: View {
}
.focused($focusEntryField)
}
.background(Image(.canvas).resizable().ignoresSafeArea().opacity(0.7))
.background {
Image(.background).resizable().aspectRatio(contentMode: .fill)
}
.navigationTitle("Conversation")
.toolbarTitleDisplayMode(.inline)
}
Expand Down
8 changes: 8 additions & 0 deletions Emeltal.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
16578A322B18CA5A0038A680 /* ConversationState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16578A312B18CA5A0038A680 /* ConversationState.swift */; };
16578A342B18CA820038A680 /* Speaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16578A332B18CA820038A680 /* Speaker.swift */; };
16578A392B1924B80038A680 /* WhisperContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16578A382B1924B80038A680 /* WhisperContext.swift */; };
165D9E872CB5C41300AAE9FB /* Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 165D9E862CB5C41300AAE9FB /* Model.swift */; };
1677AF2B2B60391500C11138 /* highlight.js in Resources */ = {isa = PBXBuildFile; fileRef = 1677AF2A2B60391500C11138 /* highlight.js */; };
1677AF2C2B60391500C11138 /* highlight.js in Resources */ = {isa = PBXBuildFile; fileRef = 1677AF2A2B60391500C11138 /* highlight.js */; };
1677AF2E2B60397400C11138 /* style.css in Resources */ = {isa = PBXBuildFile; fileRef = 1677AF2D2B60397400C11138 /* style.css */; };
Expand Down Expand Up @@ -165,6 +166,8 @@
16578A312B18CA5A0038A680 /* ConversationState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationState.swift; sourceTree = "<group>"; };
16578A332B18CA820038A680 /* Speaker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Speaker.swift; sourceTree = "<group>"; };
16578A382B1924B80038A680 /* WhisperContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WhisperContext.swift; sourceTree = "<group>"; };
165D9E852CB59E8400AAE9FB /* Emeltal-visionOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Emeltal-visionOS.entitlements"; sourceTree = "<group>"; };
165D9E862CB5C41300AAE9FB /* Model.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = "<group>"; };
1677AF2A2B60391500C11138 /* highlight.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = highlight.js; sourceTree = "<group>"; };
1677AF2D2B60397400C11138 /* style.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; path = style.css; sourceTree = "<group>"; };
1677AF302B6039B400C11138 /* log.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = log.html; sourceTree = "<group>"; };
Expand Down Expand Up @@ -291,6 +294,7 @@
isa = PBXGroup;
children = (
1608DB712B151B5000FFFB09 /* Emeltal.entitlements */,
165D9E852CB59E8400AAE9FB /* Emeltal-visionOS.entitlements */,
1608DB7A2B151B8B00FFFB09 /* Emeltal-Bridging-Header.h */,
16C794402B2F43D60052B707 /* Info.plist */,
16578A312B18CA5A0038A680 /* ConversationState.swift */,
Expand Down Expand Up @@ -340,6 +344,7 @@
168F56042B331BD8007CADC1 /* Assets */ = {
isa = PBXGroup;
children = (
165D9E862CB5C41300AAE9FB /* Model.swift */,
16A090F72CB46F0700468E93 /* ManagerViewModel.swift */,
16905E4B2B2E0D6D006B4EC8 /* AssetManager.swift */,
);
Expand Down Expand Up @@ -531,6 +536,7 @@
1608DB6E2B151B4F00FFFB09 /* ConversationView.swift in Sources */,
168A96A72B42F66E00BE67EF /* IdealVoicePrompt.swift in Sources */,
16C58DF22B34E4B700006CC2 /* CommonGlobals.swift in Sources */,
165D9E872CB5C41300AAE9FB /* Model.swift in Sources */,
16C58DEF2B34C11800006CC2 /* EmeltalConnector.swift in Sources */,
16C58E092B35D72500006CC2 /* ModeView.swift in Sources */,
16C23D792B742F0100781F78 /* SectionCarousel.swift in Sources */,
Expand Down Expand Up @@ -753,6 +759,7 @@
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Emeltal/Emeltal.entitlements;
"CODE_SIGN_ENTITLEMENTS[sdk=xros*]" = "Emeltal/Emeltal-visionOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand Down Expand Up @@ -801,6 +808,7 @@
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Emeltal/Emeltal.entitlements;
"CODE_SIGN_ENTITLEMENTS[sdk=xros*]" = "Emeltal/Emeltal-visionOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"filename" : "emeltalBottom.png",
"idiom" : "vision",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
17 changes: 17 additions & 0 deletions Emeltal/Assets.xcassets/AppIcon.solidimagestack/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"layers" : [
{
"filename" : "Front.solidimagestacklayer"
},
{
"filename" : "Middle.solidimagestacklayer"
},
{
"filename" : "Back.solidimagestacklayer"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"filename" : "emeltalTop.png",
"idiom" : "vision",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"filename" : "emeltalMiddle.png",
"idiom" : "vision",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
20 changes: 20 additions & 0 deletions Emeltal/Assets.xcassets/Material.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.100",
"blue" : "255",
"green" : "255",
"red" : "255"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
12 changes: 12 additions & 0 deletions Emeltal/Assets.xcassets/background.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "background.jpg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e7943e

Please sign in to comment.