Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions HackIllinois/Assets.xcassets/Home/HomePage/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions HackIllinois/Assets.xcassets/HomePage/Contents.json
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile- initial start.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile mobile- initial [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@
{
"images" : [
{
"filename" : "FINAL design profile mobile.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "FINAL design profile [email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "FINAL design profile [email protected]",
"idiom" : "universal",
"scale" : "3x"
}
],
"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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions HackIllinois/GoogleService-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<true/>
<key>GOOGLE_APP_ID</key>
<string>1:848675954156:ios:d43e052424b30ef97f34c9</string>
<key>CFBundleIdentifier</key>
<string></string>
<key>DATABASE_URL</key>
<string>https://hackillinois-3787e-default-rtdb.firebaseio.com</string>
</dict>
Expand Down
34 changes: 17 additions & 17 deletions HackIllinois/ViewControllers/HIHomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,54 +175,54 @@ extension HIHomeViewController {
let hackEnd = HITimeDataSource.shared.eventTimes.hackEnd
let projectShowcaseEnd = HITimeDataSource.shared.eventTimes.projectShowcaseEnd
let closingCeremonyEnd = HITimeDataSource.shared.eventTimes.closingCeremonyEnd

if now < checkInStart {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_Start")
backgroundView.image = #imageLiteral(resourceName:"HomePage1")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_Start")
backgroundView.image = #imageLiteral(resourceName:"HomePage1")
}
} else if now < checkInEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_1")
backgroundView.image = #imageLiteral(resourceName:"HomePage1")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_1")
backgroundView.image = #imageLiteral(resourceName:"HomePage1")
}
} else if now < scavengerHuntEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_2")
backgroundView.image = #imageLiteral(resourceName:"HomePage2")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_2")
backgroundView.image = #imageLiteral(resourceName:"HomePage2")
}
} else if now < openingCeremonyEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_3")
backgroundView.image = #imageLiteral(resourceName:"HomePage3")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_3")
backgroundView.image = #imageLiteral(resourceName:"HomePage3")
}
} else if now < hackEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_4")
backgroundView.image = #imageLiteral(resourceName:"HomePage4")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_4")
backgroundView.image = #imageLiteral(resourceName:"HomePage4")
}
} else if now < projectShowcaseEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_5")
backgroundView.image = #imageLiteral(resourceName:"HomePage5")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_5")
backgroundView.image = #imageLiteral(resourceName:"HomePage5")
}
} else if now < closingCeremonyEnd {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_6")
backgroundView.image = #imageLiteral(resourceName:"HomePage6")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_6")
backgroundView.image = #imageLiteral(resourceName:"HomePage6")
}
} else {
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "iPad_Home_Final")
backgroundView.image = #imageLiteral(resourceName:"HomePage7")
} else {
backgroundView.image = #imageLiteral(resourceName: "Home_Final")
backgroundView.image = #imageLiteral(resourceName:"HomePage7")
}
}
}
Expand Down