From 7e9433762f51be2c4938481c9c33589982118033 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 11 Jun 2021 13:31:07 +0200 Subject: Goodbye, Bootstrap & added a button component --- packages/client/package.json | 1 - packages/client/src/App.vue | 95 +++++++-- packages/client/src/components/BaseBackButton.vue | 2 +- packages/client/src/components/BaseBreadcrumb.vue | 25 ++- packages/client/src/components/BaseButton.vue | 29 +++ packages/client/src/components/CommitPatch.vue | 6 +- packages/client/src/components/HomeHeader.vue | 24 ++- .../client/src/components/HomeProjectsHeader.vue | 27 +-- .../src/components/RepositoryCloneDropdown.vue | 215 ++++++++++++++++----- .../client/src/components/RepositoryHeader.vue | 21 +- .../client/src/components/RepositoryNavbar.vue | 97 +++++++--- .../client/src/components/RepositoryTreeBlob.vue | 9 +- .../client/src/components/RepositoryTreeTree.vue | 62 ++++-- packages/client/src/scss/_bootstrap.scss | 75 ------- packages/client/src/scss/_fonts.scss | 4 +- packages/client/src/scss/_mixins.scss | 20 ++ packages/client/src/scss/_variables.scss | 9 + packages/client/src/views/Home.vue | 37 ++-- packages/client/src/views/Repository.vue | 9 +- packages/client/src/views/RepositoryAbout.vue | 6 +- packages/client/src/views/RepositoryCommit.vue | 90 ++++----- packages/client/src/views/RepositoryLog.vue | 56 ++++-- packages/client/src/views/RepositoryTree.vue | 8 +- yarn.lock | 5 - 24 files changed, 603 insertions(+), 329 deletions(-) create mode 100644 packages/client/src/components/BaseButton.vue delete mode 100644 packages/client/src/scss/_bootstrap.scss create mode 100644 packages/client/src/scss/_mixins.scss create mode 100644 packages/client/src/scss/_variables.scss diff --git a/packages/client/package.json b/packages/client/package.json index cf5ec31..b285bf7 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -11,7 +11,6 @@ }, "dependencies": { "@popperjs/core": "^2.9.2", - "bootstrap": "5.0.0-beta3", "core-js": "^3.6.5", "date-fns": "^2.22.1", "highlight.js": "^11.0.1", diff --git a/packages/client/src/App.vue b/packages/client/src/App.vue index f4d00ca..e74b3f9 100644 --- a/packages/client/src/App.vue +++ b/packages/client/src/App.vue @@ -3,20 +3,15 @@ diff --git a/packages/client/src/components/BaseBackButton.vue b/packages/client/src/components/BaseBackButton.vue index e1191f9..2de0c77 100644 --- a/packages/client/src/components/BaseBackButton.vue +++ b/packages/client/src/components/BaseBackButton.vue @@ -1,5 +1,5 @@ @@ -33,11 +31,17 @@ export default { }; - diff --git a/packages/client/src/components/RepositoryHeader.vue b/packages/client/src/components/RepositoryHeader.vue index 50a1db9..8059809 100644 --- a/packages/client/src/components/RepositoryHeader.vue +++ b/packages/client/src/components/RepositoryHeader.vue @@ -1,7 +1,7 @@ - - diff --git a/packages/client/src/views/RepositoryAbout.vue b/packages/client/src/views/RepositoryAbout.vue index 4b4d700..18855fe 100644 --- a/packages/client/src/views/RepositoryAbout.vue +++ b/packages/client/src/views/RepositoryAbout.vue @@ -1,6 +1,6 @@