This file contains hidden or 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
| import SwiftUI | |
| struct ContentView: View { | |
| // Replace with the id below with your app's | |
| let writeReviewURL = URL(string: "https://apps.apple.com/us/app/twitter/id333903271?action=write-review") | |
| var body: some View { | |
| VStack { | |
| Image(systemName: "globe") | |
| .imageScale(.large) | |
| .foregroundColor(.accentColor) |
This file contains hidden or 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
| import SwiftUI | |
| struct ContentView: View { | |
| var body: some View { | |
| VStack { | |
| Image(systemName: "globe") | |
| .imageScale(.large) | |
| .foregroundColor(.accentColor) | |
| Text("Hello, world!") | |
| Button("Click me 10 times", action: { |
This file contains hidden or 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
| import { DiscussionEmbed } from 'disqus-react' | |
| import React from 'react' | |
| function DisqusComments({post}) { | |
| const pageUrl = typeof window !== 'undefined'? window.location.href : "" | |
| const disqusConfig = { | |
| url: pageUrl, | |
| identifier: post.slug, | |
| title: post.title | |
| } |