YuwanA55 commited on
Commit
7f31408
·
verified ·
1 Parent(s): ad4bbb8

tolong buatkan portfolio keren animasi

Browse files
Files changed (5) hide show
  1. README.md +8 -5
  2. index.html +72 -19
  3. portfolio.html +80 -0
  4. script.js +37 -0
  5. style.css +50 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Digitalcanvasportfolio
3
- emoji: 👀
4
- colorFrom: yellow
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: DigitalCanvasPortfolio 🎨
3
+ colorFrom: red
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,72 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="id">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Selamat Datang</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: '#3B82F6',
17
+ secondary: '#10B981'
18
+ }
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+ </head>
24
+ <body class="bg-gray-50 min-h-screen">
25
+ <main class="container mx-auto px-4 py-12">
26
+ <div class="max-w-2xl mx-auto text-center">
27
+ <h1 class="text-4xl font-bold text-primary mb-6">Halo Explorer! 🚀</h1>
28
+ <p class="text-lg text-gray-600 mb-8">Selamat datang di petualangan digital Anda. Mari kita mulai!</p>
29
+
30
+ <div class="bg-white rounded-xl shadow-md p-8 mb-8">
31
+ <div class="flex justify-center mb-6">
32
+ <i data-feather="compass" class="text-secondary w-12 h-12"></i>
33
+ </div>
34
+ <h2 class="text-2xl font-semibold text-gray-800 mb-4">Apa yang ingin Anda eksplorasi hari ini?</h2>
35
+ <p class="text-gray-600 mb-6">Kami siap membantu Anda menemukan hal-hal menarik di dunia digital.</p>
36
+ <button class="bg-primary hover:bg-primary-600 text-white font-medium py-2 px-6 rounded-lg transition duration-200">
37
+ Mulai Eksplorasi
38
+ </button>
39
+ </div>
40
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
41
+ <div class="bg-white rounded-xl shadow-md p-6">
42
+ <i data-feather="zap" class="text-secondary w-8 h-8 mb-4"></i>
43
+ <h3 class="text-xl font-medium text-gray-800 mb-2">Cepat</h3>
44
+ <p class="text-gray-600">Pengalaman yang cepat dan responsif</p>
45
+ </div>
46
+ <div class="bg-white rounded-xl shadow-md p-6">
47
+ <i data-feather="shield" class="text-secondary w-8 h-8 mb-4"></i>
48
+ <h3 class="text-xl font-medium text-gray-800 mb-2">Aman</h3>
49
+ <p class="text-gray-600">Proteksi data Anda adalah prioritas kami</p>
50
+ </div>
51
+ <div class="bg-white rounded-xl shadow-md p-6">
52
+ <i data-feather="smile" class="text-secondary w-8 h-8 mb-4"></i>
53
+ <h3 class="text-xl font-medium text-gray-800 mb-2">Mudah</h3>
54
+ <p class="text-gray-600">Antarmuka yang ramah pengguna</p>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="mt-16 text-center">
59
+ <a href="portfolio.html" class="inline-block bg-primary hover:bg-primary-600 text-white font-medium py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105">
60
+ Lihat Portfolio Kami
61
+ </a>
62
+ </div>
63
+ </div>
64
+ </main>
65
+
66
+ <script src="script.js"></script>
67
+ <script>
68
+ feather.replace();
69
+ </script>
70
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
71
+ </body>
72
+ </html>
portfolio.html ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="id">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Portfolio Keren</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
10
+ <script src="https://unpkg.com/scrollreveal"></script>
11
+ </head>
12
+ <body class="bg-gradient-to-br from-indigo-900 to-purple-900 text-white">
13
+ <div class="min-h-screen flex flex-col">
14
+ <!-- Hero Section -->
15
+ <section class="flex-grow flex items-center justify-center py-20 px-4">
16
+ <div class="text-center max-w-4xl">
17
+ <h1 class="text-6xl font-bold mb-6 animate__animated animate__fadeInDown">KARYA <span class="text-yellow-400">KREATIF</span></h1>
18
+ <p class="text-xl mb-8 opacity-80 animate__animated animate__fadeIn animate__delay-1s">Koleksi terbaik karya digital yang memukau</p>
19
+ <div class="animate__animated animate__bounceIn animate__delay-2s">
20
+ <a href="#projects" class="bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-bold py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105 inline-block">
21
+ EXPLORE
22
+ </a>
23
+ </div>
24
+ </div>
25
+ </section>
26
+
27
+ <!-- Projects Section -->
28
+ <section id="projects" class="py-20 px-4">
29
+ <h2 class="text-4xl font-bold text-center mb-16">PROYEK <span class="text-yellow-400">TERBARU</span></h2>
30
+
31
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto">
32
+ <!-- Project 1 -->
33
+ <div class="project-card">
34
+ <div class="project-image" style="background-image: url('http://static.photos/technology/640x360/1')"></div>
35
+ <div class="project-content">
36
+ <h3 class="text-2xl font-bold mb-2">Aplikasi Mobile</h3>
37
+ <p class="opacity-80 mb-4">UI/UX Design untuk aplikasi fintech</p>
38
+ <span class="inline-block bg-yellow-400 text-gray-900 px-3 py-1 rounded-full text-sm font-medium">UI Design</span>
39
+ </div>
40
+ </div>
41
+
42
+ <!-- Project 2 -->
43
+ <div class="project-card">
44
+ <div class="project-image" style="background-image: url('http://static.photos/minimal/640x360/2')"></div>
45
+ <div class="project-content">
46
+ <h3 class="text-2xl font-bold mb-2">Website Perusahaan</h3>
47
+ <p class="opacity-80 mb-4">Desain website modern untuk startup</p>
48
+ <span class="inline-block bg-yellow-400 text-gray-900 px-3 py-1 rounded-full text-sm font-medium">Web Design</span>
49
+ </div>
50
+ </div>
51
+
52
+ <!-- Project 3 -->
53
+ <div class="project-card">
54
+ <div class="project-image" style="background-image: url('http://static.photos/abstract/640x360/3')"></div>
55
+ <div class="project-content">
56
+ <h3 class="text-2xl font-bold mb-2">Brand Identity</h3>
57
+ <p class="opacity-80 mb-4">Desain logo dan branding package</p>
58
+ <span class="inline-block bg-yellow-400 text-gray-900 px-3 py-1 rounded-full text-sm font-medium">Branding</span>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </section>
63
+
64
+ <!-- Footer -->
65
+ <footer class="py-8 text-center opacity-70">
66
+ <p>© 2023 DigitalCanvasPortfolio. All rights reserved.</p>
67
+ </footer>
68
+ </div>
69
+
70
+ <script src="script.js"></script>
71
+ <script>
72
+ ScrollReveal().reveal('.project-card', {
73
+ delay: 200,
74
+ distance: '50px',
75
+ origin: 'bottom',
76
+ interval: 200
77
+ });
78
+ </script>
79
+ </body>
80
+ </html>
script.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ // Initialize ScrollReveal
4
+ const sr = ScrollReveal({
5
+ origin: 'bottom',
6
+ distance: '50px',
7
+ duration: 1000,
8
+ delay: 200,
9
+ reset: true
10
+ });
11
+
12
+ // Reveal elements
13
+ sr.reveal('.project-card', { interval: 200 });
14
+
15
+ // Smooth scroll
16
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
17
+ anchor.addEventListener('click', function(e) {
18
+ e.preventDefault();
19
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
20
+ behavior: 'smooth'
21
+ });
22
+ });
23
+ });
24
+
25
+ // Add reveal class when elements are in view
26
+ const observer = new IntersectionObserver((entries) => {
27
+ entries.forEach(entry => {
28
+ if (entry.isIntersecting) {
29
+ entry.target.classList.add('reveal');
30
+ }
31
+ });
32
+ }, { threshold: 0.1 });
33
+
34
+ document.querySelectorAll('.project-card').forEach(card => {
35
+ observer.observe(card);
36
+ });
37
+ });
style.css CHANGED
@@ -1,28 +1,60 @@
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Poppins', sans-serif;
5
+ }
6
+
7
+ /* Animations */
8
+ @keyframes fadeIn {
9
+ from { opacity: 0; }
10
+ to { opacity: 1; }
11
+ }
12
+
13
+ .animate-fadeIn {
14
+ animation: fadeIn 0.5s ease-out;
15
+ }
16
+ /* Portfolio Components */
17
+ .project-card {
18
+ background: rgba(255, 255, 255, 0.1);
19
+ backdrop-filter: blur(10px);
20
+ border-radius: 20px;
21
+ overflow: hidden;
22
+ transition: all 0.5s ease;
23
+ transform: translateY(50px);
24
+ opacity: 0;
25
+ }
26
+
27
+ .project-card.reveal {
28
+ transform: translateY(0);
29
+ opacity: 1;
30
+ }
31
+
32
+ .project-card:hover {
33
+ transform: translateY(-10px) !important;
34
+ box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
35
+ }
36
+
37
+ .project-image {
38
+ height: 250px;
39
+ background-size: cover;
40
+ background-position: center;
41
+ transition: transform 0.5s ease;
42
  }
43
 
44
+ .project-card:hover .project-image {
45
+ transform: scale(1.1);
 
46
  }
47
 
48
+ .project-content {
49
+ padding: 2rem;
 
 
 
50
  }
51
 
52
+ @keyframes float {
53
+ 0% { transform: translateY(0px); }
54
+ 50% { transform: translateY(-20px); }
55
+ 100% { transform: translateY(0px); }
 
 
56
  }
57
 
58
+ .floating {
59
+ animation: float 6s ease-in-out infinite;
60
  }