Skip to content

Commit

Permalink
doc site link
Browse files Browse the repository at this point in the history
  • Loading branch information
guinmoon committed Oct 26, 2024
1 parent 5e21d09 commit aa9c11c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
37 changes: 24 additions & 13 deletions LLMFarm/Settings/About.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,31 @@ struct About: View {
let app_version = Bundle.main.infoDictionary!["CFBundleShortVersionString"] as! String
var body: some View {
VStack{
HStack{
Image("ava0_48")
.foregroundColor(.secondary)
.font(.system(size: 40))
GroupBox(label:
Text("About")
) {
HStack{
Image("ava0_48")
.foregroundColor(.secondary)
.font(.system(size: 40))
.opacity(0.4)
}
.buttonStyle(.borderless)
.controlSize(.large)
Text("LLMFarm v\(app_version)\nAuthor Artem Savkin\n2024")
.font(.footnote)
.frame(maxWidth: .infinity)
.multilineTextAlignment(.center)
}
.buttonStyle(.borderless)
.controlSize(.large)
Text("LLMFarm v\(app_version)\nAuthor Artem Savkin\n2024")
.font(.footnote)
.frame(maxWidth: .infinity)
.multilineTextAlignment(.center)


}.opacity(0.4)
GroupBox(label:
Text("Help")
) {
Link("Visit LLM Farm documentation site", destination: URL(string: "https://llmfarm.tech/docs/FAQ")!)
.font(.title3)
.padding()
// .foregroundStyle(.)
}
}
.frame(maxWidth: .infinity,alignment: .center)
}
}
Expand Down
7 changes: 2 additions & 5 deletions LLMFarm/Settings/AppSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ struct SettingsView: View {
case 1:
DownloadModelsView()
case 2:
GroupBox(label:
Text("About")
) {
About()
}
About()

default:

ModelsView("models")
Expand Down

0 comments on commit aa9c11c

Please sign in to comment.