From 7a23a1eef053e6895282d4e81f7ed1fb2b38c001 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 15 Oct 2022 21:50:43 +0100 Subject: [PATCH] refactor: move `` -> style individual `` --- src/assets/css/tailwind.css | 5 +++ src/components/GithubRepos.vue | 8 ++-- src/components/GridLink.vue | 34 +++++++++++++++ src/components/ItemList.vue | 43 ------------------- src/pages/blog/index.vue | 8 ++-- src/pages/talks.vue | 8 ++-- test/unit/ItemList.spec.ts | 19 -------- test/unit/__snapshots__/ItemList.spec.ts.snap | 3 -- 8 files changed, 51 insertions(+), 77 deletions(-) create mode 100644 src/components/GridLink.vue delete mode 100644 src/components/ItemList.vue delete mode 100644 test/unit/ItemList.spec.ts delete mode 100644 test/unit/__snapshots__/ItemList.spec.ts.snap diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index b5c61c95..0026000f 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -1,3 +1,8 @@ @tailwind base; @tailwind components; @tailwind utilities; + +a:not([href]) { + opacity: 0.5; + pointer-events: none; +} diff --git a/src/components/GithubRepos.vue b/src/components/GithubRepos.vue index b24c9800..2c4210ce 100644 --- a/src/components/GithubRepos.vue +++ b/src/components/GithubRepos.vue @@ -1,6 +1,6 @@