summaryrefslogtreecommitdiff
path: root/JuickNext/View
diff options
context:
space:
mode:
Diffstat (limited to 'JuickNext/View')
-rw-r--r--JuickNext/View/ContentView.swift32
-rw-r--r--JuickNext/View/DiscussionsView.swift21
-rw-r--r--JuickNext/View/Today.swift21
3 files changed, 74 insertions, 0 deletions
diff --git a/JuickNext/View/ContentView.swift b/JuickNext/View/ContentView.swift
new file mode 100644
index 0000000..03916fc
--- /dev/null
+++ b/JuickNext/View/ContentView.swift
@@ -0,0 +1,32 @@
+//
+// ContentView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct ContentView: View {
+ var body: some View {
+ TabView {
+ Today()
+ .tabItem {
+ Image("ei-clock")
+ }
+ Text("Discussions")
+ .tabItem {
+ Image("ei-bell")
+ }
+ }
+ }
+}
+
+struct ContentView_Previews: PreviewProvider {
+ static var previews: some View {
+ NavigationView {
+ ContentView()
+ }
+ }
+}
diff --git a/JuickNext/View/DiscussionsView.swift b/JuickNext/View/DiscussionsView.swift
new file mode 100644
index 0000000..b8f121b
--- /dev/null
+++ b/JuickNext/View/DiscussionsView.swift
@@ -0,0 +1,21 @@
+//
+// DiscussionsView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct DiscussionsView: View {
+ var body: some View {
+ Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
+ }
+}
+
+struct DiscussionsView_Previews: PreviewProvider {
+ static var previews: some View {
+ DiscussionsView()
+ }
+}
diff --git a/JuickNext/View/Today.swift b/JuickNext/View/Today.swift
new file mode 100644
index 0000000..aa4a205
--- /dev/null
+++ b/JuickNext/View/Today.swift
@@ -0,0 +1,21 @@
+//
+// TodayView.swift
+// Juick
+//
+// Created by Vitaly Takmazov on 14.05.2023.
+// Copyright © 2023 com.juick. All rights reserved.
+//
+
+import SwiftUI
+
+struct Today: View {
+ var body: some View {
+ Text("Today")
+ }
+}
+
+struct Today_Previews: PreviewProvider {
+ static var previews: some View {
+ Today()
+ }
+}