-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from saferwall/fixs
Logo Update , rescale paddings, comments
- Loading branch information
Showing
27 changed files
with
954 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
name: UI CI | ||
on: [push] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- build | ||
env: | ||
IMAGE: saferwall/ui | ||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
<template> | ||
<div class="card"> | ||
<h2 class="title" v-if="title"> | ||
{{ title }} | ||
</h2> | ||
<slot /> | ||
</div> | ||
<div class="card"> | ||
<h2 class="title" v-if="title"> | ||
{{ title }} | ||
</h2> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
title: { | ||
type: String | ||
} | ||
} | ||
} | ||
props: { | ||
title: { | ||
type: String, | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.card{ | ||
@apply bg-light py-6 px-6 md:rounded-lg shadow-sm content-center items-center; | ||
.card { | ||
@apply bg-light py-3 px-3 md:rounded-lg shadow-sm content-center items-center; | ||
.title{ | ||
@apply text-3xl m-4; | ||
} | ||
.title { | ||
@apply text-3xl m-4; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
<template> | ||
<router-link class="text-white no-underline hover:text-white hover:no-underline p-1" to="/"> | ||
<img src="@/assets/images/logo.png" class=" h-full max-h-20 w-auto mx-auto p-2" alt="Saferwall"> | ||
</router-link> | ||
<router-link | ||
class="text-white no-underline hover:text-white hover:no-underline p-1" | ||
to="/" | ||
> | ||
<img | ||
src="@/assets/images/logo.svg" | ||
class="h-full max-h-20 w-auto mx-auto p-2" | ||
alt="Saferwall" | ||
/> | ||
</router-link> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
<template> | ||
<btn :class="followed ? 'btn-active':''" @click="$emit('toggleFollow', $target)"> | ||
{{ followed ? 'UnFollow' : 'Follow' }} | ||
</btn> | ||
<btn | ||
:class="followed ? 'btn-active' : ''" | ||
@click="$emit('toggleFollow', $target)" | ||
> | ||
{{ followed ? "UnFollow" : "Follow" }} | ||
</btn> | ||
</template> | ||
|
||
<script> | ||
import Btn from './Btn.vue' | ||
import Btn from "./Btn.vue"; | ||
export default { | ||
components: { | ||
Btn | ||
}, | ||
props : { | ||
followed: { | ||
default: false, | ||
type: Boolean | ||
} | ||
components: { | ||
Btn, | ||
}, | ||
props: { | ||
followed: { | ||
default: false, | ||
type: Boolean, | ||
}, | ||
emits: [ 'toggleFollow' ] | ||
} | ||
}, | ||
emits: ["toggleFollow"], | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
.btn-active{ | ||
@apply bg-primary bg-opacity-10 border-none font-medium; | ||
.btn-active { | ||
@apply bg-primary bg-opacity-10 border-none font-medium; | ||
} | ||
</style> |
Oops, something went wrong.