-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWelcomeScreenView.swift
More file actions
61 lines (53 loc) · 1.85 KB
/
WelcomeScreenView.swift
File metadata and controls
61 lines (53 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// WelcomeScreenView.swift
// Freeplay
//
// Created by Tim Seufert on 26.09.25.
//
import SwiftUI
struct WelcomeScreenView: View {
var body: some View {
NavigationStack{
Spacer(minLength: 200)
HStack{
Text("Welcome back to")
.font(Font.largeTitle.bold())
Text("Freeplay!")
.font(Font.largeTitle.bold())
.foregroundStyle(
LinearGradient(colors: [.blue, .purple], startPoint:
.topLeading, endPoint: .bottomTrailing
)
)
} //.padding(.top, 200) //HStack End
HStack{
NavigationLink{
AI_Sidebar()
} label: {
Text("+ Start creating")
.font(.system(size: 12, weight: .semibold))
// .background(Color.blue)
}
Button{
NSApplication.shared.terminate(nil)
} label: {
//Image(systemName: "power.circle.fill")
Image(systemName: "rectangle.portrait.and.arrow.right")
Text("Quit Freeplay")
.font(.system(size: 12, weight: .semibold))
}
}
VStack{
Text("Freeplay Stable Alpha 1.35, Build 276")
.font(Font.caption.bold())
.foregroundStyle(Color.gray)
Spacer()
Text("The Freeplay Project is open source at: https://github.com/Timhongphuc/Freeplay")
.font(Font.caption.bold())
}
} //.frame(width: 500, height: 300)
}
}
#Preview {
WelcomeScreenView()
}