feat: new version
This commit is contained in:
parent
d580a3e905
commit
b87e53365f
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
@ -278,7 +278,7 @@
|
|||
<p><a target="_blank" rel="noopener" href="https://baidu.com/">https://baidu.com</a></p>
|
||||
<p><a target="_blank" rel="noopener" href="http://www.this-anchor-link.com/">锚点链接</a> </p>
|
||||
<p><a href="mailto:test.test@gmail.com">mailto:test.test@gmail.com</a></p>
|
||||
<p>GFM a-tail link <a target="_blank" rel="noopener" href="https://my.oschina.net/u/3691274">@pandao</a> 邮箱地址自动链接 <a href="mailto:test.test@gmail.com">test.test@gmail.com</a> <a href="mailto:www@vip.qq.com">www@vip.qq.com</a></p>
|
||||
<p>GFM a-tail link <a target="_blank" rel="noopener" href="https://my.oschina.net/u/3691274">@pandao</a> 邮箱地址自动链接 <a href="mailto:test.test@gmail.com">test.test@gmail.com</a> <a href="mailto:www@vip.qq.com">www@vip.qq.com</a></p>
|
||||
<blockquote>
|
||||
<p>@pandao</p>
|
||||
</blockquote>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
#gantt-container{cursor:grab}#gantt-container:before{background:var(--color-border-2);content:"";height:1px;left:0;position:sticky;right:0;top:60px}#gantt-container .timeline-container{position:relative;user-select:none;white-space:nowrap}#gantt-container .timeline-container .days-row,#gantt-container .timeline-container .months-row{height:30px;position:relative}#gantt-container .timeline-container .month{font-size:12px}#gantt-container .timeline-container .day{font-size:13px}#gantt-container .timeline-container .day,#gantt-container .timeline-container .month{color:var(--color-font-2);height:30px;line-height:30px;position:absolute;text-align:center}#gantt-container .timeline-container .day.today,#gantt-container .timeline-container .month.today{position:relative}#gantt-container .timeline-container .day.today:before,#gantt-container .timeline-container .month.today:before{background-color:var(--color-primary);border-radius:50%;content:"";height:8px;left:50%;position:absolute;top:-4px;transform:translateX(-50%);width:8px}#gantt-container .task-container{flex:1;position:relative}#gantt-container .task-container .task-bar{background:linear-gradient(to right,var(--color-primary-2),var(--color-primary-3));border-radius:var(--radius);cursor:pointer;padding:0 10px;position:relative;transition:all .3s ease-in-out;z-index:10}#gantt-container .task-container .task-bar.expired{color:var(--color-font-3)}#gantt-container .task-container .task-bar.doing{color:var(--color-font)}#gantt-container .task-container .task-bar.todo{color:var(--color-font-2)}.roadmap{display:flex;flex-direction:column;height:100%}.roadmap .timeline-bar{border-bottom:1px solid var(--color-border-2);height:60px;justify-content:center;padding:6px 24px}.roadmap .timeline-bar,.roadmap .timeline-bar section{align-items:center;display:flex}.roadmap .timeline-bar section button{margin-left:8px}.roadmap .timeline-bar section button:first-of-type{margin:0}.roadmap #gantt-container{display:flex;flex:1;flex-direction:column;overflow-x:auto;overflow-y:hidden;position:relative}
|
||||
#gantt-container{cursor:grab}#gantt-container:before{background:var(--color-border-2);content:"";height:1px;left:0;position:sticky;right:0;top:60px}#gantt-container .timeline-container{position:relative;user-select:none;white-space:nowrap}#gantt-container .timeline-container .days-row,#gantt-container .timeline-container .months-row{height:30px;position:relative}#gantt-container .timeline-container .month{font-size:12px}#gantt-container .timeline-container .day{font-size:13px}#gantt-container .timeline-container .day,#gantt-container .timeline-container .month{color:var(--color-font-2);height:30px;line-height:30px;position:absolute;text-align:center}#gantt-container .timeline-container .day.today,#gantt-container .timeline-container .month.today{position:relative}#gantt-container .timeline-container .day.today:before,#gantt-container .timeline-container .month.today:before{background-color:var(--color-primary);border-radius:50%;content:"";height:8px;left:50%;position:absolute;top:-4px;transform:translateX(-50%);width:8px}#gantt-container .task-container{flex:1;position:relative}#gantt-container .task-container .task-bar{border-radius:var(--radius);cursor:pointer;padding:0 10px;position:relative;transition:all .3s ease-in-out;z-index:10}#gantt-container .task-container .task-bar.expired{background:linear-gradient(to right,var(--color-bg-3),var(--color-bg-2));opacity:.6}#gantt-container .task-container .task-bar.doing,#gantt-container .task-container .task-bar.todo{background:linear-gradient(to right,var(--color-primary-2),var(--color-primary-3))}#gantt-container .task-container .task-bar.todo{opacity:.6}.roadmap{display:flex;flex-direction:column;height:100%}.roadmap .timeline-bar{border-bottom:1px solid var(--color-border-2);height:60px;justify-content:center;padding:6px 24px}.roadmap .timeline-bar,.roadmap .timeline-bar section{align-items:center;display:flex}.roadmap .timeline-bar section button{margin-left:8px}.roadmap .timeline-bar section button:first-of-type{margin:0}.roadmap #gantt-container{display:flex;flex:1;flex-direction:column;overflow-x:auto;overflow-y:hidden;position:relative}
|
1
public/css/5c823a15.css
Normal file
1
public/css/5c823a15.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
</aside>
|
||||
<main>
|
||||
|
||||
<link rel="stylesheet" href="/css/7ef8188c.css">
|
||||
<link rel="stylesheet" href="/css/3fa188f4.css">
|
||||
|
||||
|
||||
|
||||
|
|
1
public/js/9f1cd854.js
Normal file
1
public/js/9f1cd854.js
Normal file
|
@ -0,0 +1 @@
|
|||
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(()=>{(()=>{const e=document.querySelector(".magic-cards");e&&(e.onmousemove=e=>{const t=document.getElementsByClassName("card");for(let o=0;o<t.length;o++){const n=t[o],s=n.getBoundingClientRect(),c=e.clientX-s.left,l=e.clientY-s.top;n.style.setProperty("--mouse-x",`${c}px`),n.style.setProperty("--mouse-y",`${l}px`)}})})()}))})();
|
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
</aside>
|
||||
<main>
|
||||
|
||||
<link rel="stylesheet" href="/css/8d8ebf8c.css">
|
||||
<link rel="stylesheet" href="/css/5c823a15.css">
|
||||
|
||||
|
||||
<div class="resume scrollbar-obtrusive">
|
||||
|
@ -287,7 +287,7 @@
|
|||
</div>
|
||||
</aside>
|
||||
<main>
|
||||
<h2>Resume</h2>
|
||||
<h2><span>Resume</span></h2>
|
||||
<!-- introduction -->
|
||||
<div class="about-me">
|
||||
|
||||
|
@ -462,12 +462,19 @@
|
|||
|
||||
|
||||
</ul>
|
||||
<h2 class="portfolio-title"><span>Portfolio</span></h2>
|
||||
<!-- portfolio -->
|
||||
<div class="portfolio">
|
||||
<div class="magic-cards">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="/js/31d6cfe0.js"></script>
|
||||
<script src="/js/9f1cd854.js"></script>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/d78c65bd.css">
|
||||
<link rel="stylesheet" href="/css/26c34ce6.css">
|
||||
|
||||
<meta name="generator" content="Hexo 6.3.0"></head>
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
</aside>
|
||||
<main>
|
||||
|
||||
<link rel="stylesheet" href="/css/32d996e4.css">
|
||||
<link rel="stylesheet" href="/css/5c728363.css">
|
||||
|
||||
|
||||
<div class="roadmap">
|
||||
|
@ -249,7 +249,7 @@
|
|||
|
||||
|
||||
|
||||
<script src="/js/a72b5856.js"></script>
|
||||
<script src="/js/cdca7001.js"></script>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: الخبرة العملية
|
|||
text-project: المشروع
|
||||
text-project-name: اسم المشروع
|
||||
text-project-desc: وصف المشروع
|
||||
text-portfolio: ملف الأعمال
|
||||
|
||||
January: يناير
|
||||
February: فبراير
|
||||
|
|
|
@ -33,6 +33,7 @@ text-workExp: Berufserfahrung
|
|||
text-project: Projekt
|
||||
text-project-name: Projektname
|
||||
text-project-desc: Projektbeschreibung
|
||||
text-portfolio: Portfolio
|
||||
|
||||
January: Januar
|
||||
February: Februar
|
||||
|
|
|
@ -36,6 +36,7 @@ text-workExp: Work Experience
|
|||
text-project: Project
|
||||
text-project-name: Project Name
|
||||
text-project-desc: Project Description
|
||||
text-portfolio: Portfolio
|
||||
|
||||
January: January
|
||||
February: February
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: Experiencia laboral
|
|||
text-project: Proyecto
|
||||
text-project-name: Nombre del proyecto
|
||||
text-project-desc: Descripción del proyecto
|
||||
text-portfolio: Portafolio
|
||||
|
||||
January: Enero
|
||||
February: Febrero
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: Expérience professionnelle
|
|||
text-project: Projet
|
||||
text-project-name: Nom du projet
|
||||
text-project-desc: Description du projet
|
||||
text-portfolio: Portefeuille
|
||||
|
||||
January: Janvier
|
||||
February: Février
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: 職歴
|
|||
text-project: プロジェクト
|
||||
text-project-name: プロジェクト名
|
||||
text-project-desc: プロジェクト説明
|
||||
text-portfolio: ポートフォリオ
|
||||
|
||||
January: 1月
|
||||
February: 2月
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: 경력
|
|||
text-project: 프로젝트
|
||||
text-project-name: 프로젝트 이름
|
||||
text-project-desc: 프로젝트 설명
|
||||
text-portfolio: 포트폴리오
|
||||
|
||||
January: 1월
|
||||
February: 2월
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: Опыт работы
|
|||
text-project: Проект
|
||||
text-project-name: Название проекта
|
||||
text-project-desc: Описание проекта
|
||||
text-portfolio: Портфолио
|
||||
|
||||
January: Январь
|
||||
February: Февраль
|
||||
|
|
|
@ -36,6 +36,7 @@ text-workExp: 工作经历
|
|||
text-project: 项目经验
|
||||
text-project-name: 项目名称
|
||||
text-project-desc: 项目描述
|
||||
text-portfolio: 作品集
|
||||
|
||||
January: 一月
|
||||
February: 二月
|
||||
|
|
|
@ -34,6 +34,7 @@ text-workExp: 工作經驗
|
|||
text-project: 專案
|
||||
text-project-name: 專案名稱
|
||||
text-project-desc: 專案描述
|
||||
text-portfolio: 作品集
|
||||
|
||||
January: 一月
|
||||
February: 二月
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%- css("/css/7ef8188c.css")%>
|
||||
<%- css("/css/3fa188f4.css")%>
|
||||
|
||||
<% layout='layout' %>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<%- css("/css/d78c65bd.css")%>
|
||||
<%- css("/css/26c34ce6.css")%>
|
||||
</head>
|
||||
|
||||
<body id="app">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%- css("/css/8d8ebf8c.css")%>
|
||||
<%- css("/css/5c823a15.css")%>
|
||||
|
||||
<div class="resume scrollbar-obtrusive">
|
||||
<div class="container">
|
||||
|
@ -80,7 +80,7 @@
|
|||
</div>
|
||||
</aside>
|
||||
<main>
|
||||
<h2><%- __('text-resume') %></h2>
|
||||
<h2><span><%- __('text-resume') %></span></h2>
|
||||
<!-- introduction -->
|
||||
<div class="about-me">
|
||||
<% if (page.about) { %>
|
||||
|
@ -184,8 +184,40 @@
|
|||
<% }) %>
|
||||
<% } %>
|
||||
</ul>
|
||||
<h2 class="portfolio-title"><span><%- __('text-portfolio') %></span></h2>
|
||||
<!-- portfolio -->
|
||||
<div class="portfolio">
|
||||
<div class="magic-cards">
|
||||
<% if (page.portfolio) { %>
|
||||
<% page.portfolio.forEach(function(item) { %>
|
||||
<a href="<%= item.link %>" class="card">
|
||||
<div class="card-content">
|
||||
<div class="card-image" style="background-image: url('<%= item.cover %>');">
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<circle cx="12" cy="12" r="2"></circle>
|
||||
<path d="M22 12c-2.667 4.667-6 7-10 7s-7.333-2.333-10-7c2.667-4.667 6-7 10-7s7.333 2.333 10 7"></path>
|
||||
</g>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="card-info-wrapper">
|
||||
<div class="card-info">
|
||||
<div class="card-info-title">
|
||||
<h3 class="ellipsis"><%= item.name %></h3>
|
||||
<h4 class="ellipsis"><%= item.desc %></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<% }) %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%- js("/js/31d6cfe0.js")%>
|
||||
<%- js("/js/9f1cd854.js")%>
|
|
@ -1,4 +1,4 @@
|
|||
<%- css("/css/32d996e4.css")%>
|
||||
<%- css("/css/5c728363.css")%>
|
||||
|
||||
<div class="roadmap">
|
||||
<div class="timeline-bar">
|
||||
|
@ -41,4 +41,4 @@
|
|||
</script>
|
||||
|
||||
|
||||
<%- js("/js/a72b5856.js")%>
|
||||
<%- js("/js/cdca7001.js")%>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
#gantt-container{cursor:grab}#gantt-container:before{background:var(--color-border-2);content:"";height:1px;left:0;position:sticky;right:0;top:60px}#gantt-container .timeline-container{position:relative;user-select:none;white-space:nowrap}#gantt-container .timeline-container .days-row,#gantt-container .timeline-container .months-row{height:30px;position:relative}#gantt-container .timeline-container .month{font-size:12px}#gantt-container .timeline-container .day{font-size:13px}#gantt-container .timeline-container .day,#gantt-container .timeline-container .month{color:var(--color-font-2);height:30px;line-height:30px;position:absolute;text-align:center}#gantt-container .timeline-container .day.today,#gantt-container .timeline-container .month.today{position:relative}#gantt-container .timeline-container .day.today:before,#gantt-container .timeline-container .month.today:before{background-color:var(--color-primary);border-radius:50%;content:"";height:8px;left:50%;position:absolute;top:-4px;transform:translateX(-50%);width:8px}#gantt-container .task-container{flex:1;position:relative}#gantt-container .task-container .task-bar{background:linear-gradient(to right,var(--color-primary-2),var(--color-primary-3));border-radius:var(--radius);cursor:pointer;padding:0 10px;position:relative;transition:all .3s ease-in-out;z-index:10}#gantt-container .task-container .task-bar.expired{color:var(--color-font-3)}#gantt-container .task-container .task-bar.doing{color:var(--color-font)}#gantt-container .task-container .task-bar.todo{color:var(--color-font-2)}.roadmap{display:flex;flex-direction:column;height:100%}.roadmap .timeline-bar{border-bottom:1px solid var(--color-border-2);height:60px;justify-content:center;padding:6px 24px}.roadmap .timeline-bar,.roadmap .timeline-bar section{align-items:center;display:flex}.roadmap .timeline-bar section button{margin-left:8px}.roadmap .timeline-bar section button:first-of-type{margin:0}.roadmap #gantt-container{display:flex;flex:1;flex-direction:column;overflow-x:auto;overflow-y:hidden;position:relative}
|
||||
#gantt-container{cursor:grab}#gantt-container:before{background:var(--color-border-2);content:"";height:1px;left:0;position:sticky;right:0;top:60px}#gantt-container .timeline-container{position:relative;user-select:none;white-space:nowrap}#gantt-container .timeline-container .days-row,#gantt-container .timeline-container .months-row{height:30px;position:relative}#gantt-container .timeline-container .month{font-size:12px}#gantt-container .timeline-container .day{font-size:13px}#gantt-container .timeline-container .day,#gantt-container .timeline-container .month{color:var(--color-font-2);height:30px;line-height:30px;position:absolute;text-align:center}#gantt-container .timeline-container .day.today,#gantt-container .timeline-container .month.today{position:relative}#gantt-container .timeline-container .day.today:before,#gantt-container .timeline-container .month.today:before{background-color:var(--color-primary);border-radius:50%;content:"";height:8px;left:50%;position:absolute;top:-4px;transform:translateX(-50%);width:8px}#gantt-container .task-container{flex:1;position:relative}#gantt-container .task-container .task-bar{border-radius:var(--radius);cursor:pointer;padding:0 10px;position:relative;transition:all .3s ease-in-out;z-index:10}#gantt-container .task-container .task-bar.expired{background:linear-gradient(to right,var(--color-bg-3),var(--color-bg-2));opacity:.6}#gantt-container .task-container .task-bar.doing,#gantt-container .task-container .task-bar.todo{background:linear-gradient(to right,var(--color-primary-2),var(--color-primary-3))}#gantt-container .task-container .task-bar.todo{opacity:.6}.roadmap{display:flex;flex-direction:column;height:100%}.roadmap .timeline-bar{border-bottom:1px solid var(--color-border-2);height:60px;justify-content:center;padding:6px 24px}.roadmap .timeline-bar,.roadmap .timeline-bar section{align-items:center;display:flex}.roadmap .timeline-bar section button{margin-left:8px}.roadmap .timeline-bar section button:first-of-type{margin:0}.roadmap #gantt-container{display:flex;flex:1;flex-direction:column;overflow-x:auto;overflow-y:hidden;position:relative}
|
1
themes/hexo-theme-cosy/source/css/5c823a15.css
Normal file
1
themes/hexo-theme-cosy/source/css/5c823a15.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
themes/hexo-theme-cosy/source/js/9f1cd854.js
Normal file
1
themes/hexo-theme-cosy/source/js/9f1cd854.js
Normal file
|
@ -0,0 +1 @@
|
|||
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(()=>{(()=>{const e=document.querySelector(".magic-cards");e&&(e.onmousemove=e=>{const t=document.getElementsByClassName("card");for(let o=0;o<t.length;o++){const n=t[o],s=n.getBoundingClientRect(),c=e.clientX-s.left,l=e.clientY-s.top;n.style.setProperty("--mouse-x",`${c}px`),n.style.setProperty("--mouse-y",`${l}px`)}})})()}))})();
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user