Skip to content

Commit

Permalink
chore: remove all boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
novellac committed Mar 3, 2023
1 parent d17b679 commit f38822c
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 417 deletions.
46 changes: 2 additions & 44 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,47 +1,5 @@
<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!" />
</div>
</header>
<header>incoming header</header>

<main>
<TheWelcome />
</main>
<main>this will be main area</main>
</template>

<style scoped>
header {
line-height: 1.5;
}
.logo {
display: block;
margin: 0 auto 2rem;
}
@media (min-width: 1024px) {
header {
display: flex;
place-items: center;
padding-right: calc(var(--section-gap) / 2);
}
.logo {
margin: 0 2rem 0 0;
}
header .wrapper {
display: flex;
place-items: flex-start;
flex-wrap: wrap;
}
}
</style>
74 changes: 0 additions & 74 deletions src/assets/base.css

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/logo.svg

This file was deleted.

36 changes: 0 additions & 36 deletions src/assets/main.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
@import './base.css';

#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;

font-weight: normal;
}

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;
}
}

@tailwind base;
@tailwind components;
@tailwind utilities;
43 changes: 0 additions & 43 deletions src/components/HelloWorld.vue

This file was deleted.

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

This file was deleted.

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

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/icons/IconCommunity.vue

This file was deleted.

Loading

0 comments on commit f38822c

Please sign in to comment.