Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMacielSousa committed Apr 7, 2021
1 parent b1bdc78 commit fa7c5fb
Show file tree
Hide file tree
Showing 26 changed files with 372 additions and 165 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# mini-proj1

A tarefa 2.2 corresponde ao primeiro desenvolvimento web da unidade curricular. Esta programação pretende verificar os conhecimentos anteriores relativos à construção de uma página HTML básica, com o acrescido do conceitos de Single Page Application (SPA).

<img src="@/assets/printscreen.PNG">

## Project setup
```
npm install
Expand All @@ -15,10 +19,5 @@ npm run serve
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Binary file modified public/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html lang="">
<html lang="pt">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>André Sousa</title>
</head>
<body>
<noscript>
Expand Down
52 changes: 36 additions & 16 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,52 @@
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<router-view />
<Header nome="André Maciel Sousa"></Header>
<router-view class="corpo"></router-view>
<Footer />
</div>
</template>

<script>
import Footer from "@/components/Footer.vue";
import Header from "@/components/Header.vue";
export default {
name: "App",
components: {
Footer,
Header,
},
};
</script>

<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
font-family:sans-serif;
font-size: 12px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
display: flex;
flex-direction: column;
justify-content: space-between;
height:97vh;
}
#nav {
padding: 30px;
ul{
list-style: none;
margin: 0;
padding: 0;
}
#nav a {
font-weight: bold;
color: #2c3e50;
a {
text-decoration: none;
}
#nav a.router-link-exact-active {
color: #42b983;
.corpo{
width: 80%;
margin: auto;
height: 100%;
padding: 36px 0;
text-align: center;
}
</style>
Binary file added src/assets/foto.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/gallery/aprender.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/gallery/automobilismo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/gallery/fotografia.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/gallery/viajar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/gallery/video.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/logo.png
Binary file not shown.
Binary file added src/assets/printscreen.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/social/youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<template>
<div >
<hr>
<div class="footer">
<a href="https://github.com/AndreMacielSousa" target="_blank">
<img src="@/assets/social/github.svg" />
</a>
<a href="https://www.facebook.com/andresousa.rebordoes" target="_blank">
<img src="@/assets/social/facebook.svg" />
</a>
<a href="https://www.instagram.com/amacss/" target="_blank">
<img src="@/assets/social/instagram.svg" />
</a>
<a href="https://www.linkedin.com/in/amdss/" target="_blank">
<img src="@/assets/social/linkedin.svg" />
</a>
<a href="https://twitter.com/sousandre" target="_blank">
<img src="@/assets/social/twitter.svg" />
</a>
<a
href="https://www.youtube.com/channel/UCa-EREAhtx1iqUsK1VIkPuA"
target="_blank"
>
<img src="@/assets/social/youtube.svg" />
</a>
</div>
</div>
</template>

<script>
export default {
name: "Footer",
data() {
return {};
},
};
</script>

<style scoped>
img {
width: 30px;
height: 30px;
margin: 10px;
}
.footer {
align-items: center;
justify-content: center;
padding: 32px;
display: flex;
bottom: 0;
}
hr{
width: 50%;
}
</style>
53 changes: 53 additions & 0 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<template>
<div class="nav">
<ul>
<li class="name">{{ nome }}</li>
<li class="item" v-for="(route, idx) in routes" :key="idx">
<router-link :to="route.path">{{ route.name }}</router-link>
</li>
</ul>
</div>
</template>

<script>
import { routes } from "@/router/index.js";
export default {
name: "Header",
props: {
nome: String,
},
data() {
return { routes };
},
};
</script>

<style scoped>
.nav {
background-color: #000000;
justify-content: space-between;
align-items: center;
padding: 10px;
color: #fff;
top: 0;
}
li.name {
float: left;
font-size: 14px;
}
li.item {
float: right;
padding-top: 12px;
margin-right: 5px;
padding-right: 10px;
}
a:link,
a:visited {
color: #ffffff;
}
a:hover {
color: #04afff;
}
</style>
122 changes: 0 additions & 122 deletions src/components/HelloWorld.vue

This file was deleted.

Loading

0 comments on commit fa7c5fb

Please sign in to comment.