Skip to content

Commit

Permalink
Merge pull request #9 from CityOfPhiladelphia/pinboard-features
Browse files Browse the repository at this point in the history
Pinboard features
  • Loading branch information
ajrothwell authored Nov 17, 2023
2 parents 5b71404 + b94caab commit 829aaf9
Show file tree
Hide file tree
Showing 9 changed files with 1,158 additions and 1,185 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_push_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: dev Push to S3
on:
push:
branches:
- main
- pinboard-features

jobs:
build:
Expand Down
2,268 changes: 1,109 additions & 1,159 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@fortawesome/pro-light-svg-icons": "5.15.4",
"@fortawesome/pro-regular-svg-icons": "5.15.4",
"@fortawesome/pro-solid-svg-icons": "5.15.4",
"@phila/pinboard": "1.1.44",
"@phila/pinboard": "1.2.8",
"bulma": "^0.9.1",
"core-js": "^3.3.3",
"vue": "^2.6.10"
Expand Down
19 changes: 19 additions & 0 deletions public/error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<body>
<div class="error-message">
Please start at <a href="https://www.phila.gov/obme/resources/">https://www.phila.gov/obme/resources/</a>
</div>
</body>
</html>

<style>

.error-message {
padding: 20px;
font-family: "Montserrat-SemiBold", "Montserrat SemiBold", "Montserrat", sans-serif;
font-weight: 650;
font-size: 20px;
}

</style>
Binary file modified public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/images/location-crosshairs-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion src/components/ExpandCollapseContent.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<template>
<div :class="isMobile ? 'main-content-mobile' : 'main-content'">
<div class="columns">
<print-share-section
:item="item"
/>

<div class="columns top-section">
<div class="column is-6">
<div
v-if="item.attributes.address"
Expand Down Expand Up @@ -114,9 +118,13 @@
<script>
import SharedFunctions from '@phila/pinboard/src/components/mixins/SharedFunctions.vue';
import PrintShareSection from '@phila/pinboard/src/components/PrintShareSection';
export default {
name: 'ExpandCollapseContent',
components: {
PrintShareSection,
},
mixins: [ SharedFunctions ],
props: {
item: {
Expand Down
24 changes: 2 additions & 22 deletions src/components/customGreeting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,28 +148,8 @@ export default {
};
</script>

<style scoped>
<style lang="scss" scoped>
.container {
margin-bottom: 1rem;
}
.list-div {
margin-bottom: 1rem;
}
.open-list-button {
text-transform: uppercase;
background-color: #0f4d90;
color: #ffffff;
padding-left: 32px;
padding-right: 32px;
padding-top: 17px;
padding-bottom: 17px;
}
.custom-greeting {
padding: 1.5rem;
}
@import "../../node_modules/@phila/pinboard/src/assets/scss/customGreeting.scss";
</style>
17 changes: 16 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const customComps = {


pinboard({
publicPath: process.env.VUE_APP_PUBLICPATH,
app: {
title: 'Resources for Black males',
subtitle: 'Find a resource that helps Black men and boys in Philadelphia ',
Expand All @@ -44,7 +45,11 @@ pinboard({
gtag: {
category: 'rf-obme',
},
allowPrint: true,
showBuffers: true,
resetDataOnGeocode: true,
retractableRefine: false,
dropdownRefine: false,
addressInput: {
placeholder: 'Search by address or keyword',
},
Expand Down Expand Up @@ -150,7 +155,17 @@ pinboard({
// password: process.env.VUE_APP_CYCLOMEDIA_PASSWORD,
// apiKey: process.env.VUE_APP_CYCLOMEDIA_API_KEY,
},
markerType: 'pin-marker',
markerType: 'circle-marker',
circleMarkers: {
color: '#9400c6',
borderColor: 'white',
weight: 1,
radius: 8,
mobileRadius: 12,
size: 16,
mobileSize: 20,
},
// markerType: 'pin-marker',
map: {
type: 'mapbox',
// tiles: 'hosted',
Expand Down

0 comments on commit 829aaf9

Please sign in to comment.