Skip to content
Merged

V2 #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npm run dev
```
Built with webpack + vue.js. All source files in `src` folder, compiled into `dist` folder.


## Build

``` bash
Expand Down
16 changes: 8 additions & 8 deletions dist/build.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<head>
<meta charset="utf-8">
<title>Forge Code Samples</title>
<link rel="stylesheet" href="styles/custom.css">
<link rel="stylesheet" href="src/styles/main.css">
</head>
<body>
<ul>
<li><a href="/">Autodesk Developer</a></li>
<li style="float:right"><a href="https://github.com/Developer-Autodesk">GitHub</a></li>
</ul>
<div id="app"></div>
<div id="cards"></div>
<script src="dist/build.js"></script>
</body>
</html>
5 changes: 2 additions & 3 deletions src/App.vue → src/Cards.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div id="app">
<div id="cards">
<div class="repo-card">
<p>We currently have {{repos.length}} repos.</p>
</div>
<a v-for="repo in repos" v-bind:href="repo.html_url">
<div class="repo-card">
<h3>{{ repo.name }}</h3>
<p>{{ repo.description }}</p>
<a v-bind:href="repo.html_url"><p>Source Code</p></a>
<p><a v-bind:href="repo.html_url"><i class="fa fa-github" aria-hidden="true"></i> Source Code</a></p>
</div>
</a>
</div>
Expand Down Expand Up @@ -35,7 +35,6 @@ export default {
padding: 0;
}
body {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
background: #e2e1e0;
text-align: center;
height: 100%;
Expand Down
Binary file removed src/assets/logo.png
Binary file not shown.
7 changes: 3 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import Vue from 'vue';
import App from './App.vue';
// require('css!./styles/custom.css');
import Cards from './Cards.vue';

new Vue({
el: '#app',
render: h => h(App)
el: '#cards',
render: h => h(Cards)
});
7 changes: 7 additions & 0 deletions src/styles/font-awesome-4.7.0/HELP-US-OUT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project,
Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome,
comprehensive icon sets or copy and paste your own.

Please. Check it out.

-Dave Gandy
Loading