Skip to content

Commit

Permalink
fin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lui22 committed Sep 20, 2023
1 parent cbf45f5 commit 916348e
Show file tree
Hide file tree
Showing 26 changed files with 453 additions and 155 deletions.
12 changes: 8 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
<html lang="en">
<head>
<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>
<link href="/favicon.ico" rel="icon">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Contribution Graph</title>

<link href="https://fonts.googleapis.com" rel="preconnect">
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect">
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script src="/src/main.ts" type="module"></script>
</body>
</html>
118 changes: 103 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"date-fns": "2.30.0",
"pinia": "2.1.6",
"vue": "3.3.4"
},
"devDependencies": {
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/favicon_.ico
Binary file not shown.
46 changes: 5 additions & 41 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,47 +1,11 @@
<script lang="ts" setup>
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/TheWelcome.vue'
import ContributionGraph from '@/components/ContributionGraph/ContributionGraph.vue'
</script>

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

<div class="wrapper">
<HelloWorld msg="You did it!" />
</div>
</header>

<main>
<TheWelcome />
</main>
<Suspense>
<ContributionGraph />
</Suspense>
</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>
<style scoped></style>
86 changes: 0 additions & 86 deletions src/assets/base.css

This file was deleted.

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

This file was deleted.

24 changes: 24 additions & 0 deletions src/assets/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
body {
margin: 0;
font-family: 'Inter', sans-serif;
}

.legend {
color: #959494;
font-size: 12px;
}

.legend_row {
display: flex;
justify-content: space-around;
}

.legend_column {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.legend__text:first-letter {
text-transform: uppercase;
}
Loading

0 comments on commit 916348e

Please sign in to comment.