-
Notifications
You must be signed in to change notification settings - Fork 200
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 #45 from DroidKaigi/feature/timetable_detail_view
- Loading branch information
Showing
36 changed files
with
877 additions
and
3 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
app-ios/Sources/TimetableDetailFeature/InformationRow.swift
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,48 @@ | ||
import SwiftUI | ||
|
||
struct InformationRow: View { | ||
private let icon: Image | ||
private let title: String | ||
private let content: String | ||
|
||
init( | ||
icon: Image, | ||
title: String, | ||
content: String | ||
) { | ||
self.icon = icon | ||
self.title = title | ||
self.content = content | ||
} | ||
|
||
var body: some View { | ||
HStack { | ||
icon | ||
HStack(spacing: 12) { | ||
Text(title) | ||
.font(.callout) | ||
.foregroundStyle(Color(.surfaceVariant)) | ||
.bold() | ||
HStack { | ||
Text(content) | ||
.font(.callout) | ||
.foregroundStyle(Color(.onSurface)) | ||
} | ||
|
||
} | ||
} | ||
.frame(maxWidth: .infinity, alignment: .leading) | ||
.foregroundStyle( | ||
Color.white | ||
) | ||
} | ||
} | ||
|
||
#Preview { | ||
InformationRow( | ||
icon: Image(systemName: "clock"), | ||
title: String(localized: "TimeTableDetailDate", bundle: .module), | ||
content: SampleData.dateValue | ||
) | ||
} | ||
|
175 changes: 175 additions & 0 deletions
175
app-ios/Sources/TimetableDetailFeature/Resource/Localizable.xcstrings
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,175 @@ | ||
{ | ||
"sourceLanguage" : "en", | ||
"strings" : { | ||
"DroidKaigiアプリで見るアーキテクチャの変遷" : { | ||
|
||
}, | ||
"name" : { | ||
|
||
}, | ||
"TimeTableDetailApplicants" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Applicants" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "対象者" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailArchive" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Archive" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "アーカイブ" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailCategory" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Category" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "カテゴリ" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailDate" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Date" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "日付" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailLanguage" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Language" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "対応言語" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailLocation" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Location" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "場所" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailReadMore" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Read more" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "続きを読む" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailSlide" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Slide" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "スライド" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailSpeaker" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Speaker" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "スピーカー" | ||
} | ||
} | ||
} | ||
}, | ||
"TimeTableDetailVideo" : { | ||
"localizations" : { | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Video" | ||
} | ||
}, | ||
"ja" : { | ||
"stringUnit" : { | ||
"state" : "needs_review", | ||
"value" : "動画" | ||
} | ||
} | ||
} | ||
}, | ||
"手を動かして実践してひとへのヒントとなります\nCoroutinesを使いたいと感じているひと\nよりモダンで効率的なAndroidアプリ開発に興味があるひと\n新しいパラダイムをいち早く知りたいひと\nアプリ開発が複雑だと感じるひと\nアプリ開発経験を前提としてあったほうが楽しめます" : { | ||
|
||
} | ||
}, | ||
"version" : "1.0" | ||
} |
Binary file added
BIN
+8.55 KB
...urces/TimetableDetailFeature/Resource/Media.xcassets/Avatar.imageset/Avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
app-ios/Sources/TimetableDetailFeature/Resource/Media.xcassets/Avatar.imageset/Contents.json
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,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Avatar.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../Sources/TimetableDetailFeature/Resource/Media.xcassets/Background.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x24", | ||
"green" : "0x20", | ||
"red" : "0x04" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
app-ios/Sources/TimetableDetailFeature/Resource/Media.xcassets/Button.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0xDA", | ||
"green" : "0xD6", | ||
"red" : "0xBB" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
app-ios/Sources/TimetableDetailFeature/Resource/Media.xcassets/Contents.json
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 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../Sources/TimetableDetailFeature/Resource/Media.xcassets/On Primary.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x28", | ||
"green" : "0x38", | ||
"red" : "0x00" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../Sources/TimetableDetailFeature/Resource/Media.xcassets/On Surface.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0xC4", | ||
"green" : "0xC7", | ||
"red" : "0xC5" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ces/TimetableDetailFeature/Resource/Media.xcassets/Outline Variant.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x44", | ||
"green" : "0x49", | ||
"red" : "0x40" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ios/Sources/TimetableDetailFeature/Resource/Media.xcassets/Outline.colorset/Contents.json
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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0x8D", | ||
"green" : "0x93", | ||
"red" : "0x89" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Oops, something went wrong.