Skip to content

Commit

Permalink
Merge pull request #45 from DroidKaigi/feature/timetable_detail_view
Browse files Browse the repository at this point in the history
  • Loading branch information
shin-usu authored Jun 21, 2024
2 parents f9cb0d1 + be50f05 commit 18062d5
Show file tree
Hide file tree
Showing 36 changed files with 877 additions and 3 deletions.
48 changes: 48 additions & 0 deletions app-ios/Sources/TimetableDetailFeature/InformationRow.swift
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 app-ios/Sources/TimetableDetailFeature/Resource/Localizable.xcstrings
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"
}
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,21 @@
{
"images" : [
{
"filename" : "Avatar.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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
}
}
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
}
}
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,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x28",
"green" : "0x38",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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
}
}
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
}
}
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
}
}
Loading

0 comments on commit 18062d5

Please sign in to comment.