diff --git a/src/components/Calendar.vue b/src/components/Calendar.vue index 33c6b4d6..ecace838 100644 --- a/src/components/Calendar.vue +++ b/src/components/Calendar.vue @@ -3,7 +3,7 @@ class="inner-calendar-container card bg-secondary" :class="expanded ? 'expanded' : 'minified'" ref="container"> -
+

Events

@@ -17,42 +17,41 @@
Includes unsanctioned events
-
-
- Types +
+ +
+
+
- +
- +
- +
- +
-
+
- - + +
- - + +
- - + +
-

loading events...

@@ -143,7 +142,8 @@ export default { }, events: [], imgUrlParams: '?w=500&h=500', - selectedDate: new Date() + selectedDate: new Date(), + findInput: '' }), components: { CalendarIcon, @@ -179,8 +179,13 @@ export default { ...event, eventType: 'CFP' })) - if (this.show.types.CFP) return [...cfps, ...events] - return events + + const filterByString = (list) => { + if (this.findInput === '') return list + return list.filter((event) => event.searchString.toLowerCase().includes(this.findInput.toLowerCase())) + } + if (this.show.types.CFP) return filterByString([...cfps, ...events]) + return filterByString(events) } }, async mounted() { @@ -191,6 +196,16 @@ export default { if (new Date(a.date) < new Date(b.date)) return -1 return 1 }) + .map((event) => ({ + ...event, + searchString: ` + ${event.eventName} + ${event.description} + ${event.eventType} + ${event.location || ''} + ${event.link || ''} + ${this.getDateString(new Date(event.date), new Date(event.dateEnd))}` + })) }, methods: { isPast, @@ -243,8 +258,8 @@ export default { } .search { width: 100%; - padding: 0.25rem; - background-color: var(--color-bg); + padding: 0.5rem; + background-color: #00000033; color: var(--color-text); } .inner-calendar-container { diff --git a/src/content/english/foundation.js b/src/content/english/foundation.js index 213714cb..f5e15567 100644 --- a/src/content/english/foundation.js +++ b/src/content/english/foundation.js @@ -10,14 +10,14 @@ export default () => ({
  • Ensure Robot Framework is maintained and developed
  • Get visibility about your membership for your company if you wish
  • Gain ability to participate in decision making
  • -
  • Get all this for an affordable price per user
  • +
  • Get discounted tickets to RoboCon events
  • -

    Annual Fees

    -

    Annual fee is determined by how many Robot Framework users are in your organization:

    +

    Annual fee

    +

    The pricing is determined by the amount of Robot Framework users in your organization:

    - +
    UsersFeeFee / year
    1-2