header for the site, and making the 1st layout for the components, still trying to figure out the framework
This commit is contained in:
26
front/MyINPulse-front/src/components/Header.vue
Normal file
26
front/MyINPulse-front/src/components/Header.vue
Normal file
@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<header>
|
||||
<img src="./icons/logo inpulse.png" alt="INPulse" />
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Header',
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
header img {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
header{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 20px;
|
||||
background-color: #fff;
|
||||
border-bottom: 2px solid #ddd;
|
||||
}
|
||||
</style>
|
18
front/MyINPulse-front/src/components/Project-comp.vue
Normal file
18
front/MyINPulse-front/src/components/Project-comp.vue
Normal file
@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div class="project">
|
||||
<div class="project-header">
|
||||
<h2>{{ projectName }}</h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Project',
|
||||
props: {
|
||||
projectName: String,
|
||||
}
|
||||
}
|
||||
</script>
|
BIN
front/MyINPulse-front/src/components/icons/logo inpulse.png
Normal file
BIN
front/MyINPulse-front/src/components/icons/logo inpulse.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
Reference in New Issue
Block a user