Skip to content

Commit

Permalink
Clean up boilerplate code and start from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanyah committed Mar 29, 2022
1 parent 17d6e81 commit cea5d2a
Show file tree
Hide file tree
Showing 13 changed files with 3,819 additions and 576 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<title>Transparent Royalties using Smart Contracts</title>
</head>
<body>
<div id="app"></div>
Expand Down
3,982 changes: 3,815 additions & 167 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"preview": "vite preview --port 5050"
},
"dependencies": {
"npm": "^8.5.5",
"vue": "^3.2.31"
},
"devDependencies": {
"@vitejs/plugin-vue": "^2.2.2",
"vite": "^2.8.4"
"vite": "^2.8.6"
}
}
74 changes: 1 addition & 73 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,81 +1,9 @@
<script setup>
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/TheWelcome.vue'
</script>

<template>
<header>
<img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />

<div class="wrapper">
<HelloWorld msg="You did it!" />
Hello World in Vue
</div>
</header>

<main>
<TheWelcome />
</main>
</template>

<style>
@import './assets/base.css';
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
font-weight: normal;
}
header {
line-height: 1.5;
}
.logo {
display: block;
margin: 0 auto 2rem;
}
a,
.green {
text-decoration: none;
color: hsla(160, 100%, 37%, 1);
transition: 0.4s;
}
@media (hover: hover) {
a:hover {
background-color: hsla(160, 100%, 37%, 0.2);
}
}
@media (min-width: 1024px) {
body {
display: flex;
place-items: center;
}
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
}
header {
display: flex;
place-items: center;
padding-right: calc(var(--section-gap) / 2);
}
header .wrapper {
display: flex;
place-items: flex-start;
flex-wrap: wrap;
}
.logo {
margin: 0 2rem 0 0;
}
}
</style>
74 changes: 0 additions & 74 deletions src/assets/base.css

This file was deleted.

43 changes: 0 additions & 43 deletions src/components/HelloWorld.vue

This file was deleted.

84 changes: 0 additions & 84 deletions src/components/TheWelcome.vue

This file was deleted.

86 changes: 0 additions & 86 deletions src/components/WelcomeItem.vue

This file was deleted.

Loading

0 comments on commit cea5d2a

Please sign in to comment.