Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Add oss-friends

Acho Arnold0177f7b09f0b
diff --git a/web/layouts/website.vue b/web/layouts/website.vue
index 91ff15e1..b5361093 100644
--- a/web/layouts/website.vue
+++ b/web/layouts/website.vue
@@ -265,6 +265,18 @@
</a>
</v-hover>
</li>
+ <li class="mt-2">
+ <v-hover v-slot="{ hover }">
+ <nuxt-link
+ class="text--primary text-decoration-none"
+ :class="{ 'text-decoration-underline': hover }"
+ to="/oss-friends"
+ >
+ OSS Friends
+ <v-icon small>{{ mdiDomain }}</v-icon>
+ </nuxt-link>
+ </v-hover>
+ </li>
</ul>
</v-col>
</v-row>
@@ -285,6 +297,7 @@ import {
mdiShieldStar,
mdiLightbulbOn50,
mdiCreation,
+ mdiDomain,
mdiEyeOffOutline,
mdiPost,
mdiCreditCardOutline,
@@ -308,6 +321,7 @@ export default Vue.extend({
mdiCreditCardOutline,
mdiEmailOutline,
mdiPost,
+ mdiDomain,
mdiCircle,
mdiShieldStar,
mdiLightbulbOn50,
diff --git a/web/pages/oss-friends/index.vue b/web/pages/oss-friends/index.vue
new file mode 100644
index 00000000..bbae048e
--- /dev/null
+++ b/web/pages/oss-friends/index.vue
@@ -0,0 +1,79 @@
+<template>
+ <v-container class="mt-16">
+ <v-row>
+ <v-col cols="10" offset="1" class="mt-16">
+ <h1 class="text-h2 mb-4 text-center">Open Source Friends</h1>
+ <p class="text-h5 text--secondary text-center">
+ Here are some of our favorites open-source projects.
+ </p>
+ <v-row class="mb-8 mt-8">
+ <v-col v-if="apps.length == 0" class="text-center my-16">
+ <v-progress-circular :size="100" color="primary" indeterminate />
+ </v-col>
+ <v-col v-for="app in apps" :key="app.href" cols="12" md="4">
+ <v-card>
+ <v-card-text class="mb-0 pb-0">
+ <h4 class="text-h5 text--primary">
+ {{ app.name }}
+ </h4>
+ <p class="mt-2 app-description mb-0">{{ app.description }}</p>
+ </v-card-text>
+ <v-card-actions>
+ <v-btn text :href="app.href" color="primary">
+ Learn More
+ </v-btn>
+ </v-card-actions>
+ </v-card>
+ </v-col>
+ </v-row>
+ <div class="px-16">
+ <v-divider />
+ </div>
+ <div class="text-center mt-8 mb-4">
+ <back-button />
+ </div>
+ </v-col>
+ </v-row>
+ </v-container>
+</template>
+
+<script lang="ts">
+import Vue from 'vue'
+
+type AppData = {
+ name: string
+ description: string
+ href: string
+}
+
+export default Vue.extend({
+ name: 'OpenSourceFriendsIndex',
+ layout: 'website',
+ data: () => ({
+ apps: [] as AppData[],
+ }),
+ async fetch() {
+ const response = await fetch(
+ 'https://corsproxy.io/?https%3A%2F%2Fformbricks.com%2Fapi%2Foss-friends',
+ ).then((res) => res.json())
+ this.apps = response.data
+ },
+ head() {
+ return {
+ title: 'Open Source Friends - httpSMS',
+ }
+ },
+})
+</script>
+
+<style lang="scss" scoped>
+.app-description {
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ line-clamp: 3;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ height: 4.5em;
+}
+</style>