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
<apex:page standardStylesheets="false" sidebar="false" showHeader="false" | |
applyBodyTag="false" applyHtmlTag="false" docType="html-5.0"> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Meetup</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="icon" type="image/x-icon" href="{!$Resource.AngularPOC + '/favicon.ico'}" /> | |
<link rel="stylesheet" type="text/css" href="{!$Resource.AngularPOC + '/assets/main.css'}" /> |
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
// apex.service.ts | |
import { Injectable } from '@angular/core'; | |
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; | |
import { Observable } from 'rxjs/Observable'; | |
declare const sessionId; | |
interface Contact { | |
Id: string; | |
Name: string; |
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 { Component, OnInit } from '@angular/core'; | |
import { ApexService } from '../apex.service'; | |
interface Contact { | |
Id: string; | |
Name: string; | |
} | |
@Component({ | |
selector: 'app-contacts', |
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
<aura:component implements="flexipage:availableForAllPageTypes" access="global"> | |
<lightning:container src="{!$Resource.AngularPOC + '/index.html'}" /> | |
</aura:component> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Meetup</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="icon" type="image/x-icon" href="favicon.ico"> | |
<link rel="stylesheet" href="assets/main.css"> | |
</head> |
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 { Component, OnInit, ChangeDetectorRef } from '@angular/core'; | |
import * as LCC from 'lightning-container'; | |
declare const sforce; | |
interface Contact { | |
Id: string; | |
Name: string; | |
} |
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 { UrlSerializer, UrlTree, DefaultUrlSerializer } from '@angular/router'; | |
export class CustomUrlSerializer implements UrlSerializer { | |
parse(url: any): UrlTree { | |
const dus = new DefaultUrlSerializer(); | |
return dus.parse(unescape(url)); | |
} | |
serialize(tree: UrlTree): any { | |
const dus = new DefaultUrlSerializer(); |
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 { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { UrlSerializer } from '@angular/router'; | |
import { AppComponent } from 'app/app.component'; | |
import { CustomUrlSerializer } from './custom-url-serializer'; | |
@NgModule({ | |
imports: [ |
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
<div class="container"> | |
<nav class="nav"> | |
<img src="https://digitalflask.com/img/digital-flask.svg" /> | |
<span class="nav-links"> | |
<a href="#">Home</a> | |
<a href="#">TTT18</a> | |
</span> | |
</nav> | |
</div> | |
<div class="container"> |
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
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | |
/** | |
* 1. Set default font-family to sans-serif | |
* 2. Prevent iOS and IE text size adjust after device orientation change | |
* without disabling user zoom. | |
*/ | |
html { | |
font-family: sans-serif; /* 1 */ | |
-ms-text-size-ajust: 100%; /* 2 */ |