Skip to content
Merged
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.
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.
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.
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.
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.
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.
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.
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.
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,158 @@
{
"images" : [
{
"filename" : "40.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "60.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"filename" : "29.png",
"idiom" : "iphone",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "58.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "87.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"filename" : "80.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "120.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"filename" : "57.png",
"idiom" : "iphone",
"scale" : "1x",
"size" : "57x57"
},
{
"filename" : "114.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "57x57"
},
{
"filename" : "120.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "180.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "20.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"filename" : "40.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "29.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "58.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "40.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"filename" : "80.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "50.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "50x50"
},
{
"filename" : "100.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "50x50"
},
{
"filename" : "72.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "72x72"
},
{
"filename" : "144.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "72x72"
},
{
"filename" : "76.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"filename" : "152.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"filename" : "167.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"filename" : "1024.png",
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
5 changes: 5 additions & 0 deletions EATSSU/App/Sources/Data/Firebase/FirebaseScreenID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ enum FirebaseScreenID {
static let map4 = "MAP_002000"
}

/// 나만아니면돼~ (커피 이벤트)
enum AnyoneButMeActivity {
static let abm1 = "ABM_001000"
}

/// 마이페이지
enum MyPage {
static let mypage1 = "MYP_001000"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
//
// CoffeeWebViewController.swift
// EATSSU-DEV
//
// Created by 황상환 on 2/23/26.
//

import UIKit
import WebKit

import EATSSUDesign

import SnapKit

final class CoffeeWebViewController: BaseViewController {

// MARK: - UI Components

private let webView = WKWebView()

private let closeButton: UIButton = {
let button = UIButton(type: .system)
let image = UIImage(systemName: "xmark")?
.withConfiguration(UIImage.SymbolConfiguration(pointSize: 16, weight: .semibold))
button.setImage(image, for: .normal)
button.tintColor = .gray700
button.backgroundColor = .white
button.layer.cornerRadius = 18
button.layer.shadowColor = UIColor.black.cgColor
button.layer.shadowOpacity = 0.15
button.layer.shadowOffset = CGSize(width: 0, height: 2)
button.layer.shadowRadius = 4
return button
}()

// MARK: - Life Cycle

override func viewDidLoad() {
super.viewDidLoad()

webView.scrollView.contentInsetAdjustmentBehavior = .never
logScreenView(screenID: FirebaseScreenID.AnyoneButMeActivity.abm1)
loadWebPage()
}

override func configureUI() {
view.addSubview(webView)
view.addSubview(closeButton)
}

override func setLayout() {
webView.snp.makeConstraints {
$0.edges.equalToSuperview()
}

closeButton.snp.makeConstraints {
$0.top.equalTo(view.safeAreaLayoutGuide).offset(8)
$0.leading.equalToSuperview().offset(16)
$0.size.equalTo(36)
}
}

override func setButtonEvent() {
closeButton.addTarget(self, action: #selector(closeTapped), for: .touchUpInside)
}

// MARK: - Private

@objc private func closeTapped() {
let dialogView = EATSSUDialogView()
dialogView.configure(
title: TextLiteral.Coffee.askLeave,
message: TextLiteral.Coffee.leaveWarning
)
dialogView.setButtonTitles(cancel: TextLiteral.Coffee.leave, confirm: TextLiteral.Coffee.continueEvent)
view.addSubview(dialogView)
dialogView.snp.makeConstraints {
$0.edges.equalToSuperview()
}

dialogView.cancelButton.addAction(UIAction { [weak self] _ in
dialogView.removeFromSuperview()
self?.dismiss(animated: true)
}, for: .touchUpInside)

dialogView.confirmButton.addAction(UIAction { _ in
dialogView.removeFromSuperview()
}, for: .touchUpInside)
}

private func loadWebPage() {
guard let url = URL(string: "https://eatssu-coffee.figma.site/") else { return }
webView.load(URLRequest(url: url))
}
}
25 changes: 13 additions & 12 deletions EATSSU/App/Sources/Presentation/Splash/SplashViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ import EATSSUDesign
/// 기본 스플래시 뷰
class SplashViewController: BaseViewController {
// MARK: - UI Components
private let backgroundImageView: UIImageView = {
let imageView = UIImageView()
imageView.image = EATSSUDesignAsset.Images.splashChistmasBackground.image
imageView.contentMode = .scaleAspectFill
imageView.clipsToBounds = true
return imageView
}()
// private let backgroundImageView: UIImageView = {
// let imageView = UIImageView()
// imageView.image = EATSSUDesignAsset.Images.splashChistmasBackground.image
// imageView.contentMode = .scaleAspectFill
// imageView.clipsToBounds = true
// return imageView
// }()

private let logoImageView: UIImageView = {
let imageView = UIImageView()
imageView.image = EATSSUDesignAsset.Images.splashChristmasLogo.image
// imageView.image = EATSSUDesignAsset.Images.splashChristmasLogo.image
imageView.image = EATSSUDesignAsset.Images.splashLogo.image
imageView.contentMode = .scaleAspectFit
return imageView
}()
Expand All @@ -44,14 +45,14 @@ class SplashViewController: BaseViewController {

// MARK: - UI Setup
override func configureUI() {
view.addSubview(backgroundImageView)
// view.addSubview(backgroundImageView)
view.addSubview(logoImageView)
}

override func setLayout() {
backgroundImageView.snp.makeConstraints {
$0.edges.equalToSuperview()
}
// backgroundImageView.snp.makeConstraints {
// $0.edges.equalToSuperview()
// }

logoImageView.snp.makeConstraints {
$0.center.equalToSuperview()
Expand Down
Loading