Refactor CSS Clean up old files
This commit is contained in:
parent
058f427072
commit
39f66f2966
42
src/App.css
42
src/App.css
@ -1,42 +0,0 @@
|
||||
#root {
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
transition: filter 300ms;
|
||||
}
|
||||
.logo:hover {
|
||||
filter: drop-shadow(0 0 2em #646cffaa);
|
||||
}
|
||||
.logo.react:hover {
|
||||
filter: drop-shadow(0 0 2em #61dafbaa);
|
||||
}
|
||||
|
||||
@keyframes logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
a:nth-of-type(2) .logo {
|
||||
animation: logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
.read-the-docs {
|
||||
color: #888;
|
||||
}
|
||||
@ -1,117 +0,0 @@
|
||||
/* PostCard.css */
|
||||
|
||||
.post-card {
|
||||
background-color: white;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
overflow: hidden;
|
||||
transition: box-shadow 0.3s ease, transform 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.post-card-image-wrapper {
|
||||
height: 12rem;
|
||||
background-color: #e5e7eb;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.post-card-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.post-card:hover .post-card-image {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.post-card-fallback {
|
||||
font-size: 3rem;
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.post-card-content {
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.875rem;
|
||||
color: #6b7280;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.post-category-badge {
|
||||
color: #2563eb;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.post-meta-divider {
|
||||
margin: 0 0.5rem;
|
||||
color: #e5e7eb;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.75rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.post-title a {
|
||||
color: #111827;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.post-title a:hover {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.post-excerpt {
|
||||
color: #4b5563;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1.5rem;
|
||||
flex: 1;
|
||||
|
||||
/* Line clamping for Webkit browsers */
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.post-read-more {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: #2563eb;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
font-size: 0.95rem;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.post-read-more:hover {
|
||||
color: #1d4ed8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@ -1,93 +0,0 @@
|
||||
/* ResourceListItem.css */
|
||||
|
||||
.resource-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 1.25rem 0;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.resource-list-item:hover {
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
|
||||
.resource-item-date {
|
||||
width: 120px;
|
||||
font-size: 0.9rem;
|
||||
color: #6b7280;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resource-item-content {
|
||||
flex: 1;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
.resource-item-title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 500;
|
||||
color: #111827;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.resource-item-title:hover {
|
||||
color: #2563eb;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.resource-item-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resource-item-author {
|
||||
font-size: 0.9rem;
|
||||
color: #6b7280;
|
||||
display: none;
|
||||
/* Hidden on small screens */
|
||||
}
|
||||
|
||||
.resource-item-link {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: #2563eb;
|
||||
text-decoration: none;
|
||||
padding: 0.4rem 0.8rem;
|
||||
background-color: #eff6ff;
|
||||
border-radius: 0.375rem;
|
||||
transition: all 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.resource-item-link:hover {
|
||||
background-color: #dbeafe;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.resource-item-author {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.resource-list-item {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.resource-item-date {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.resource-item-meta {
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
362
src/index.css
362
src/index.css
@ -1,362 +0,0 @@
|
||||
:root {
|
||||
--primary-color: #0056b3;
|
||||
--secondary-color: #004494;
|
||||
--text-color: #333333;
|
||||
--light-gray: #f8f9fa;
|
||||
--white: #ffffff;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
--transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: var(--text-color);
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.section-padding {
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.bg-light {
|
||||
background-color: var(--light-gray);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
text-align: center;
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 3rem;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 12px 30px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
transition: var(--transition);
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
background-color: var(--white);
|
||||
box-shadow: var(--shadow);
|
||||
z-index: 1000;
|
||||
height: 70px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navbar-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.logo-image {
|
||||
height: 45px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
margin-left: 30px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
font-weight: 500;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hamburger .bar {
|
||||
display: block;
|
||||
width: 25px;
|
||||
height: 3px;
|
||||
background-color: var(--text-color);
|
||||
margin: 5px auto;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1556740758-90de374c12ad?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
color: var(--white);
|
||||
text-align: center;
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-content p {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/* Solutions */
|
||||
.solutions-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.solution-card {
|
||||
background: var(--white);
|
||||
padding: 30px;
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--shadow);
|
||||
text-align: center;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.solution-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.solution-icon {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Contact */
|
||||
.contact-form {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--white);
|
||||
padding: 40px;
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.form-status {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn-outline {
|
||||
background-color: transparent;
|
||||
border: 2px solid var(--white);
|
||||
color: var(--white);
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
background-color: var(--white);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.btn-nav {
|
||||
padding: 8px 16px;
|
||||
background-color: var(--primary-color);
|
||||
color: var(--white) !important;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.btn-nav:hover {
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.hero-btns {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Service Link */
|
||||
.service-link {
|
||||
display: inline-block;
|
||||
margin-top: 15px;
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.service-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Footer Dark */
|
||||
.footer-dark {
|
||||
background-color: #222;
|
||||
color: #ccc;
|
||||
padding: 50px 0 20px;
|
||||
}
|
||||
|
||||
.footer-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
border-bottom: 1px solid #444;
|
||||
padding-bottom: 30px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.footer-info h3 {
|
||||
color: var(--white);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: #ccc;
|
||||
text-decoration: none;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Floating CTA */
|
||||
.floating-cta {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
background-color: var(--primary-color);
|
||||
color: var(--white);
|
||||
padding: 15px 30px;
|
||||
border-radius: 50px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.floating-cta:hover {
|
||||
transform: translateY(-5px);
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.hero-btns {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-container {
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
margin-left: 0;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: -100%;
|
||||
background-color: var(--white);
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
transition: 0.3s;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.nav-links.active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './index.css'
|
||||
import './styles/main.css'
|
||||
import App from './App.jsx'
|
||||
|
||||
createRoot(document.getElementById('root')).render(
|
||||
|
||||
@ -1,56 +1,44 @@
|
||||
import consultantProfile from '../assets/consultant_profile.png';
|
||||
import './About.css';
|
||||
|
||||
const About = () => {
|
||||
return (
|
||||
<div className="container" style={{ marginTop: '70px', minHeight: '80vh' }}>
|
||||
{/* Intro Section with Background */}
|
||||
<section style={{
|
||||
marginBottom: '60px',
|
||||
textAlign: 'center',
|
||||
padding: '80px 20px',
|
||||
background: `linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80')`,
|
||||
backgroundSize: 'cover',
|
||||
backgroundPosition: 'center',
|
||||
borderRadius: '20px',
|
||||
boxShadow: '0 10px 30px rgba(0,0,0,0.05)'
|
||||
}}>
|
||||
<section className="about-hero">
|
||||
<h1 className="section-title" style={{ marginBottom: '30px' }}>회사 소개</h1>
|
||||
<div className="about-intro" style={{ maxWidth: '800px', margin: '0 auto' }}>
|
||||
<p style={{ fontSize: '1.2rem', lineHeight: '1.8', fontWeight: '500', color: '#333' }}>
|
||||
<div className="about-intro">
|
||||
<p>
|
||||
Sokuree Consultant는 현장의 목소리(데이터)에서 필요한 정보를 <br className="hidden md:block" />
|
||||
시스템(System)화 하여 기업의 지속 가능한 성장을 지원합니다.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="vision-mission" style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(300px, 1fr))', gap: '30px', marginBottom: '80px' }}>
|
||||
<div style={{ padding: '30px', background: '#f8f9fa', borderRadius: '10px' }}>
|
||||
<section className="vision-mission-grid">
|
||||
<div className="vision-card">
|
||||
<h3>Vision</h3>
|
||||
<p>누구나 쉽게 스마트 경영을 실현하는 세상</p>
|
||||
</div>
|
||||
<div style={{ padding: '30px', background: '#f8f9fa', borderRadius: '10px' }}>
|
||||
<div className="vision-card">
|
||||
<h3>Mission</h3>
|
||||
<p>복잡한 기술을 현장에 맞게 단순화하고, 실질적인 성과를 창출하는 것</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="expert-profile" style={{ marginBottom: '80px' }}>
|
||||
<section className="expert-profile">
|
||||
<h2 className="section-title">대표 컨설턴트</h2>
|
||||
<div style={{ display: 'flex', gap: '50px', alignItems: 'center', flexWrap: 'wrap', justifyContent: 'center' }}>
|
||||
<div style={{ flex: '0 0 350px' }}>
|
||||
<div className="profile-wrapper">
|
||||
<div className="profile-image-container">
|
||||
<img
|
||||
src={consultantProfile}
|
||||
alt="대표 컨설턴트"
|
||||
style={{
|
||||
width: '100%',
|
||||
borderRadius: '20px',
|
||||
boxShadow: '0 15px 30px rgba(0,0,0,0.1)'
|
||||
}}
|
||||
className="profile-image"
|
||||
/>
|
||||
</div>
|
||||
<div style={{ flex: '1', minWidth: '300px' }}>
|
||||
<div style={{ background: 'white', padding: '30px', borderRadius: '20px', border: '1px solid #eee' }}>
|
||||
<ul style={{ listStyle: 'none', padding: 0, lineHeight: '2.5', fontSize: '1.1rem' }}>
|
||||
<div className="profile-content-container">
|
||||
<div className="profile-card">
|
||||
<ul className="profile-list">
|
||||
<li className="flex items-center">
|
||||
<span style={{ marginRight: '10px' }}>✅</span>
|
||||
품질관리 기술사
|
||||
|
||||
@ -1,138 +0,0 @@
|
||||
/* Cases.css */
|
||||
|
||||
.cases-container {
|
||||
padding-top: 100px;
|
||||
min-height: 100vh;
|
||||
background-color: #f9fafb;
|
||||
/* Gray-50 */
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
.cases-content-wrapper {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.cases-header {
|
||||
text-align: center;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.cases-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.cases-subtitle {
|
||||
color: #4b5563;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.cases-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.cases-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.case-card {
|
||||
background-color: white;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.case-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.case-image-wrapper {
|
||||
height: 16rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: #e5e7eb;
|
||||
}
|
||||
|
||||
.case-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.case-card:hover .case-image {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.case-category-badge {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
left: 1rem;
|
||||
background-color: #2563eb;
|
||||
/* Blue-600 */
|
||||
color: white;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 9999px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.case-bar {
|
||||
height: 0.5rem;
|
||||
background-color: #2563eb;
|
||||
}
|
||||
|
||||
.case-content {
|
||||
padding: 2rem;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.case-category-text {
|
||||
color: #2563eb;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.case-card-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.case-result-badge {
|
||||
display: inline-block;
|
||||
background-color: #eff6ff;
|
||||
/* Blue-50 */
|
||||
color: #1d4ed8;
|
||||
/* Blue-700 */
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 0.25rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.case-details {
|
||||
color: #4b5563;
|
||||
line-height: 1.625;
|
||||
}
|
||||
@ -40,10 +40,10 @@ const Home = () => {
|
||||
<section className="section-padding bg-light">
|
||||
<div className="container">
|
||||
<h2 className="section-title">진행 프로세스</h2>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap', textAlign: 'center', gap: '20px' }}>
|
||||
<div className="process-grid">
|
||||
{['진단', '설계', '실행', '정착', '고도화'].map((step, index) => (
|
||||
<div key={index} style={{ flex: 1, minWidth: '120px', background: 'white', padding: '20px', borderRadius: '10px', boxShadow: '0 4px 6px rgba(0,0,0,0.1)' }}>
|
||||
<div style={{ fontSize: '2rem', marginBottom: '10px', color: '#0056b3' }}>{index + 1}</div>
|
||||
<div key={index} className="process-step-card">
|
||||
<div className="process-step-number">{index + 1}</div>
|
||||
<h3>{step}</h3>
|
||||
</div>
|
||||
))}
|
||||
|
||||
@ -1,92 +0,0 @@
|
||||
/* News.css */
|
||||
|
||||
.news-container {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 80px;
|
||||
min-height: 100vh;
|
||||
/* Ensures footer stays at the bottom */
|
||||
background-color: #f9fafb;
|
||||
/* Gray-50 */
|
||||
}
|
||||
|
||||
.news-content-wrapper {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.news-header {
|
||||
text-align: center;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.news-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.news-subtitle {
|
||||
color: #4b5563;
|
||||
font-size: 1.125rem;
|
||||
max-width: 42rem;
|
||||
margin: 0 auto;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.news-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.news-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.news-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
/* Loading & Error States */
|
||||
.news-loading,
|
||||
.news-error,
|
||||
.news-empty {
|
||||
min-height: 100vh;
|
||||
padding-top: 100px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: 4px solid #e5e7eb;
|
||||
border-top-color: #2563eb;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.error-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #dc2626;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: #4b5563;
|
||||
}
|
||||
@ -1,165 +0,0 @@
|
||||
/* NewsDetail.css */
|
||||
|
||||
.news-detail-container {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 80px;
|
||||
min-height: 100vh;
|
||||
background-color: #f9fafb;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.news-article {
|
||||
background-color: white;
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
margin: 0 20px;
|
||||
padding: 3rem;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.news-article {
|
||||
padding: 1.5rem;
|
||||
margin: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Loading & Error */
|
||||
.news-detail-loading,
|
||||
.news-detail-error {
|
||||
min-height: 100vh;
|
||||
padding-top: 100px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
color: #2563eb;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.article-header {
|
||||
margin-bottom: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
font-size: 0.9rem;
|
||||
color: #6b7280;
|
||||
margin-bottom: 1rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.article-meta-divider {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
font-size: 2.25rem;
|
||||
font-weight: 800;
|
||||
color: #111827;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
/* Image */
|
||||
.article-image-wrapper {
|
||||
margin-bottom: 2.5rem;
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.article-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
.article-content {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.8;
|
||||
color: #374151;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.article-content p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-content h2 {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.article-content h3 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: #1f2937;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.article-content ul,
|
||||
.article-content ol {
|
||||
margin-bottom: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
.article-content li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.article-content a {
|
||||
color: #2563eb;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.article-content blockquote {
|
||||
border-left: 4px solid #2563eb;
|
||||
padding-left: 1rem;
|
||||
font-style: italic;
|
||||
color: #4b5563;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.article-content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 0.5rem;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.article-footer {
|
||||
border-top: 1px solid #e5e7eb;
|
||||
padding-top: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
display: inline-block;
|
||||
padding: 0.75rem 2rem;
|
||||
background-color: #f3f4f6;
|
||||
color: #374151;
|
||||
font-weight: 600;
|
||||
border-radius: 0.5rem;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.back-button:hover {
|
||||
background-color: #e5e7eb;
|
||||
}
|
||||
@ -1,121 +0,0 @@
|
||||
/* Resources.css */
|
||||
|
||||
.resources-container {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 80px;
|
||||
min-height: 100vh;
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
|
||||
.resources-content-wrapper {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.resources-header {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.resources-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.resources-subtitle {
|
||||
color: #4b5563;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
.resources-tabs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 3rem;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tab-button {
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 9999px;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
background-color: white;
|
||||
color: #4b5563;
|
||||
border: 1px solid #e5e7eb;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.tab-button:hover {
|
||||
background-color: #f3f4f6;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.tab-button.active {
|
||||
background-color: #2563eb;
|
||||
color: white;
|
||||
border-color: #2563eb;
|
||||
box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
|
||||
}
|
||||
|
||||
/* Two Column Layout for 'All' tab */
|
||||
.resources-all-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.resources-all-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
align-items: start;
|
||||
}
|
||||
}
|
||||
|
||||
.resources-section {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* List Layout */
|
||||
.resources-list {
|
||||
background: white;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
padding: 0 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Section specific */
|
||||
.section-heading {
|
||||
border-left: 4px solid #2563eb;
|
||||
padding-left: 1rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.empty-message {
|
||||
text-align: center;
|
||||
padding: 3rem;
|
||||
color: #6b7280;
|
||||
background: white;
|
||||
border-radius: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.resource-helper-text {
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
background-color: #eff6ff;
|
||||
border-radius: 0.5rem;
|
||||
color: #1e40af;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
@ -1,241 +0,0 @@
|
||||
/* ServiceDetail.css */
|
||||
|
||||
.service-container {
|
||||
padding-top: 80px;
|
||||
min-height: 100vh;
|
||||
background-color: #ffffff;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.service-header {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
}
|
||||
|
||||
.service-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
/* Gray-900 */
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.service-subtitle {
|
||||
color: #4b5563;
|
||||
/* Gray-600 */
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.service-content-wrapper {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* Section Common */
|
||||
.service-section {
|
||||
margin-bottom: 5rem;
|
||||
}
|
||||
|
||||
.section-label {
|
||||
font-size: 1.875rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1rem;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.section-desc {
|
||||
color: #4b5563;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
/* Purpose Grid (Top 3 Cards) */
|
||||
.purpose-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.purpose-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.purpose-card {
|
||||
background-color: #f9fafb;
|
||||
/* Gray-50 */
|
||||
border-radius: 1rem;
|
||||
padding: 2rem;
|
||||
height: 16rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.purpose-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.purpose-card-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: #1f2937;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.purpose-card-text {
|
||||
color: #6b7280;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.purpose-icon {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
right: 1rem;
|
||||
font-size: 4rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Curriculum Grid (Bottom 4 Columns) */
|
||||
.curriculum-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.curriculum-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.curriculum-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.curriculum-card {
|
||||
background-color: white;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 1rem;
|
||||
padding: 2rem;
|
||||
transition: box-shadow 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.curriculum-card:hover {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.curriculum-number {
|
||||
display: block;
|
||||
color: #2563eb;
|
||||
/* Blue-600 */
|
||||
font-weight: 700;
|
||||
font-size: 1.125rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.curriculum-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 1.5rem;
|
||||
min-height: 3.5rem;
|
||||
/* Align heights */
|
||||
}
|
||||
|
||||
.curriculum-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 0.875rem;
|
||||
color: #4b5563;
|
||||
}
|
||||
|
||||
.curriculum-list li {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.curriculum-bullet {
|
||||
margin-right: 0.5rem;
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.curriculum-btn {
|
||||
width: 100%;
|
||||
margin-top: 1.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
background-color: #f9fafb;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.5rem;
|
||||
color: #374151;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.curriculum-btn:hover {
|
||||
background-color: #f3f4f6;
|
||||
}
|
||||
|
||||
/* CTA Banner */
|
||||
.cta-banner {
|
||||
background-color: #f9fafb;
|
||||
border-radius: 1rem;
|
||||
padding: 3.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
margin-bottom: 5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.cta-banner {
|
||||
flex-direction: row;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.cta-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.cta-text {
|
||||
color: #6b7280;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
background-color: #2563eb;
|
||||
color: white;
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 0.5rem;
|
||||
font-weight: 700;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
|
||||
transition: background-color 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
background-color: #1d4ed8;
|
||||
}
|
||||
1326
src/styles/main.css
Normal file
1326
src/styles/main.css
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user