Skip to content

Commit

Permalink
chore: remove the telegram and add the discord link
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpender-singh-ap committed Sep 7, 2024
1 parent 9408526 commit 3437dba
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 95 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
</p>

<div align="center">
<a href="https://discord.gg/WYwJefvWNT">
<img alt="Discord Chat" src="https://img.shields.io/discord/1281938822275403817.svg?logo=discord&logoColor=white&logoWidth=20&labelColor=7289DA&label=Discord&color=17cf48">
</a>
<a href="https://t.me/inknest">
<img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white">
</a>
Expand Down
28 changes: 14 additions & 14 deletions src/Screens/AboutUs/index.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import React from 'react';
import { View, Text, TouchableOpacity, Linking } from 'react-native';
import { ScrollView } from 'react-native-gesture-handler';
import { heightPercentageToDP as hp } from 'react-native-responsive-screen';
import {View, Text, TouchableOpacity, Linking} from 'react-native';
import {ScrollView} from 'react-native-gesture-handler';
import {heightPercentageToDP as hp} from 'react-native-responsive-screen';

import { SafeAreaView } from 'react-native-safe-area-context';
import {SafeAreaView} from 'react-native-safe-area-context';
import Ionicons from 'react-native-vector-icons/Ionicons';
import Entypo from 'react-native-vector-icons/Entypo';
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
import Header from '../../Components/UIComp/Header';
import Markdown from '../../Components/UIComp/MarkDown';

export function AboutUs({ navigation }) {
export function AboutUs({navigation}) {
return (
<SafeAreaView style={{ flex: 1, backgroundColor: '#222' }} edges={['top']}>
<SafeAreaView style={{flex: 1, backgroundColor: '#222'}} edges={['top']}>
<Header
style={{
width: '100%',
Expand All @@ -34,7 +34,7 @@ export function AboutUs({ navigation }) {
name="chevron-back"
size={hp('3%')}
color="#fff"
style={{ marginRight: 10 }}
style={{marginRight: 10}}
/>
</TouchableOpacity>
<Text
Expand Down Expand Up @@ -91,9 +91,9 @@ export function AboutUs({ navigation }) {
}}>
Contact Us
</Text>
<View style={{ gap: 15, flexDirection: 'row' }}>
<View style={{gap: 15, flexDirection: 'row'}}>
<TouchableOpacity
style={{ flexDirection: 'row', gap: 12 }}
style={{flexDirection: 'row', gap: 12}}
onPress={() => {
//open email app with pre-filled email
Linking.openURL('mailto:[email protected]');
Expand All @@ -103,7 +103,7 @@ export function AboutUs({ navigation }) {

{/* //github page */}
<TouchableOpacity
style={{ flexDirection: 'row', gap: 12 }}
style={{flexDirection: 'row', gap: 12}}
onPress={() => {
Linking.openURL('https://github.com/p2devs/inknest-release');
}}>
Expand All @@ -112,18 +112,18 @@ export function AboutUs({ navigation }) {

{/* //Linkdin page */}
<TouchableOpacity
style={{ flexDirection: 'row', gap: 12 }}
style={{flexDirection: 'row', gap: 12}}
onPress={() => {
Linking.openURL('https://www.linkedin.com/company/p2-devs/');
}}>
<Ionicons name="logo-linkedin" size={20} color="#007AFF" />
</TouchableOpacity>
<TouchableOpacity
style={{ flexDirection: 'row', gap: 12 }}
style={{flexDirection: 'row', gap: 12}}
onPress={() => {
Linking.openURL('https://t.me/inknest');
Linking.openURL('https://discord.gg/WYwJefvWNT');
}}>
<MaterialIcons name="telegram" size={20} color="#007AFF" />
<MaterialIcons name="discord" size={20} color="#007AFF" />
</TouchableOpacity>
</View>
</View>
Expand Down
Loading

0 comments on commit 3437dba

Please sign in to comment.