-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from snuhcs-course/dev
Final merge Dev into Main
- Loading branch information
Showing
39 changed files
with
904 additions
and
864 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
frontend/app/src/main/java/com/example/haengsha/model/dataSource/EventCardData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.example.haengsha.model.dataSource | ||
|
||
import java.time.LocalDate | ||
|
||
data class EventCardData( | ||
val id: Int, | ||
val organizer: String, | ||
val eventTitle: String, | ||
val startDate: LocalDate, | ||
val endDate: LocalDate, | ||
val likes: Int, | ||
val favorites: Int, | ||
val eventType: String, | ||
val place: String = "", | ||
val time: String = "", | ||
val image: String = "" | ||
) | ||
|
||
data class TabItem( | ||
val title: String, | ||
val eventCards: List<EventCardData> | ||
) |
27 changes: 27 additions & 0 deletions
27
frontend/app/src/main/java/com/example/haengsha/model/dataSource/SampleImage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.example.haengsha.model.dataSource | ||
|
||
import com.example.haengsha.R | ||
|
||
enum class SampleImage(val id: Int) { | ||
ImageFestival1(R.drawable.f_alchole), | ||
ImageFestival2(R.drawable.f_animu), | ||
ImageFestival3(R.drawable.f_cinema), | ||
ImageFestival4(R.drawable.f_cushion), | ||
ImageFestival5(R.drawable.f_dongsojae), | ||
ImageFestival6(R.drawable.f_goahead), | ||
ImageFestival7(R.drawable.f_meeting), | ||
ImageFestival8(R.drawable.f_pub), | ||
ImageFestival9(R.drawable.f_recruite), | ||
ImageFestival10(R.drawable.f_taco), | ||
ImageAcademic1(R.drawable.a_aiseminar), | ||
ImageAcademic2(R.drawable.a_artspace), | ||
ImageAcademic3(R.drawable.a_bookconcert), | ||
ImageAcademic4(R.drawable.a_law), | ||
ImageAcademic5(R.drawable.a_math), | ||
ImageAcademic6(R.drawable.a_music), | ||
ImageAcademic7(R.drawable.a_piano), | ||
ImageAcademic8(R.drawable.a_social), | ||
ImageAcademic9(R.drawable.a_writing), | ||
ImageAcademic10(R.drawable.a_network), | ||
ImageAcademicDefault(R.drawable.a_snu_enterance) | ||
} |
6 changes: 6 additions & 0 deletions
6
frontend/app/src/main/java/com/example/haengsha/model/route/HomeRoute.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.example.haengsha.model.route | ||
|
||
sealed class HomeRoute(val route: String) { | ||
data object Home : HomeRoute("Home") | ||
data object HomeDetail : HomeRoute("Details") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.